]> git.localhorst.tv Git - blank.git/blob - tst/integration/ServerTest.cpp
allow individual closing of process streams
[blank.git] / tst / integration / ServerTest.cpp
1 #include "ServerTest.hpp"
2
3 #include "TestInstance.hpp"
4
5 CPPUNIT_TEST_SUITE_REGISTRATION(blank::test::ServerTest);
6
7
8 namespace blank {
9 namespace test {
10
11 void ServerTest::setUp() {
12
13 }
14
15 void ServerTest::tearDown() {
16
17 }
18
19
20 void ServerTest::testStartup() {
21         TestInstance server({ "--server" }, true);
22         server.AssertRunning();
23         server.Terminate();
24         server.AssertExitStatus(0);
25         server.AssertNoError();
26 }
27
28 }
29 }