X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=tst%2Fintegration%2FStandaloneTest.cpp;h=95dfc3a2568592607b313f9e6ee3398062a605b1;hb=aee07b0f8d8c0d9af66dd7507938d83985d53833;hp=240777509a739d58931acf21c5600a9197412545;hpb=e927325f8b92c0d03c87fed77118f8e55df1b0c9;p=blank.git diff --git a/tst/integration/StandaloneTest.cpp b/tst/integration/StandaloneTest.cpp index 2407775..95dfc3a 100644 --- a/tst/integration/StandaloneTest.cpp +++ b/tst/integration/StandaloneTest.cpp @@ -3,7 +3,7 @@ #include "TestInstance.hpp" -CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(blank::test::StandaloneTest, "integration"); +CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(blank::test::StandaloneTest, "headed"); namespace blank { @@ -16,9 +16,12 @@ void StandaloneTest::setUp() { void StandaloneTest::tearDown() { std::unique_ptr inst(std::move(instance)); - inst->Terminate(); - inst->AssertExitStatus(0); - inst->AssertNoError(); + if (inst) { + inst->Terminate(); + inst->AssertNoOutput(); + inst->AssertNoError(); + inst->AssertExitStatus(0); + } }