test: add basic tests for ChainstateManager

Feedback incorporated from Russell Yanofsky.

Co-authored-by: MarcoFalke <falke.marco@gmail.com>
This commit is contained in:
James O'Beirne
2019-12-12 14:11:03 -05:00
committed by James O'Beirne
parent 4ae29f5f0c
commit 2b081c4568
4 changed files with 107 additions and 0 deletions

View File

@@ -82,6 +82,7 @@ void AppTests::appTests()
// Reset global state to avoid interfering with later tests.
AbortShutdown();
UnloadBlockIndex();
g_chainman.Reset();
}
//! Entry point for BitcoinGUI tests.