-----------------------------------------------------------------------------
| 120 | |
| 121 | //----------------------------------------------------------------------------- |
| 122 | QString checkBoolean(int line, const char* valueName, bool current, bool expected) |
| 123 | { |
| 124 | if (current != expected) |
| 125 | { |
| 126 | QString errorMsg("Line %1 - Expected %2: %3 - Current %4: %5\n"); |
| 127 | return errorMsg.arg(line).arg(valueName). |
| 128 | arg(static_cast<int>(expected)).arg(valueName).arg(static_cast<int>(current)); |
| 129 | } |
| 130 | return QString(); |
| 131 | } |
| 132 | |
| 133 | //----------------------------------------------------------------------------- |
| 134 | QString checkString(int line, const char* valueName, QString current, QString expected) |
no test coverage detected