// Copyright (c) 2015 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef Agrarian_TEST_TEST_Agrarian_H #define Agrarian_TEST_TEST_Agrarian_H #include "txdb.h" #include #include /** Basic testing setup. * This just configures logging and chain parameters. */ struct BasicTestingSetup { BasicTestingSetup(); ~BasicTestingSetup(); }; /** Testing setup that configures a complete environment. * Included are data directory, coins database, script check threads * and wallet (if enabled) setup. */ struct TestingSetup: public BasicTestingSetup { CCoinsViewDB *pcoinsdbview; boost::filesystem::path pathTemp; boost::thread_group threadGroup; ECCVerifyHandle globalVerifyHandle; TestingSetup(); ~TestingSetup(); }; #endif