aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-03-01 15:54:22 +0000
committerWladimir J. van der Laan <laanwj@gmail.com>2017-04-03 12:32:32 +0200
commit7d5172d35439a0ccd48cfdd92aa0b6bca9a3bee5 (patch)
tree3a3362fac876fdd076c6da47e3c4dfe8693f6590 /src/test
parent19e36bbef60bfed36954fa515e57dfb074d7a3da (diff)
Replace includes of boost/filesystem.h with fs.h
This is step one in abstracting the use of boost::filesystem.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_bitcoin.cpp2
-rw-r--r--src/test/test_bitcoin.h2
-rw-r--r--src/test/testutil.cpp2
-rw-r--r--src/test/testutil.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index abaec45cd7..4a12277a36 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -7,6 +7,7 @@
#include "chainparams.h"
#include "consensus/consensus.h"
#include "consensus/validation.h"
+#include "fs.h"
#include "key.h"
#include "validation.h"
#include "miner.h"
@@ -24,7 +25,6 @@
#include <memory>
-#include <boost/filesystem.hpp>
#include <boost/thread.hpp>
FastRandomContext insecure_rand_ctx(true);
diff --git a/src/test/test_bitcoin.h b/src/test/test_bitcoin.h
index a593f136eb..d67d35a370 100644
--- a/src/test/test_bitcoin.h
+++ b/src/test/test_bitcoin.h
@@ -6,12 +6,12 @@
#define BITCOIN_TEST_TEST_BITCOIN_H
#include "chainparamsbase.h"
+#include "fs.h"
#include "key.h"
#include "pubkey.h"
#include "txdb.h"
#include "txmempool.h"
-#include <boost/filesystem.hpp>
#include <boost/thread.hpp>
/** Basic testing setup.
diff --git a/src/test/testutil.cpp b/src/test/testutil.cpp
index e6d8622979..96ce4db2fe 100644
--- a/src/test/testutil.cpp
+++ b/src/test/testutil.cpp
@@ -8,7 +8,7 @@
#include <shlobj.h>
#endif
-#include <boost/filesystem.hpp>
+#include "fs.h"
boost::filesystem::path GetTempPath() {
return boost::filesystem::temp_directory_path();
diff --git a/src/test/testutil.h b/src/test/testutil.h
index 5875dc50e6..e2d0de0e26 100644
--- a/src/test/testutil.h
+++ b/src/test/testutil.h
@@ -8,7 +8,7 @@
#ifndef BITCOIN_TEST_TESTUTIL_H
#define BITCOIN_TEST_TESTUTIL_H
-#include <boost/filesystem/path.hpp>
+#include "fs.h"
boost::filesystem::path GetTempPath();