testrunner: Added REGISTER_TEST. Thanks lucasmrod.

This commit is contained in:
Daniel Marjamäki 2013-06-30 19:42:26 +02:00
parent 8340d32460
commit 582e0ee7e7
2 changed files with 4 additions and 2 deletions

View File

@ -5523,4 +5523,4 @@ private:
TODO_ASSERT_EQUALS("[test.cpp:7]: (error) Return value of allocation function f is not used.\n", "", errout.str());
}
};
static TestMemleakNoVar testMemleakNoVar;
REGISTER_TEST(TestMemleakNoVar);

View File

@ -488,4 +488,6 @@ private:
"}");
ASSERT_EQUALS("", errout.str());
}
};
};
REGISTER_TEST(TestSizeof);