From 0bc01ecd92399b68944b6e2a7c77209128c6a5ef Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 29 Nov 2014 15:50:46 +0000 Subject: Remove dependency on xml lib (functionality tested separately) --- project2/ice/unittests/Jamfile.jam | 1 - project2/ice/unittests/testClientCompile.cpp | 6 ------ project2/ice/unittests/testDaemonCompile.cpp | 2 ++ 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/project2/ice/unittests/Jamfile.jam b/project2/ice/unittests/Jamfile.jam index b23579d..239f856 100644 --- a/project2/ice/unittests/Jamfile.jam +++ b/project2/ice/unittests/Jamfile.jam @@ -36,7 +36,6 @@ unit-test testClientCompile : unittestr ..//p2iceclient ../../ut//p2ut - ../../xml//p2xml ../../basics//p2basics ..//Ice ..//IceUtil diff --git a/project2/ice/unittests/testClientCompile.cpp b/project2/ice/unittests/testClientCompile.cpp index c86b826..0d225df 100644 --- a/project2/ice/unittests/testClientCompile.cpp +++ b/project2/ice/unittests/testClientCompile.cpp @@ -6,7 +6,6 @@ #include #include #include -#include #include #include @@ -25,11 +24,6 @@ commonTests() BOOST_REQUIRE(ElementLoader::getFor("UnitTest-SimpleInterface-SomeTaskParams")); BOOST_REQUIRE(ElementLoader::getFor("UnitTest-SimpleInterface-SomeRows")); BOOST_REQUIRE(ElementLoader::getFor("UnitTest-SimpleInterface-SomeRowsParams")); - - BOOST_TEST_CHECKPOINT("Load test script"); - ScriptReaderPtr r = new XmlScriptParser(iceroot / "testClient.xml"); - BOOST_TEST_CHECKPOINT("Execute test script"); - boost::intrusive_ptr sr = new TestScriptHost(r); } static diff --git a/project2/ice/unittests/testDaemonCompile.cpp b/project2/ice/unittests/testDaemonCompile.cpp index 7bda6dd..bc8052c 100644 --- a/project2/ice/unittests/testDaemonCompile.cpp +++ b/project2/ice/unittests/testDaemonCompile.cpp @@ -15,6 +15,7 @@ static void commonTests() { + BOOST_TEST_CHECKPOINT("Verify loaded"); BOOST_REQUIRE(IceDaemonAdapterHandlerLoader::getFor("UnitTest")); } @@ -22,6 +23,7 @@ static void unloadTests() { + BOOST_TEST_CHECKPOINT("Verify unloaded"); BOOST_REQUIRE_THROW(IceDaemonAdapterHandlerLoader::createNew("UnitTest"), NotSupported); } -- cgit v1.2.3