]> git.localhorst.tv Git - blank.git/blob - tst/integration/StandaloneTest.cpp
launch standalone test with --no-vsync
[blank.git] / tst / integration / StandaloneTest.cpp
1 #include "StandaloneTest.hpp"
2
3 #include "TestInstance.hpp"
4
5 CPPUNIT_TEST_SUITE_REGISTRATION(blank::test::StandaloneTest);
6
7
8 namespace blank {
9 namespace test {
10
11 void StandaloneTest::setUp() {
12
13 }
14
15 void StandaloneTest::tearDown() {
16
17 }
18
19
20 void StandaloneTest::testStartup() {
21         TestInstance standalone({ "--no-vsync" });
22         standalone.AssertRunning();
23         standalone.AssertOutputLine("chunk preloading complete");
24         standalone.Terminate();
25         standalone.AssertExitStatus(0);
26         // can't do that because AL blurts out nonsense
27         //standalone.AssertNoError();
28 }
29
30 }
31 }