#include "TestInstance.hpp"
-CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(blank::test::StandaloneTest, "integration");
+CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(blank::test::StandaloneTest, "headed");
namespace blank {
namespace test {
void StandaloneTest::setUp() {
- instance.reset(new TestInstance({ "--no-vsync" }));
+ instance.reset(new TestInstance({ "--standalone", "--no-vsync", "-d", "-s", "43576325" }));
instance->AssertRunning();
}
void StandaloneTest::tearDown() {
std::unique_ptr<TestInstance> inst(std::move(instance));
- inst->Terminate();
- inst->AssertExitStatus(0);
- inst->AssertNoError();
+ if (inst) {
+ inst->Terminate();
+ inst->AssertNoOutput();
+ inst->AssertNoError();
+ inst->AssertExitStatus(0);
+ }
}