Base: Skip test for units using GTEST_SKIP() instead of comments
This commit is contained in:
@@ -315,18 +315,16 @@ TEST_F(SchemaTest, imperial_building_special_function_length_foot)
|
||||
EXPECT_EQ(result, expect);
|
||||
}
|
||||
|
||||
/*
|
||||
* QuantityParser::yyparse() is crashing on the >>1' 2" + 1/4"<< input,
|
||||
* so disable this test
|
||||
TEST_F(SchemaTest, imperial_building_special_function_length)
|
||||
{
|
||||
GTEST_SKIP() << "QuantityParser::yyparse() is crashing on the >>1' 2\" + 1/4\"<< input, "
|
||||
"so disable this test";
|
||||
constexpr auto val {360.6};
|
||||
const auto result = set("ImperialBuilding", Unit::Length, val);
|
||||
const auto expect = Tools::escapeQuotesFromString("1' 2\" + 1/4\"");
|
||||
|
||||
EXPECT_EQ(result, expect);
|
||||
}
|
||||
*/
|
||||
|
||||
TEST_F(SchemaTest, imperial_building_special_function_length_neg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user