Commit 7fa79766 authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Re-enabling two tstJson tests.

parent 2587bc29
Pipeline #96417 failed with stages
in 122 minutes and 43 seconds
...@@ -12,7 +12,7 @@ using namespace radix; ...@@ -12,7 +12,7 @@ using namespace radix;
// bool parse_from_stream(std::istream& in_stream) // bool parse_from_stream(std::istream& in_stream)
// bool parse_from_file(std::string fn) // bool parse_from_file(std::string fn)
TEST(JSONParser, DISABLED_parse_from_file) TEST(JSONParser, parse_from_file)
{ {
{ {
JSONParser sunnyDay; JSONParser sunnyDay;
...@@ -61,7 +61,7 @@ TEST(JSONParser, DISABLED_parse_from_file) ...@@ -61,7 +61,7 @@ TEST(JSONParser, DISABLED_parse_from_file)
} }
} }
TEST(JSONParser, DISABLED_parse_from_stream) TEST(JSONParser, parse_from_stream)
{ {
// check code paths in JSONParser class // check code paths in JSONParser class
{ {
...@@ -264,7 +264,6 @@ bool parse_and_test(const std::string& file) ...@@ -264,7 +264,6 @@ bool parse_and_test(const std::string& file)
} }
TEST(JSONParser, JSONCheckerFailures) TEST(JSONParser, JSONCheckerFailures)
{ {
// EXPECT_TRUE(parse_and_test("fail01_EXCLUDE.json"));
EXPECT_FALSE(parse_and_test("fail02.json")); EXPECT_FALSE(parse_and_test("fail02.json"));
EXPECT_FALSE(parse_and_test("fail03.json")); EXPECT_FALSE(parse_and_test("fail03.json"));
EXPECT_FALSE(parse_and_test("fail05.json")); EXPECT_FALSE(parse_and_test("fail05.json"));
...@@ -279,7 +278,6 @@ TEST(JSONParser, JSONCheckerFailures) ...@@ -279,7 +278,6 @@ TEST(JSONParser, JSONCheckerFailures)
EXPECT_FALSE(parse_and_test("fail15.json")); EXPECT_FALSE(parse_and_test("fail15.json"));
EXPECT_FALSE(parse_and_test("fail16.json")); EXPECT_FALSE(parse_and_test("fail16.json"));
EXPECT_FALSE(parse_and_test("fail17.json")); EXPECT_FALSE(parse_and_test("fail17.json"));
// EXPECT_FALSE(parse_and_test("fail18_EXCLUDE.json"));
EXPECT_FALSE(parse_and_test("fail19.json")); EXPECT_FALSE(parse_and_test("fail19.json"));
EXPECT_FALSE(parse_and_test("fail20.json")); EXPECT_FALSE(parse_and_test("fail20.json"));
EXPECT_FALSE(parse_and_test("fail21.json")); EXPECT_FALSE(parse_and_test("fail21.json"));
...@@ -298,6 +296,8 @@ TEST(JSONParser, JSONCheckerFailures) ...@@ -298,6 +296,8 @@ TEST(JSONParser, JSONCheckerFailures)
} }
TEST(JSONParser, JSONCheckerPassing) TEST(JSONParser, JSONCheckerPassing)
{ {
// EXPECT_TRUE(parse_and_test("fail01_EXCLUDE.json"));
// EXPECT_TRUE(parse_and_test("fail18_EXCLUDE.json"));
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"));
......
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