aboutsummaryrefslogtreecommitdiff
path: root/src/test/getarg_tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* Fix argument parsing oddity with -noXWladimir J. van der Laan2015-07-271-11/+11
| | | | | | | | `bitcoind -X -noX` ends up, unintuitively, with `X` set. (for all boolean options X) This result is due to the odd two-pass processing of arguments. This patch fixes this oddity and simplifies the code at the same time.
* tests: add a BasicTestingSetup and apply to all testsWladimir J. van der Laan2015-03-121-1/+2
| | | | | | | | Make sure that chainparams and logging is properly initialized. Doing this for every test may be overkill, but this initialization is so simple that that does not matter. This should fix the travis issues.
* Remove references to X11 licenceMichael Ford2014-12-161-1/+1
|
* tests: don't split an empty stringCory Fields2014-09-251-1/+2
|
* Add licenses for tests and test dataWladimir J. van der Laan2014-03-181-1/+3
| | | | | | | | - Add license headers to source files (years based on commit dates) in `src/test` as well as `qa` - Add `README.md` to `src/test/data` specifying MIT license Fixes #3848
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-2/+7
| | | | | | | | | 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.
* remove GetBoolArg() fDefault parameter defaulting to falsePhilip Kaufmann2013-06-011-20/+6
| | | | | | | | - explicitly set the default of all GetBoolArg() calls - rework getarg_test.cpp and util_tests.cpp to cover this change - some indentation fixes - move macdockiconhandler.h include in bitcoin.cpp to the "our headers" section
* New GetArg features: allow --, and booleans can be -foo or -nofooGavin Andresen2012-02-071-0/+72
|
* Unit tests for the GetArg() methodsGavin Andresen2012-02-071-0/+95