diff --git a/test/TestHelper.cpp b/test/TestHelper.cpp index 306fc9564..c1a141abb 100644 --- a/test/TestHelper.cpp +++ b/test/TestHelper.cpp @@ -309,7 +309,7 @@ void userDefinedTest(string testTypeFlag, std::function= boost::unit_test::framework::master_test_suite().argc) @@ -332,10 +332,12 @@ void userDefinedTest(string testTypeFlag, std::function _expectedStore, std::map _resultStore, Address _expectedAddr); void executeTests(const std::string& _name, const std::string& _testPathAppendix, std::function doTests); std::string getTestPath(); -void userDefinedTest(string testTypeFlag, std::function doTests); +void userDefinedTest(std::string testTypeFlag, std::function doTests); template void checkAddresses(mapType& _expectedAddrs, mapType& _resultAddrs) diff --git a/test/state.cpp b/test/state.cpp index 844266ee6..91d9f3e51 100644 --- a/test/state.cpp +++ b/test/state.cpp @@ -124,7 +124,7 @@ BOOST_AUTO_TEST_CASE(stPreCompiledContracts) BOOST_AUTO_TEST_CASE(userDefinedFileState) { - userDefinedTest("--statetest", dev::test::doStateTests); + dev::test::userDefinedTest("--statetest", dev::test::doStateTests); } BOOST_AUTO_TEST_SUITE_END() diff --git a/test/vm.cpp b/test/vm.cpp index a3475ac0b..b36d3dc2b 100644 --- a/test/vm.cpp +++ b/test/vm.cpp @@ -459,7 +459,7 @@ BOOST_AUTO_TEST_CASE(vmRandom) BOOST_AUTO_TEST_CASE(userDefinedFileVM) { - userDefinedTest("--vmtest", dev::test::doVMTests); + dev::test::userDefinedTest("--vmtest", dev::test::doVMTests); } BOOST_AUTO_TEST_SUITE_END()