]> git.localhorst.tv Git - blank.git/blob - tst/integration/StandaloneTest.cpp
240777509a739d58931acf21c5600a9197412545
[blank.git] / tst / integration / StandaloneTest.cpp
1 #include "StandaloneTest.hpp"
2
3 #include "TestInstance.hpp"
4
5
6 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(blank::test::StandaloneTest, "integration");
7
8
9 namespace blank {
10 namespace test {
11
12 void StandaloneTest::setUp() {
13         instance.reset(new TestInstance({ "--no-vsync" }));
14         instance->AssertRunning();
15 }
16
17 void StandaloneTest::tearDown() {
18         std::unique_ptr<TestInstance> inst(std::move(instance));
19         inst->Terminate();
20         inst->AssertExitStatus(0);
21         inst->AssertNoError();
22 }
23
24
25 void StandaloneTest::testStartup() {
26         instance->AssertOutputLine("chunk preloading complete");
27 }
28
29 }
30 }