Commit 6693ba85 authored by Huff, Israel's avatar Huff, Israel
Browse files

- moved fail tests to pass filenames since they are now expected to pass

- re-enabled all of the roundtrip*.json tests
parent f7fc3fd4
Pipeline #96303 passed with stages
in 20 minutes and 58 seconds
...@@ -276,12 +276,10 @@ TEST(JSONParser, JSONCheckerFailures) ...@@ -276,12 +276,10 @@ TEST(JSONParser, JSONCheckerFailures)
// EXPECT_TRUE(parse_and_test("fail01_EXCLUDE.json")); // EXPECT_TRUE(parse_and_test("fail01_EXCLUDE.json"));
EXPECT_TRUE(parse_and_test("fail02.json")); EXPECT_TRUE(parse_and_test("fail02.json"));
EXPECT_TRUE(parse_and_test("fail03.json")); EXPECT_TRUE(parse_and_test("fail03.json"));
EXPECT_FALSE(parse_and_test("fail04.json"));
EXPECT_TRUE(parse_and_test("fail05.json")); EXPECT_TRUE(parse_and_test("fail05.json"));
EXPECT_TRUE(parse_and_test("fail06.json")); EXPECT_TRUE(parse_and_test("fail06.json"));
EXPECT_TRUE(parse_and_test("fail07.json")); EXPECT_TRUE(parse_and_test("fail07.json"));
EXPECT_TRUE(parse_and_test("fail08.json")); EXPECT_TRUE(parse_and_test("fail08.json"));
EXPECT_FALSE(parse_and_test("fail09.json"));
EXPECT_TRUE(parse_and_test("fail10.json")); EXPECT_TRUE(parse_and_test("fail10.json"));
EXPECT_TRUE(parse_and_test("fail11.json")); EXPECT_TRUE(parse_and_test("fail11.json"));
EXPECT_TRUE(parse_and_test("fail12.json")); EXPECT_TRUE(parse_and_test("fail12.json"));
...@@ -312,33 +310,35 @@ TEST(JSONParser, JSONCheckerPassing) ...@@ -312,33 +310,35 @@ TEST(JSONParser, JSONCheckerPassing)
EXPECT_TRUE(parse_and_test("pass01.json")); EXPECT_TRUE(parse_and_test("pass01.json"));
EXPECT_TRUE(parse_and_test("pass02.json")); EXPECT_TRUE(parse_and_test("pass02.json"));
EXPECT_TRUE(parse_and_test("pass03.json")); EXPECT_TRUE(parse_and_test("pass03.json"));
// EXPECT_TRUE(parse_and_test("roundtrip01.json")); EXPECT_TRUE(parse_and_test("fail04.json"));
// EXPECT_TRUE(parse_and_test("roundtrip02.json")); EXPECT_TRUE(parse_and_test("fail09.json"));
// EXPECT_TRUE(parse_and_test("roundtrip03.json")); EXPECT_TRUE(parse_and_test("roundtrip01.json"));
// EXPECT_TRUE(parse_and_test("roundtrip04.json")); EXPECT_TRUE(parse_and_test("roundtrip02.json"));
// EXPECT_TRUE(parse_and_test("roundtrip05.json")); EXPECT_TRUE(parse_and_test("roundtrip03.json"));
// EXPECT_TRUE(parse_and_test("roundtrip06.json")); EXPECT_TRUE(parse_and_test("roundtrip04.json"));
// EXPECT_TRUE(parse_and_test("roundtrip07.json")); EXPECT_TRUE(parse_and_test("roundtrip05.json"));
// EXPECT_TRUE(parse_and_test("roundtrip08.json")); EXPECT_TRUE(parse_and_test("roundtrip06.json"));
// EXPECT_TRUE(parse_and_test("roundtrip09.json")); EXPECT_TRUE(parse_and_test("roundtrip07.json"));
// EXPECT_TRUE(parse_and_test("roundtrip10.json")); EXPECT_TRUE(parse_and_test("roundtrip08.json"));
// EXPECT_TRUE(parse_and_test("roundtrip11.json")); EXPECT_TRUE(parse_and_test("roundtrip09.json"));
// EXPECT_TRUE(parse_and_test("roundtrip12.json")); EXPECT_TRUE(parse_and_test("roundtrip10.json"));
// EXPECT_TRUE(parse_and_test("roundtrip13.json")); EXPECT_TRUE(parse_and_test("roundtrip11.json"));
// EXPECT_TRUE(parse_and_test("roundtrip14.json")); EXPECT_TRUE(parse_and_test("roundtrip12.json"));
// EXPECT_TRUE(parse_and_test("roundtrip15.json")); EXPECT_TRUE(parse_and_test("roundtrip13.json"));
// EXPECT_TRUE(parse_and_test("roundtrip16.json")); EXPECT_TRUE(parse_and_test("roundtrip14.json"));
// EXPECT_TRUE(parse_and_test("roundtrip17.json")); EXPECT_TRUE(parse_and_test("roundtrip15.json"));
// EXPECT_TRUE(parse_and_test("roundtrip18.json")); EXPECT_TRUE(parse_and_test("roundtrip16.json"));
// EXPECT_TRUE(parse_and_test("roundtrip19.json")); EXPECT_TRUE(parse_and_test("roundtrip17.json"));
// EXPECT_TRUE(parse_and_test("roundtrip20.json")); EXPECT_TRUE(parse_and_test("roundtrip18.json"));
// EXPECT_TRUE(parse_and_test("roundtrip21.json")); EXPECT_TRUE(parse_and_test("roundtrip19.json"));
// EXPECT_TRUE(parse_and_test("roundtrip22.json")); EXPECT_TRUE(parse_and_test("roundtrip20.json"));
// EXPECT_TRUE(parse_and_test("roundtrip23.json")); EXPECT_TRUE(parse_and_test("roundtrip21.json"));
// EXPECT_TRUE(parse_and_test("roundtrip24.json")); EXPECT_TRUE(parse_and_test("roundtrip22.json"));
// EXPECT_TRUE(parse_and_test("roundtrip25.json")); EXPECT_TRUE(parse_and_test("roundtrip23.json"));
// EXPECT_TRUE(parse_and_test("roundtrip26.json")); EXPECT_TRUE(parse_and_test("roundtrip24.json"));
// EXPECT_TRUE(parse_and_test("roundtrip27.json")); EXPECT_TRUE(parse_and_test("roundtrip25.json"));
EXPECT_TRUE(parse_and_test("roundtrip26.json"));
EXPECT_TRUE(parse_and_test("roundtrip27.json"));
} }
TEST(JSONParser, JSONCheckerBenchmark) TEST(JSONParser, JSONCheckerBenchmark)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment