aboutsummaryrefslogtreecommitdiff
path: root/src/test/alert_tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix doubled alerts in alert tests causing them to faillangerhans2014-04-241-88/+91
|
* add SignAndSave to Alert_testsJannis Froese2014-04-131-10/+59
|
* Test alerts high at high PROTOCOL_VERSIONsGavin Andresen2013-11-111-5/+5
| | | | | | | | | I regenerated the alert test data; now alerts are tested against a protocol version way above the current protocol version. So we won't have to regenerate them every time we bump PROTOCOL_VERSION in the future.
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-5/+9
| | | | | | | | | 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.
* included-tests: generate binary data from test files for inclusion into test ↵Cory Fields2013-09-161-18/+5
| | | | | | | | | | | | | | | | | | | | | | binaries This change moves test data into the binaries rather than reading them from the disk at runtime. Advantages: - Tests become distributable - Cross-compile friendly. Build on one machine and execute in an arbitrary location on another. - Easier testing for backports. Users can verify that tests pass without having to track down corresponding test data. - More trustworthy test results and easier quality assurance as tests make fewer assumptions about their environment. - Tests could theoretically run at client/daemon startup and exit on failure. Disadvantages: - Required 'hexdump' build-dependency. This is a standard bsd tool that should be usable everywhere. It is likely already installed on all build-machines. - Tests can no longer be fudged after build by altering test-data.
* Bugfix: Since test_bitcoin is being built and run inside src/test/, try ↵Luke Dashjr2013-09-101-1/+4
| | | | using relative directories from that point
* -alertnotify=<cmd>Gavin Andresen2013-03-191-29/+82
| | | | | | Runs a shell command when an AppliesToMe() alert is received. %s in the <cmd> string is replaced with the alert.strStatusBar message.
* Some unit tests for CAlertGavin Andresen2013-03-191-0/+132