]> git.localhorst.tv Git - blank.git/blobdiff - tst/integration/StandaloneTest.cpp
test standalone app launch
[blank.git] / tst / integration / StandaloneTest.cpp
diff --git a/tst/integration/StandaloneTest.cpp b/tst/integration/StandaloneTest.cpp
new file mode 100644 (file)
index 0000000..2e1b67d
--- /dev/null
@@ -0,0 +1,31 @@
+#include "StandaloneTest.hpp"
+
+#include "TestInstance.hpp"
+
+CPPUNIT_TEST_SUITE_REGISTRATION(blank::test::StandaloneTest);
+
+
+namespace blank {
+namespace test {
+
+void StandaloneTest::setUp() {
+
+}
+
+void StandaloneTest::tearDown() {
+
+}
+
+
+void StandaloneTest::testStartup() {
+       TestInstance standalone({ });
+       standalone.AssertRunning();
+       standalone.AssertOutputLine("chunk preloading complete");
+       standalone.Terminate();
+       standalone.AssertExitStatus(0);
+       // can't do that because AL blurts out nonsense
+       //standalone.AssertNoError();
+}
+
+}
+}