----------------------------------------------------------------------------
| 60 | |
| 61 | //---------------------------------------------------------------------------- |
| 62 | bool TestCheckNotNull() |
| 63 | { |
| 64 | int foo = 1; |
| 65 | if (!CheckNotNull(__LINE__, "TestCheckNotNull", &foo) |
| 66 | || CheckNotNull(__LINE__, "TestCheckNotNull Expected Failure", 0)) |
| 67 | { |
| 68 | qWarning() << "Line " << __LINE__ << " - TestCheckNotNull failed"; |
| 69 | return false; |
| 70 | } |
| 71 | return true; |
| 72 | } |
| 73 | |
| 74 | //---------------------------------------------------------------------------- |
| 75 | bool TestCheckNull() |
no test coverage detected