From 792a5d97a50838359e9cce2f19b7433101154158 Mon Sep 17 00:00:00 2001 From: Valentin Noel Date: Tue, 22 Oct 2013 16:00:53 +0200 Subject: [PATCH] add minor modification to ElementChecker tests issue #33 --- libraries/ElementChecker/test/checkerTest.hpp | 2 -- libraries/ElementChecker/test/elementCheckerTest.cpp | 3 +++ libraries/ElementChecker/test/translatorTest.hpp | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/libraries/ElementChecker/test/checkerTest.hpp b/libraries/ElementChecker/test/checkerTest.hpp index add2599..04b707f 100644 --- a/libraries/ElementChecker/test/checkerTest.hpp +++ b/libraries/ElementChecker/test/checkerTest.hpp @@ -1,8 +1,6 @@ #include #include -using namespace element_checker; - BOOST_AUTO_TEST_SUITE( element_checker_test_checker ) BOOST_AUTO_TEST_CASE( element_checker_checker_data ) diff --git a/libraries/ElementChecker/test/elementCheckerTest.cpp b/libraries/ElementChecker/test/elementCheckerTest.cpp index 8cdfae4..4c1476b 100644 --- a/libraries/ElementChecker/test/elementCheckerTest.cpp +++ b/libraries/ElementChecker/test/elementCheckerTest.cpp @@ -11,6 +11,8 @@ using namespace boost::unit_test; namespace bpt = boost::property_tree; +using namespace element_checker; + spec_reader::SpecNode getSpecNode( bpt::ptree& tree, const std::string& jsonString ) { std::istringstream isstream( jsonString ); @@ -28,4 +30,5 @@ BOOST_AUTO_TEST_CASE( element_checker_test_init ) BOOST_AUTO_TEST_SUITE_END() // #include "translatorTest.hpp" +// #include "rangesTest.hpp" #include "checkerTest.hpp" diff --git a/libraries/ElementChecker/test/translatorTest.hpp b/libraries/ElementChecker/test/translatorTest.hpp index 1e77589..6334e59 100644 --- a/libraries/ElementChecker/test/translatorTest.hpp +++ b/libraries/ElementChecker/test/translatorTest.hpp @@ -2,8 +2,6 @@ #include #include -using namespace element_checker; - BOOST_AUTO_TEST_SUITE( element_checker_test_translator ) BOOST_AUTO_TEST_CASE( element_checker_translator_1 )