X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=tst%2Fintegration%2FServerTest.cpp;h=c5ca60e4f34b12b11c99279abbf030b5fce91b73;hb=19f61f6eb14b532e41a81ea850c36723d8bd9930;hp=fbec21a70f7cd7d9fe96929c1f717129816f61ee;hpb=fd86376a8e7d3f1b09be3d018f772ef884937238;p=blank.git diff --git a/tst/integration/ServerTest.cpp b/tst/integration/ServerTest.cpp index fbec21a..c5ca60e 100644 --- a/tst/integration/ServerTest.cpp +++ b/tst/integration/ServerTest.cpp @@ -1,6 +1,6 @@ #include "ServerTest.hpp" -#include "TestServer.hpp" +#include "TestInstance.hpp" CPPUNIT_TEST_SUITE_REGISTRATION(blank::test::ServerTest); @@ -18,7 +18,11 @@ void ServerTest::tearDown() { void ServerTest::testStartup() { - TestServer server; + TestInstance server({ "--server" }, true); + server.AssertRunning(); + server.Terminate(); + server.AssertExitStatus(0); + server.AssertNoError(); } }