aboutsummaryrefslogtreecommitdiff
path: root/src/qt/test/apptests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* validation: Pass in chainman to UnloadBlockIndexCarl Dong2020-09-151-2/+5
|
* Reduce cs_main lock accumulation during GUI startupJonas Schnelli2020-08-121-0/+1
|
* Pass mempool pointer to UnloadBlockIndexMarcoFalke2020-07-291-1/+1
|
* gui tests: Limit life-time of dummy testing setupMarcoFalke2020-07-091-3/+5
| | | | | | Its only purpose is to create a directory. So instead of keeping it alive, use it only to get the path of the directory and then create it explicitly.
* scripted-diff: Bump copyright headersMarcoFalke2020-04-161-1/+1
| | | | | | -BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT-
* protect g_chainman with cs_mainJames O'Beirne2020-03-171-1/+1
| | | | | | | | | | | I'd previously attempted to create a specialized lock for ChainstateManager, but it turns out that because that lock would be required for functions like ChainActive() and ChainstateActive(), it created irreconcilable lock inversions since those functions are used so broadly throughout the codebase. Instead, I'm just using cs_main to protect the contents of g_chainman. Co-authored-by: Russell Yanofsky <[email protected]>
* test: add basic tests for ChainstateManagerJames O'Beirne2020-03-171-0/+1
| | | | | | Feedback incorporated from Russell Yanofsky. Co-authored-by: MarcoFalke <[email protected]>
* scripted-diff: Bump copyright of files changed in 2019MarcoFalke2019-12-301-1/+1
| | | | | | -BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT-
* scripted-diff: test: Move setup_common to test libraryMarcoFalke2019-11-061-1/+1
| | | | | | | | | | | | | | | | | | -BEGIN VERIFY SCRIPT- # Move files for f in $(git ls-files src/test/lib/); do git mv $f src/test/util/; done git mv src/test/setup_common.cpp src/test/util/ git mv src/test/setup_common.h src/test/util/ # Replace Windows paths sed -i -e 's|\\setup_common|\\util\\setup_common|g' $(git grep -l '\\setup_common') sed -i -e 's|src\\test\\lib\\|src\\test\\util\\|g' build_msvc/test_bitcoin/test_bitcoin.vcxproj # Everything else sed -i -e 's|/setup_common|/util/setup_common|g' $(git grep -l 'setup_common') sed -i -e 's|test/lib/|test/util/|g' $(git grep -l 'test/lib/') # Fix include guard sed -i -e 's|BITCOIN_TEST_SETUP_COMMON_H|BITCOIN_TEST_UTIL_SETUP_COMMON_H|g' ./src/test/util/setup_common.h sed -i -e 's|BITCOIN_TEST_LIB_|BITCOIN_TEST_UTIL_|g' $(git grep -l 'BITCOIN_TEST_LIB_') -END VERIFY SCRIPT-
* doc: Explain QT_QPA_PLATFORM for gui testsMarcoFalke2019-10-011-1/+1
|
* Testchains: Qt: Simplify network/chain stylesJorge Timón2019-09-061-2/+1
|
* qt: test: Create at most one testing setupMarcoFalke2019-06-271-2/+3
|
* tests: Reduce compilation time and unneccessary recompiles by removing ↵practicalswift2019-06-261-1/+0
| | | | unused includes in tests
* test: Log to debug.log in all testsMarcoFalke2019-06-201-0/+2
|
* test: use common setup in gui testsMarcoFalke2019-06-201-0/+2
|
* Make reasoning about dependencies easier by not including unused dependenciespracticalswift2019-06-021-4/+0
|
* Bump minimum Qt version to 5.5.1Sjors Provoost2019-02-141-2/+0
|
* Add BitcoinApplication & RPCConsole testsRussell Yanofsky2019-01-041-0/+117
Add test coverage for Qt initialization code & basic RPC console functionality.