aboutsummaryrefslogtreecommitdiff
path: root/src/qt/test/test_main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers to 2018DrahtBot2018-07-271-1/+1
|
* gui: Remove QT_VERSION fallbacks for Qt < 5Wladimir J. van der Laan2018-06-181-7/+0
| | | | | | | There were surprisingly many `#ifdef` fallbacks for Qt 4. Remiving them simplifies maintenance, as well as adding new GUI functionality.
* [tests] [qt] Add tests for address book manipulation via EditAddressDialogJames O'Beirne2018-04-251-0/+5
| | | | Also modifies corresponding QT code to allow for use within test cases.
* Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa2018-01-031-1/+1
|
* scripted-diff: Replace #include "" with #include <> (ryanofsky)MeshCollider2017-11-161-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -BEGIN VERIFY SCRIPT- for f in \ src/*.cpp \ src/*.h \ src/bench/*.cpp \ src/bench/*.h \ src/compat/*.cpp \ src/compat/*.h \ src/consensus/*.cpp \ src/consensus/*.h \ src/crypto/*.cpp \ src/crypto/*.h \ src/crypto/ctaes/*.h \ src/policy/*.cpp \ src/policy/*.h \ src/primitives/*.cpp \ src/primitives/*.h \ src/qt/*.cpp \ src/qt/*.h \ src/qt/test/*.cpp \ src/qt/test/*.h \ src/rpc/*.cpp \ src/rpc/*.h \ src/script/*.cpp \ src/script/*.h \ src/support/*.cpp \ src/support/*.h \ src/support/allocators/*.h \ src/test/*.cpp \ src/test/*.h \ src/wallet/*.cpp \ src/wallet/*.h \ src/wallet/test/*.cpp \ src/wallet/test/*.h \ src/zmq/*.cpp \ src/zmq/*.h do base=${f%/*}/ relbase=${base#src/} sed -i "s:#include \"\(.*\)\"\(.*\):if test -e \$base'\\1'; then echo \"#include <\"\$relbase\"\\1>\\2\"; else echo \"#include <\\1>\\2\"; fi:e" $f done -END VERIFY SCRIPT-
* Stop test_bitcoin-qt touching ~/.bitcoinMeshCollider2017-09-011-0/+6
|
* Merge #10705: Trivial: spelling fixesMarcoFalke2017-08-161-1/+1
|\ | | | | | | | | | | | | | | | | | | f42fc1d50 doc: spelling fixes (klemens) Pull request description: patch contains some spelling fixes ( just in comments ) as found by a bot ( http://www.misfix.org, https://github.com/ka7/misspell_fixer ). Tree-SHA512: ba6046cfcd81b0783420daae7d776be92dd7b85a593e212f8f1b4403aca9b1b6af12cef7080d4ea5ed4a14952fd25e4300109a59c414e08f5395cdb9947bb750
| * doc: spelling fixesklemens2017-08-161-1/+1
| |
* | Qt: Use _putenv_s instead of setenv on Windows buildsBrian McMichael2017-07-211-1/+5
|/
* Run bitcoin_test-qt under minimal QPA platformRussell Yanofsky2017-04-031-0/+8
| | | | | | | | | Fixes broken "make check" reported by Matt Corallo <[email protected]> in https://github.com/bitcoin/bitcoin/issues/10110 Fix was suggested and initially implemented by Cory Fields <[email protected]> in https://github.com/bitcoin/bitcoin/pull/10117#issuecomment-290275236
* Add new test_bitcoin-qt static library dependenciesRussell Yanofsky2017-03-151-1/+11
| | | | | | | | Avoids following error when qt is statically linked into the test binary, as on travis: This application failed to start because it could not find or load the Qt platform plugin "xcb" in "".
* Add simple qt wallet test sending a transactionRussell Yanofsky2017-03-151-3/+10
|
* Add braces to if statements in Qt test_mainRussell Yanofsky2017-03-151-4/+8
|
* Make qt test compatible with TestChain100Setup frameworkRussell Yanofsky2017-03-101-3/+0
| | | | | Reset global state after rpc tests, and remove unnecessary ECC initialization to prevent assert error if it is initialized twice.
* Uses built-in byte swap if available (Apple) and if bswap_XX is undefined.Karl-Johan Alm2016-12-171-0/+4
| | | | Defers to pre-defined version if found (e.g. protobuf). For protobuf case, the definitions are identical and thus include order should not affect results.
* [Qt] RPC-Console: support nested commands and simple value queriesJonas Schnelli2016-08-231-1/+15
| | | | | | | | | | | | | | | | Commands can be executed with bracket syntax, example: `getwalletinfo()`. Commands can be nested, example: `sendtoaddress(getnewaddress(), 10)`. Simple queries are possible: `listunspent()[0][txid]` Object values are accessed with a non-quoted string, example: [txid]. Fully backward compatible. `generate 101` is identical to `generate(101)` Result value queries indicated with `[]` require the new brackets syntax. Comma as argument separator is now also possible: `sendtoaddress,<address>,<amount>` Space as argument separator works also with the bracket syntax, example: `sendtoaddress(getnewaddress() 10) No dept limitation, complex commands are possible: `decoderawtransaction(getrawtransaction(getblock(getbestblockhash())[tx][0]))[vout][0][value]`
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* tests: fix qt payment testCory Fields2015-09-021-0/+4
| | | | | Now that boost no longer automatically initializes openssl, we have to do it ourselves.
* Initialization: setup environment before starting QT testsdexX72015-03-291-0/+2
| | | | The environment is prepared by the main thread to guard against invalid locale settings.
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* [Qt] copyright, style and indentation cleanup of Qt testsPhilip Kaufmann2014-09-051-1/+6
|
* build: fix build weirdness after 54372482.Cory Fields2014-06-231-1/+1
| | | | | | | | | | | | | bitcoin-config.h moved, but the old file is likely to still exist when reconfiguring or switching branches. This would've caused files to not rebuild correctly, and other strange problems. Make the path explicit so that the old one cannot be found. Core libs use config/bitcoin-config.h. Libs (like crypto) which don't want access to bitcoin's headers continue to use -Iconfig and #include bitcoin-config.h.
* Update test_main.cppLongShao0072014-05-221-1/+0
| | | i think should delete (#include "bitcoin-config.h")。
* GUI for --disable-wallet compiles and -disablewallet modeWladimir J. van der Laan2014-01-111-1/+8
| | | | | | | | There is not much in the GUI to be done without wallet, though it's possible to change options, watch the sync process, and use the debug console. So embed the debug console in the main window.
* qt5: tests: Make sure static plugin symbols are pulled inCory Fields2014-01-101-0/+9
| | | | | | | | Since we're now properly linking against static plugins for qt binaries, we need to ensure that they're Imported properly. Without these Imports, the linker drops some of the unused linked libs, causing undefined symbols in QtCore.
* [Qt] misc PaymentServer changes (e.g. changes to eventFilter())Philip Kaufmann2013-12-061-2/+6
| | | | | | | | | | | | - make eventFilter() private and pass events on to QObject::eventFilter() instead of just returning false - re-work paymentservertest.cpp to correctly handle the event test after the above change (rewrite test_main to allow usage of QCoreApplication:: in the tests) - delete socket when we were unable to connect in ipcSendCommandLine() - show a message to the user if we fail to start-up (instead of just a debug.log entry) - misc small comment changes
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-3/+5
| | | | | | | | | Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
* Payment Protocol: X509-validated payment requestsGavin Andresen2013-08-221-16/+21
| | | | | | | | Add support for a Payment Protocol to Bitcoin-Qt. Payment messages are protocol-buffer encoded and communicated over http(s), so this adds a dependency on the Google protocol buffer library, and requires Qt with OpenSSL support.
* Return !0 when qt tests fail.Matt Corallo2012-08-071-1/+6
|
* Bugfix: Replace "URL" with "URI" where we aren't actually working with URLsLuke Dashjr2012-04-061-2/+2
|
* Add Bitcoin-Qt test suite with some bitcoin: URL Tests to start.Matt Corallo2012-02-101-0/+11