1 #include "StandaloneTest.hpp"
3 #include "TestInstance.hpp"
5 CPPUNIT_TEST_SUITE_REGISTRATION(blank::test::StandaloneTest);
11 void StandaloneTest::setUp() {
15 void StandaloneTest::tearDown() {
20 void StandaloneTest::testStartup() {
21 TestInstance standalone({ "--no-vsync" });
22 standalone.AssertRunning();
24 standalone.AssertOutputLine("chunk preloading complete");
25 standalone.Terminate();
28 standalone.Terminate();
31 standalone.ExhaustError(output);
32 CPPUNIT_ASSERT_EQUAL_MESSAGE(
34 std::string(""), output);
35 CPPUNIT_FAIL("exception in runtime");
37 standalone.AssertExitStatus(0);
38 standalone.AssertNoError();