| 47 | } |
| 48 | |
| 49 | void TestStringHandler::testEscapeJavaScriptString() |
| 50 | { |
| 51 | QFETCH(QByteArray, unescaped); |
| 52 | QFETCH(QByteArray, escaped); |
| 53 | |
| 54 | const auto actual = escapeJavaScriptString(unescaped); |
| 55 | QCOMPARE(actual, escaped); |
| 56 | } |
| 57 | |
| 58 | void TestStringHandler::testEscapeJavaScriptString_data() |
| 59 | { |
nothing calls this directly
no test coverage detected