----------------------------------------------------------------------------
| 100 | |
| 101 | //---------------------------------------------------------------------------- |
| 102 | bool TestCheckString() |
| 103 | { |
| 104 | const char* foo = "foo"; |
| 105 | const char* bar = "bar"; |
| 106 | if (!CheckString(__LINE__, "TestCheckString", 0, 0) |
| 107 | ||!CheckString(__LINE__, "TestCheckString", foo, foo) |
| 108 | || CheckString(__LINE__, "TestCheckString Expected Failure", foo, bar) |
| 109 | || CheckString(__LINE__, "TestCheckString Expected Failure", foo, 0)) |
| 110 | { |
| 111 | qWarning() << "Line " << __LINE__ << " - TestCheckString failed"; |
| 112 | return false; |
| 113 | } |
| 114 | return true; |
| 115 | } |
| 116 | |
| 117 | //---------------------------------------------------------------------------- |
| 118 | bool TestCheckStringList() |
no test coverage detected