Add BitcoinApplication & RPCConsole tests

Add test coverage for Qt initialization code & basic RPC console functionality.
This commit is contained in:
Russell Yanofsky committed 2019-01-04 06:31:07 -05:00
1 parent ca20b65cc0
commit 7e4bd19785
11 files changed
+235 -24

No files matched your search

+5
View File
@@ -71,6 +71,8 @@ public:
void createWindow(const NetworkStyle *networkStyle);
/// Create splash screen
void createSplashScreen(const NetworkStyle *networkStyle);
/// Basic initialization, before starting initialization/shutdown thread. Return true on success.
bool baseInitialize();
/// Request core initialization
void requestInitialize();
@@ -99,6 +101,7 @@ Q_SIGNALS:
void requestedShutdown();
void stopThread();
void splashFinished();
void windowShown(BitcoinGUI* window);
private:
QThread *coreThread;
@@ -119,4 +122,6 @@ private:
void startThread();
};
int GuiMain(int argc, char* argv[]);
#endif // BITCOIN_QT_BITCOIN_H