Home
last modified time | relevance | path

Searched refs:assertTrueWithSource (Results 1 – 2 of 2) sorted by relevance

/system/core/include/ctest/
Dctest.h36 #define assertTrue(value, message) assertTrueWithSource(value, __FILE__, __LINE__, message);
41 #define assertFalse(value, message) assertTrueWithSource(!value, __FILE__, __LINE__, message);
44 #define fail(message) assertTrueWithSource(0, __FILE__, __LINE__, message);
49 #define assertSame(a, b) assertTrueWithSource(a == b, __FILE__, __LINE__, "Expected same value.");
54 #define assertNotSame(a, b) assertTrueWithSource(a != b, __FILE__, __LINE__,\
64 void assertTrueWithSource(int value, const char* file, int line, char* message);
/system/core/libctest/
Dctest.c150 void assertTrueWithSource(int value, const char* file, int line, char* message) { in assertTrueWithSource() function