Lines Matching full:test

13 TEST(TemplateCharReplace, replaceOneInt)
26 TEST(TemplateCharReplace, replaceOneStr)
28 nlohmann::json j = {{"foo", "$TEST"}};
31 data["TEST"] = std::string("Test");
35 nlohmann::json expected = "Test";
39 TEST(TemplateCharReplace, replaceSecondStr)
41 nlohmann::json j = {{"foo", "the $TEST"}};
44 data["TEST"] = std::string("Test");
48 nlohmann::json expected = "the Test";
52 TEST(TemplateCharReplace, replaceMiddleStr)
54 nlohmann::json j = {{"foo", "the $TEST worked"}};
57 data["TEST"] = std::string("Test");
61 nlohmann::json expected = "the Test worked";
65 TEST(TemplateCharReplace, replaceLastStr)
67 nlohmann::json j = {{"foo", "the Test $TEST"}};
70 data["TEST"] = 23;
74 nlohmann::json expected = "the Test 23";
78 TEST(TemplateCharReplace, increment)
80 nlohmann::json j = {{"foo", "3 plus 1 equals $TEST + 1"}};
83 data["TEST"] = 3;
91 TEST(TemplateCharReplace, decrement)
93 nlohmann::json j = {{"foo", "3 minus 1 equals $TEST - 1 !"}};
96 data["TEST"] = 3;
104 TEST(TemplateCharReplace, modulus)
106 nlohmann::json j = {{"foo", "3 mod 2 equals $TEST % 2"}};
109 data["TEST"] = 3;
117 TEST(TemplateCharReplace, multiply)
119 nlohmann::json j = {{"foo", "3 * 2 equals $TEST * 2"}};
122 data["TEST"] = 3;
130 TEST(TemplateCharReplace, divide)
132 nlohmann::json j = {{"foo", "4 / 2 equals $TEST / 2"}};
135 data["TEST"] = 4;
143 TEST(TemplateCharReplace, multiMath)
145 nlohmann::json j = {{"foo", "4 * 2 % 6 equals $TEST * 2 % 6"}};
148 data["TEST"] = 4;
156 TEST(TemplateCharReplace, twoReplacements)
170 TEST(TemplateCharReplace, twoReplacementsWithMath)
172 nlohmann::json j = {{"foo", "4 / 2 equals $TEST / 2 $BAR"}};
175 data["TEST"] = 4;
183 TEST(TemplateCharReplace, twoReplacementsWithMath2)
197 TEST(TemplateCharReplace, hexAndWrongCase)
218 TEST(TemplateCharReplace, replaceSecondAsInt)
220 nlohmann::json j = {{"foo", "twelve is $TEST"}};
223 data["test"] = 12;
231 TEST(TemplateCharReplace, singleHex)
243 TEST(TemplateCharReplace, leftOverTemplateVars)
260 TEST(HandleLeftOverTemplateVars, replaceLeftOverTemplateVar)
262 nlohmann::json j = {{"foo", "the Test $TEST is $TESTED"}};
267 nlohmann::json expected = "the Test is ";
271 TEST(MatchProbe, stringEqString)
278 TEST(MatchProbe, stringRegexEqString)
285 TEST(MatchProbe, stringNeqString)
292 TEST(MatchProbe, stringRegexError)
299 TEST(MatchProbe, stringRegexNotPrefix)
308 TEST(MatchProbe, stringZeroNeqFalse)
315 TEST(MatchProbe, stringOneNeqTrue)
322 TEST(MatchProbe, stringElevenNeqTrue)
329 TEST(MatchProbe, stringFalseNeqFalse)
336 TEST(MatchProbe, stringTrueNeqTrue)
343 TEST(MatchProbe, stringFalseNeqTrue)
350 TEST(MatchProbe, stringNeqUint8)
357 TEST(MatchProbe, stringNeqUint8Overflow)
364 TEST(MatchProbe, stringFalseNeqUint8Zero)
371 TEST(MatchProbe, stringTrueNeqUint8Zero)
378 TEST(MatchProbe, stringNeqUint32)
385 TEST(MatchProbe, stringNeqInt32)
392 TEST(MatchProbe, stringRegexNeqInt32)
399 TEST(MatchProbe, stringNeqUint64)
406 TEST(MatchProbe, stringNeqDouble)
413 TEST(MatchProbe, stringNeqEmpty)
420 TEST(MatchProbe, stringNeqArray)
427 TEST(MatchProbe, boolNeqString)
434 TEST(MatchProbe, trueEqTrue)
441 TEST(MatchProbe, falseEqFalse)
448 TEST(MatchProbe, trueNeqFalse)
455 TEST(MatchProbe, trueNeqInt32Zero)
462 TEST(MatchProbe, trueNeqInt32NegativeOne)
469 TEST(MatchProbe, falseNeqUint32One)
476 TEST(MatchProbe, falseNeqUint32Zero)
483 TEST(MatchProbe, trueNeqDoubleNegativeOne)
490 TEST(MatchProbe, trueNeqDoubleOne)
497 TEST(MatchProbe, falseNeqDoubleOne)
504 TEST(MatchProbe, falseNeqDoubleZero)
511 TEST(MatchProbe, falseNeqEmpty)
518 TEST(MatchProbe, trueNeqEmpty)
525 TEST(MatchProbe, trueNeqArray)
532 TEST(MatchProbe, uintNeqString)
539 TEST(MatchProbe, uintNeqTrue)
546 TEST(MatchProbe, uintNeqFalse)
553 TEST(MatchProbe, uintEqUint8)
560 TEST(MatchProbe, uintNeqUint8)
567 TEST(MatchProbe, uintNeqUint8Overflow)
574 TEST(MatchProbe, uintEqInt8)
581 TEST(MatchProbe, uintEqDouble)
588 TEST(MatchProbe, uintNeqDouble)
595 TEST(MatchProbe, uintNeqEmpty)
602 TEST(MatchProbe, uintNeqArray)
609 TEST(MatchProbe, intNeqString)
616 TEST(MatchProbe, intNeqTrue)
623 TEST(MatchProbe, intNeqUint8)
630 TEST(MatchProbe, intEqInt8)
637 TEST(MatchProbe, intNeqDouble)
644 TEST(MatchProbe, intEqDouble)
651 TEST(MatchProbe, intNeqDoubleRound)
658 TEST(MatchProbe, intNeqEmpty)
665 TEST(MatchProbe, intNeqArray)
672 TEST(MatchProbe, doubleNeqString)
679 TEST(MatchProbe, doubleNeqFalse)
686 TEST(MatchProbe, doubleNeqTrue)
693 TEST(MatchProbe, doubleEqInt32)
700 TEST(MatchProbe, doubleNeqInt32)
707 TEST(MatchProbe, doubleRoundNeqInt)
713 TEST(MatchProbe, doubleEqDouble)
720 TEST(MatchProbe, doubleNeqDouble)
727 TEST(MatchProbe, doubleNeqEmpty)
734 TEST(MatchProbe, doubleNeqArray)
741 TEST(MatchProbe, arrayNeqString)
748 TEST(MatchProbe, arrayNeqFalse)
755 TEST(MatchProbe, arrayNeqTrue)
762 TEST(MatchProbe, arrayNeqUint8)
769 TEST(MatchProbe, arrayNeqInt32)
776 TEST(MatchProbe, arrayNeqDouble)
783 TEST(MatchProbe, arrayEqArray)
790 TEST(MatchProbe, arrayNeqArrayDiffSize1)
797 TEST(MatchProbe, arrayNeqArrayDiffSize2)
804 TEST(MatchProbe, emptyArrayEqEmptyArray)
811 TEST(MatchProbe, emptyArrayNeqArray)
818 TEST(MatchProbe, arrayNeqEmptyArray)
825 TEST(MatchProbe, objNeqString)
832 TEST(MatchProbe, objNeqFalse)
839 TEST(MatchProbe, objNeqTrue)
846 TEST(MatchProbe, objNeqUint8)
853 TEST(MatchProbe, objNeqInt32)
860 TEST(MatchProbe, objNeqDouble)
867 TEST(MatchProbe, objNeqArray)
874 TEST(MatchProbe, nullNeqString)
881 TEST(MatchProbe, nullNeqFalse)
888 TEST(MatchProbe, nullNeqTrue)
895 TEST(MatchProbe, nullNeqUint8)
902 TEST(MatchProbe, nullNeqInt32)
909 TEST(MatchProbe, nullNeqDouble)
916 TEST(MatchProbe, nullNeqArray)