|
#define | NX_KIT_API |
|
#define | TEST(TEST_CASE, TEST_NAME) |
|
#define | ASSERT_TRUE(CONDITION) nx::kit::test::detail::assertBool(true, (CONDITION), #CONDITION, __FILE__, __LINE__) |
|
#define | ASSERT_TRUE_AT_LINE(LINE, CONDITION) nx::kit::test::detail::assertBool(true, (CONDITION), #CONDITION, __FILE__, (LINE)) |
|
#define | ASSERT_FALSE(CONDITION) nx::kit::test::detail::assertBool(false, (CONDITION), #CONDITION, __FILE__, __LINE__) |
|
#define | ASSERT_FALSE_AT_LINE(LINE, CONDITION) nx::kit::test::detail::assertBool(false, (CONDITION), #CONDITION, __FILE__, (LINE)) |
|
#define | ASSERT_EQ(EXPECTED, ACTUAL) |
|
#define | ASSERT_EQ_AT_LINE(LINE, EXPECTED, ACTUAL) |
|
#define | ASSERT_STREQ(EXPECTED, ACTUAL) |
|
#define | ASSERT_STREQ_AT_LINE(LINE, EXPECTED, ACTUAL) |
|
|
const char * | nx::kit::test::tempDir () |
|
const char * | nx::kit::test::staticTempDir () |
|
int | nx::kit::test::runAllTests (const char *testSuiteName, int argc, const char *const argv[]) |
|
void | nx::kit::test::createFile (const char *filename, const char *content) |
|
void | nx::kit::test::detail::failEq (const char *expectedValue, const char *expectedExpr, const char *actualValue, const char *actualExpr, const char *const file, int line) |
|
int | nx::kit::test::detail::regTest (const Test &test) |
|
void | nx::kit::test::detail::assertBool (bool expected, bool condition, const char *conditionStr, const char *file, int line) |
|
template<typename Expected , typename Actual > |
void | nx::kit::test::detail::assertEq (const Expected &expected, const char *expectedExpr, const Actual &actual, const char *actualExpr, const char *file, int line) |
|
void | nx::kit::test::detail::assertStrEq (const char *expectedValue, const char *expectedExpr, const char *actualValue, const char *actualExpr, const char *file, int line) |
|
const char * | nx::kit::test::detail::toCStr (const std::string &s) |
|
const char * | nx::kit::test::detail::toCStr (const char *s) |
|
Rudimentary standalone unit testing framework designed to mimic Google Test to a certain degree.