mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-11 11:04:52 -05:00
![Brandon Dahler](/assets/img/avatar_default.png)
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.
23 lines
397 B
C++
23 lines
397 B
C++
|
|
|
|
#include "paymentservertests.h"
|
|
#include "uritests.h"
|
|
|
|
#include <QObject>
|
|
#include <QTest>
|
|
|
|
// This is all you need to run all the tests
|
|
int main(int argc, char *argv[])
|
|
{
|
|
bool fInvalid = false;
|
|
|
|
URITests test1;
|
|
if (QTest::qExec(&test1) != 0)
|
|
fInvalid = true;
|
|
|
|
PaymentServerTests test2;
|
|
if (QTest::qExec(&test2) != 0)
|
|
fInvalid = true;
|
|
|
|
return fInvalid;
|
|
}
|