Move GetTempPath() to testutil.

This commit is contained in:
Mustafa
2016-03-11 15:04:05 +00:00
committed by lateminer
parent e5913199ff
commit 43c5d478c0
6 changed files with 52 additions and 23 deletions

15
src/test/testutil.h Normal file
View File

@@ -0,0 +1,15 @@
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
/**
* Utility functions shared by unit tests
*/
#ifndef BITCOIN_TEST_TESTUTIL_H
#define BITCOIN_TEST_TESTUTIL_H
#include <boost/filesystem/path.hpp>
boost::filesystem::path GetTempPath();
#endif // BITCOIN_TEST_TESTUTIL_H