浏览代码

Apply test suite naming convention

Patrick-Christopher Mattulat 2 年之前
父节点
当前提交
054e998cb1

+ 6 - 6
test/cases/io/section-pair/evaluator/SectionPairIdentifierArgumentEvaluatorTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-09
-* Changed:         2023-02-19
+* Changed:         2023-02-20
 *
 * */
 
@@ -32,12 +32,12 @@ namespace
       {}
   };
 
-  class SectionPairIdentifierArgumentEvaluatorNotValidTest : public ::testing::TestWithParam<string>
+  class SectionPairIdentifierArgumentEvaluatorTest_InvalidArgumentTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SectionPairIdentifierArgumentEvaluatorNotValidTest() = default;
-      ~SectionPairIdentifierArgumentEvaluatorNotValidTest() override = default;
+      SectionPairIdentifierArgumentEvaluatorTest_InvalidArgumentTest() = default;
+      ~SectionPairIdentifierArgumentEvaluatorTest_InvalidArgumentTest() override = default;
   };
 
   TEST_F(SectionPairIdentifierArgumentEvaluatorTest, getClassName)
@@ -46,7 +46,7 @@ namespace
     ASSERT_STREQ("SectionPairIdentifierArgumentEvaluator", evaluator->getClassName().c_str());
   }
 
-  TEST_P(SectionPairIdentifierArgumentEvaluatorNotValidTest, evaluate)
+  TEST_P(SectionPairIdentifierArgumentEvaluatorTest_InvalidArgumentTest, evaluate)
   {
     EXPECT_THROW(
         {
@@ -66,5 +66,5 @@ namespace
         IllegalArgumentException);
   }
 
-  INSTANTIATE_TEST_SUITE_P(SectionPairIdentifierArgumentEvaluatorTest, SectionPairIdentifierArgumentEvaluatorNotValidTest, ::testing::Values("_color", "Color", "another_color"));
+  INSTANTIATE_TEST_SUITE_P(InvalidArgumentTest, SectionPairIdentifierArgumentEvaluatorTest_InvalidArgumentTest, ::testing::Values("_color", "Color", "another_color"));
 }

+ 5 - 5
test/cases/io/section-pair/evaluator/SectionPairRowListValueArgumentEvaluatorTest.cpp

@@ -32,12 +32,12 @@ namespace
       {}
   };
 
-  class SectionPairRowListValueArgumentEvaluatorNotValidTest : public ::testing::TestWithParam<string>
+  class SectionPairRowListValueArgumentEvaluatorTest_InvalidArgumentTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SectionPairRowListValueArgumentEvaluatorNotValidTest() = default;
-      ~SectionPairRowListValueArgumentEvaluatorNotValidTest() override = default;
+      SectionPairRowListValueArgumentEvaluatorTest_InvalidArgumentTest() = default;
+      ~SectionPairRowListValueArgumentEvaluatorTest_InvalidArgumentTest() override = default;
   };
 
   TEST_F(SectionPairRowListValueArgumentEvaluatorTest, getClassName)
@@ -46,7 +46,7 @@ namespace
     ASSERT_STREQ("SectionPairRowListValueArgumentEvaluator", evaluator->getClassName().c_str());
   }
 
-  TEST_P(SectionPairRowListValueArgumentEvaluatorNotValidTest, evaluate)
+  TEST_P(SectionPairRowListValueArgumentEvaluatorTest_InvalidArgumentTest, evaluate)
   {
     EXPECT_THROW(
         {
@@ -66,5 +66,5 @@ namespace
         IllegalArgumentException);
   }
 
-  INSTANTIATE_TEST_SUITE_P(SectionPairRowListValueArgumentEvaluatorTest, SectionPairRowListValueArgumentEvaluatorNotValidTest, ::testing::Values("colors:", "colors:\n red", "colors:\r\n  red"));
+  INSTANTIATE_TEST_SUITE_P(InvalidArgumentTest, SectionPairRowListValueArgumentEvaluatorTest_InvalidArgumentTest, ::testing::Values("colors:", "colors:\n red", "colors:\r\n  red"));
 }

+ 6 - 6
test/cases/io/section-pair/evaluator/SectionPairRowSingleValueArgumentEvaluatorTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-19
-* Changed:         2023-02-19
+* Changed:         2023-02-20
 *
 * */
 
@@ -32,12 +32,12 @@ namespace
       {}
   };
 
-  class SectionPairRowSingleValueArgumentEvaluatorNotValidTest : public ::testing::TestWithParam<string>
+  class SectionPairRowSingleValueArgumentEvaluatorTest_InvalidArgumentTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SectionPairRowSingleValueArgumentEvaluatorNotValidTest() = default;
-      ~SectionPairRowSingleValueArgumentEvaluatorNotValidTest() override = default;
+      SectionPairRowSingleValueArgumentEvaluatorTest_InvalidArgumentTest() = default;
+      ~SectionPairRowSingleValueArgumentEvaluatorTest_InvalidArgumentTest() override = default;
   };
 
   TEST_F(SectionPairRowSingleValueArgumentEvaluatorTest, getClassName)
@@ -46,7 +46,7 @@ namespace
     ASSERT_STREQ("SectionPairRowSingleValueArgumentEvaluator", evaluator->getClassName().c_str());
   }
 
-  TEST_P(SectionPairRowSingleValueArgumentEvaluatorNotValidTest, evaluate)
+  TEST_P(SectionPairRowSingleValueArgumentEvaluatorTest_InvalidArgumentTest, evaluate)
   {
     EXPECT_THROW(
         {
@@ -66,5 +66,5 @@ namespace
         IllegalArgumentException);
   }
 
-  INSTANTIATE_TEST_SUITE_P(SectionPairRowSingleValueArgumentEvaluatorTest, SectionPairRowSingleValueArgumentEvaluatorNotValidTest, ::testing::Values("favourite-color", "a value\n"));
+  INSTANTIATE_TEST_SUITE_P(InvalidArgumentTest, SectionPairRowSingleValueArgumentEvaluatorTest_InvalidArgumentTest, ::testing::Values("favourite-color", "a value\n"));
 }

+ 6 - 6
test/cases/io/section-pair/evaluator/SectionPairValueArgumentEvaluatorTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-10
-* Changed:         2023-02-19
+* Changed:         2023-02-20
 *
 * */
 
@@ -32,12 +32,12 @@ namespace
       {}
   };
 
-  class SectionPairValueArgumentEvaluatorNotValidTest : public ::testing::TestWithParam<string>
+  class SectionPairValueArgumentEvaluatorTest_InvalidArgumentTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SectionPairValueArgumentEvaluatorNotValidTest() = default;
-      ~SectionPairValueArgumentEvaluatorNotValidTest() override = default;
+      SectionPairValueArgumentEvaluatorTest_InvalidArgumentTest() = default;
+      ~SectionPairValueArgumentEvaluatorTest_InvalidArgumentTest() override = default;
   };
 
   TEST_F(SectionPairValueArgumentEvaluatorTest, getClassName)
@@ -46,7 +46,7 @@ namespace
     ASSERT_STREQ("SectionPairValueArgumentEvaluator", evaluator->getClassName().c_str());
   }
 
-  TEST_P(SectionPairValueArgumentEvaluatorNotValidTest, evaluate)
+  TEST_P(SectionPairValueArgumentEvaluatorTest_InvalidArgumentTest, evaluate)
   {
     EXPECT_THROW(
         {
@@ -66,5 +66,5 @@ namespace
         IllegalArgumentException);
   }
 
-  INSTANTIATE_TEST_SUITE_P(SectionPairValueArgumentEvaluatorTest, SectionPairValueArgumentEvaluatorNotValidTest, ::testing::Values("=33", "\\empty"));
+  INSTANTIATE_TEST_SUITE_P(InvalidArgumentTest, SectionPairValueArgumentEvaluatorTest_InvalidArgumentTest, ::testing::Values("=33", "\\empty"));
 }

+ 7 - 7
test/cases/io/section-pair/serialization/SerializableSectionPairDocumentTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-16
-* Changed:         2023-02-18
+* Changed:         2023-02-20
 *
 * */
 
@@ -35,12 +35,12 @@ namespace
       {}
   };
 
-  class SerializableSectionPairDocumentSerializationTest : public ::testing::TestWithParam<string>
+  class SerializableSectionPairDocumentTest_LineBreakTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SerializableSectionPairDocumentSerializationTest() = default;
-      ~SerializableSectionPairDocumentSerializationTest() override = default;
+      SerializableSectionPairDocumentTest_LineBreakTest() = default;
+      ~SerializableSectionPairDocumentTest_LineBreakTest() override = default;
   };
 
   TEST_F(SerializableSectionPairDocumentTest, constructor_no_value)
@@ -78,7 +78,7 @@ namespace
     ASSERT_TRUE(serializable.getValue() != nullptr);
   }
 
-  TEST_P(SerializableSectionPairDocumentSerializationTest, marshal)
+  TEST_P(SerializableSectionPairDocumentTest_LineBreakTest, marshal)
   {
     string newLine = GetParam();
     SerializableSectionPairParameter parameter{};
@@ -90,7 +90,7 @@ namespace
     ASSERT_STREQ(expected.c_str(), serializable.marshal().c_str());
   }
 
-  TEST_P(SerializableSectionPairDocumentSerializationTest, unmarshal)
+  TEST_P(SerializableSectionPairDocumentTest_LineBreakTest, unmarshal)
   {
     string newLine = GetParam();
     SerializableSectionPairParameter parameter{};
@@ -137,5 +137,5 @@ namespace
     ASSERT_STREQ("167", dynamic_pointer_cast<SectionPairRowSingleValue>(physical->get(2)->getValue())->get().c_str());
   }
 
-  INSTANTIATE_TEST_SUITE_P(SerializableSectionPairDocumentTest, SerializableSectionPairDocumentSerializationTest, ::testing::Values(NewLine::getUnixNewLine(), NewLine::getWindowsNewLine()));
+  INSTANTIATE_TEST_SUITE_P(LineBreakTest, SerializableSectionPairDocumentTest_LineBreakTest, ::testing::Values(NewLine::getUnixNewLine(), NewLine::getWindowsNewLine()));
 }

+ 7 - 7
test/cases/io/section-pair/serialization/SerializableSectionPairRowListValueTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-11
-* Changed:         2023-02-18
+* Changed:         2023-02-20
 *
 * */
 
@@ -32,12 +32,12 @@ namespace
       {}
   };
 
-  class SerializableSectionPairRowListValueSerializationTest : public ::testing::TestWithParam<string>
+  class SerializableSectionPairRowListValueTest_LineBreakTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SerializableSectionPairRowListValueSerializationTest() = default;
-      ~SerializableSectionPairRowListValueSerializationTest() override = default;
+      SerializableSectionPairRowListValueTest_LineBreakTest() = default;
+      ~SerializableSectionPairRowListValueTest_LineBreakTest() override = default;
   };
 
   TEST_F(SerializableSectionPairRowListValueTest, constructor_no_reference)
@@ -76,7 +76,7 @@ namespace
     ASSERT_TRUE(value == serializable.getValue());
   }
 
-  TEST_P(SerializableSectionPairRowListValueSerializationTest, marshal)
+  TEST_P(SerializableSectionPairRowListValueTest_LineBreakTest, marshal)
   {
     SerializableSectionPairParameter parameter{};
     shared_ptr<SectionPairRowListValue> value = make_shared<SectionPairRowListValue>();
@@ -93,7 +93,7 @@ namespace
     ASSERT_STREQ(expected.c_str(), serializable.marshal().c_str());
   }
 
-  TEST_P(SerializableSectionPairRowListValueSerializationTest, unmarshal)
+  TEST_P(SerializableSectionPairRowListValueTest_LineBreakTest, unmarshal)
   {
     SerializableSectionPairParameter parameter{};
     shared_ptr<SectionPairRowListValue> value = make_shared<SectionPairRowListValue>();
@@ -130,5 +130,5 @@ namespace
         IllegalArgumentException);
   }
 
-  INSTANTIATE_TEST_SUITE_P(SerializableSectionPairRowListValueTest, SerializableSectionPairRowListValueSerializationTest, ::testing::Values(NewLine::getUnixNewLine(), NewLine::getWindowsNewLine()));
+  INSTANTIATE_TEST_SUITE_P(LineBreakTest, SerializableSectionPairRowListValueTest_LineBreakTest, ::testing::Values(NewLine::getUnixNewLine(), NewLine::getWindowsNewLine()));
 }

+ 6 - 6
test/cases/io/section-pair/serialization/SerializableSectionPairRowSingleValueTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-11
-* Changed:         2023-02-18
+* Changed:         2023-02-20
 *
 * */
 
@@ -33,12 +33,12 @@ namespace
       {}
   };
 
-  class SerializableSectionPairRowSingleValueSerializationTest : public ::testing::TestWithParam<string>
+  class SerializableSectionPairRowSingleValueTest_LineBreakTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SerializableSectionPairRowSingleValueSerializationTest() = default;
-      ~SerializableSectionPairRowSingleValueSerializationTest() override = default;
+      SerializableSectionPairRowSingleValueTest_LineBreakTest() = default;
+      ~SerializableSectionPairRowSingleValueTest_LineBreakTest() override = default;
   };
 
   TEST_F(SerializableSectionPairRowSingleValueTest, constructor_no_reference)
@@ -77,7 +77,7 @@ namespace
     ASSERT_TRUE(value == serializable.getValue());
   }
 
-  TEST_P(SerializableSectionPairRowSingleValueSerializationTest, marshal)
+  TEST_P(SerializableSectionPairRowSingleValueTest_LineBreakTest, marshal)
   {
     string newLine = GetParam();
     SerializableSectionPairParameter parameter{};
@@ -121,5 +121,5 @@ namespace
         IllegalArgumentException);
   }
 
-  INSTANTIATE_TEST_SUITE_P(SerializableSectionPairRowSingleValueTest, SerializableSectionPairRowSingleValueSerializationTest, ::testing::Values(NewLine::getUnixNewLine(), NewLine::getWindowsNewLine()));
+  INSTANTIATE_TEST_SUITE_P(LineBreakTest, SerializableSectionPairRowSingleValueTest_LineBreakTest, ::testing::Values(NewLine::getUnixNewLine(), NewLine::getWindowsNewLine()));
 }

+ 9 - 9
test/cases/io/section-pair/serialization/SerializableSectionPairSectionTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-14
-* Changed:         2023-02-17
+* Changed:         2023-02-20
 *
 * */
 
@@ -35,12 +35,12 @@ namespace
       {}
   };
 
-  class SerializableSectionPairSectionSerializationTest : public ::testing::TestWithParam<string>
+  class SerializableSectionPairSectionTest_LineBreakTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SerializableSectionPairSectionSerializationTest() = default;
-      ~SerializableSectionPairSectionSerializationTest() override = default;
+      SerializableSectionPairSectionTest_LineBreakTest() = default;
+      ~SerializableSectionPairSectionTest_LineBreakTest() override = default;
   };
 
   TEST_F(SerializableSectionPairSectionTest, constructor_no_reference)
@@ -78,7 +78,7 @@ namespace
     ASSERT_TRUE(serializable.getValue() != nullptr);
   }
 
-  TEST_P(SerializableSectionPairSectionSerializationTest, marshal_sandra)
+  TEST_P(SerializableSectionPairSectionTest_LineBreakTest, marshal_sandra)
   {
     string newLine = GetParam();
     SerializableSectionPairParameter parameter{};
@@ -91,7 +91,7 @@ namespace
     ASSERT_STREQ(expected.c_str(), actual.c_str());
   }
 
-  TEST_P(SerializableSectionPairSectionSerializationTest, marshal_tom)
+  TEST_P(SerializableSectionPairSectionTest_LineBreakTest, marshal_tom)
   {
     string newLine = GetParam();
     SerializableSectionPairParameter parameter{};
@@ -104,7 +104,7 @@ namespace
     ASSERT_STREQ(expected.c_str(), actual.c_str());
   }
 
-  TEST_P(SerializableSectionPairSectionSerializationTest, unmarshal_sandra)
+  TEST_P(SerializableSectionPairSectionTest_LineBreakTest, unmarshal_sandra)
   {
     string newLine = GetParam();
     SerializableSectionPairParameter parameter{};
@@ -130,7 +130,7 @@ namespace
     ASSERT_STREQ("singing", listRow->get(2).c_str());
   }
 
-  TEST_P(SerializableSectionPairSectionSerializationTest, unmarshal_tom)
+  TEST_P(SerializableSectionPairSectionTest_LineBreakTest, unmarshal_tom)
   {
     string newLine = GetParam();
     SerializableSectionPairParameter parameter{};
@@ -153,5 +153,5 @@ namespace
     ASSERT_STREQ("33", dynamic_pointer_cast<SectionPairRowSingleValue>(section->get(2)->getValue())->get().c_str());
   }
 
-  INSTANTIATE_TEST_SUITE_P(SerializableSectionPairSectionTest, SerializableSectionPairSectionSerializationTest, ::testing::Values(NewLine::getUnixNewLine(), NewLine::getWindowsNewLine()));
+  INSTANTIATE_TEST_SUITE_P(LineBreakTest, SerializableSectionPairSectionTest_LineBreakTest, ::testing::Values(NewLine::getUnixNewLine(), NewLine::getWindowsNewLine()));
 }

+ 11 - 11
test/cases/io/section-pair/validator/SectionPairIdentifierValidatorTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-09
-* Changed:         2023-02-18
+* Changed:         2023-02-20
 *
 * */
 
@@ -32,20 +32,20 @@ namespace
       {}
   };
 
-  class SectionPairIdentifierValidatorIsValidTest : public ::testing::TestWithParam<string>
+  class SectionPairIdentifierValidatorTest_ValidArgumentTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SectionPairIdentifierValidatorIsValidTest() = default;
-      ~SectionPairIdentifierValidatorIsValidTest() override = default;
+      SectionPairIdentifierValidatorTest_ValidArgumentTest() = default;
+      ~SectionPairIdentifierValidatorTest_ValidArgumentTest() override = default;
   };
 
-  class SectionPairIdentifierValidatorIsNotValidTest : public ::testing::TestWithParam<string>
+  class SectionPairIdentifierValidatorTest_InvalidArgumentTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SectionPairIdentifierValidatorIsNotValidTest() = default;
-      ~SectionPairIdentifierValidatorIsNotValidTest() override = default;
+      SectionPairIdentifierValidatorTest_InvalidArgumentTest() = default;
+      ~SectionPairIdentifierValidatorTest_InvalidArgumentTest() override = default;
   };
 
   TEST_F(SectionPairIdentifierValidatorTest, getClassName)
@@ -58,16 +58,16 @@ namespace
     ASSERT_STREQ(R"([a-z]([a-z0-9-]){1,15})", SectionPairIdentifierValidator{"tmp-key"}.getValidationRegex().c_str());
   }
 
-  TEST_P(SectionPairIdentifierValidatorIsValidTest, isValid)
+  TEST_P(SectionPairIdentifierValidatorTest_ValidArgumentTest, isValid)
   {
     ASSERT_TRUE(SectionPairIdentifierValidator{GetParam()}.isValid());
   }
 
-  TEST_P(SectionPairIdentifierValidatorIsNotValidTest, isValid_not_valid)
+  TEST_P(SectionPairIdentifierValidatorTest_InvalidArgumentTest, isValid_not_valid)
   {
     ASSERT_FALSE(SectionPairIdentifierValidator{GetParam()}.isValid());
   }
 
-  INSTANTIATE_TEST_SUITE_P(SectionPairIdentifierValidatorTest, SectionPairIdentifierValidatorIsValidTest, ::testing::Values("color", "favourite-color", "age", "name"));
-  INSTANTIATE_TEST_SUITE_P(SectionPairIdentifierValidatorTest, SectionPairIdentifierValidatorIsNotValidTest, ::testing::Values("_color", "8color", "colOr", "color:", "-color", "color-is-valid-but-too-long"));
+  INSTANTIATE_TEST_SUITE_P(ValidArgumentTest, SectionPairIdentifierValidatorTest_ValidArgumentTest, ::testing::Values("color", "favourite-color", "age", "name"));
+  INSTANTIATE_TEST_SUITE_P(InvalidArgumentTest, SectionPairIdentifierValidatorTest_InvalidArgumentTest, ::testing::Values("_color", "8color", "colOr", "color:", "-color", "color-is-valid-but-too-long"));
 }

+ 10 - 10
test/cases/io/section-pair/validator/SectionPairRowListValueValidatorTest.cpp

@@ -32,20 +32,20 @@ namespace
       {}
   };
 
-  class SectionPairRowListValueValidatorIsValidTest : public ::testing::TestWithParam<string>
+  class SectionPairRowListValueValidatorTest_ValidArgumentTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SectionPairRowListValueValidatorIsValidTest() = default;
-      ~SectionPairRowListValueValidatorIsValidTest() override = default;
+      SectionPairRowListValueValidatorTest_ValidArgumentTest() = default;
+      ~SectionPairRowListValueValidatorTest_ValidArgumentTest() override = default;
   };
 
-  class SectionPairRowListValueValidatorNotValidTest : public ::testing::TestWithParam<string>
+  class SectionPairRowListValueValidatorTest_InvalidArgumentTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SectionPairRowListValueValidatorNotValidTest() = default;
-      ~SectionPairRowListValueValidatorNotValidTest() override = default;
+      SectionPairRowListValueValidatorTest_InvalidArgumentTest() = default;
+      ~SectionPairRowListValueValidatorTest_InvalidArgumentTest() override = default;
   };
 
   TEST_F(SectionPairRowListValueValidatorTest, getClassName)
@@ -61,16 +61,16 @@ namespace
     ASSERT_STREQ(expected.c_str(), actual.c_str());
   }
 
-  TEST_P(SectionPairRowListValueValidatorIsValidTest, isValid)
+  TEST_P(SectionPairRowListValueValidatorTest_ValidArgumentTest, isValid)
   {
     ASSERT_TRUE(SectionPairRowListValueValidator{GetParam()}.isValid());
   }
 
-  TEST_P(SectionPairRowListValueValidatorNotValidTest, isValid_not_valid)
+  TEST_P(SectionPairRowListValueValidatorTest_InvalidArgumentTest, isValid_not_valid)
   {
     ASSERT_FALSE(SectionPairRowListValueValidator{GetParam()}.isValid());
   }
 
-  INSTANTIATE_TEST_SUITE_P(SectionPairRowListValueValidatorTest, SectionPairRowListValueValidatorIsValidTest, ::testing::Values("colors:\n  blue\n  red\n", "colors:\r\n  blue\r\n  green\r\n  yellow\r\n"));
-  INSTANTIATE_TEST_SUITE_P(SectionPairRowListValueValidatorTest, SectionPairRowListValueValidatorNotValidTest, ::testing::Values("colors:\nblue", "colors:\r\n hello!"));
+  INSTANTIATE_TEST_SUITE_P(ValidArgumentTest, SectionPairRowListValueValidatorTest_ValidArgumentTest, ::testing::Values("colors:\n  blue\n  red\n", "colors:\r\n  blue\r\n  green\r\n  yellow\r\n"));
+  INSTANTIATE_TEST_SUITE_P(InvalidArgumentTest, SectionPairRowListValueValidatorTest_InvalidArgumentTest, ::testing::Values("colors:\nblue", "colors:\r\n hello!"));
 }

+ 11 - 11
test/cases/io/section-pair/validator/SectionPairRowSingleValueValidatorTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-19
-* Changed:         2023-02-19
+* Changed:         2023-02-20
 *
 * */
 
@@ -32,20 +32,20 @@ namespace
       {}
   };
 
-  class SectionPairRowSingleValueValidatorIsValidTest : public ::testing::TestWithParam<string>
+  class SectionPairRowSingleValueValidatorTest_ValidArgumentTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SectionPairRowSingleValueValidatorIsValidTest() = default;
-      ~SectionPairRowSingleValueValidatorIsValidTest() override = default;
+      SectionPairRowSingleValueValidatorTest_ValidArgumentTest() = default;
+      ~SectionPairRowSingleValueValidatorTest_ValidArgumentTest() override = default;
   };
 
-  class SectionPairRowSingleValueValidatorNotValidTest : public ::testing::TestWithParam<string>
+  class SectionPairRowSingleValueValidatorTest_InvalidArgumentTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SectionPairRowSingleValueValidatorNotValidTest() = default;
-      ~SectionPairRowSingleValueValidatorNotValidTest() override = default;
+      SectionPairRowSingleValueValidatorTest_InvalidArgumentTest() = default;
+      ~SectionPairRowSingleValueValidatorTest_InvalidArgumentTest() override = default;
   };
 
   TEST_F(SectionPairRowSingleValueValidatorTest, getClassName)
@@ -53,16 +53,16 @@ namespace
     ASSERT_STREQ("SectionPairRowSingleValueValidator", SectionPairRowSingleValueValidator{"tmp-key"}.getClassName().c_str());
   }
 
-  TEST_P(SectionPairRowSingleValueValidatorIsValidTest, isValid)
+  TEST_P(SectionPairRowSingleValueValidatorTest_ValidArgumentTest, isValid)
   {
     ASSERT_TRUE(SectionPairRowSingleValueValidator{GetParam()}.isValid());
   }
 
-  TEST_P(SectionPairRowSingleValueValidatorNotValidTest, isValid_not_valid)
+  TEST_P(SectionPairRowSingleValueValidatorTest_InvalidArgumentTest, isValid_not_valid)
   {
     ASSERT_FALSE(SectionPairRowSingleValueValidator{GetParam()}.isValid());
   }
 
-  INSTANTIATE_TEST_SUITE_P(SectionPairRowSingleValueValidatorTest, SectionPairRowSingleValueValidatorIsValidTest, ::testing::Values("favourite-color=blue" + NewLine::getUnixNewLine(), "hair-color=red" + NewLine::getWindowsNewLine(), "height=167"));
-  INSTANTIATE_TEST_SUITE_P(SectionPairRowSingleValueValidatorTest, SectionPairRowSingleValueValidatorNotValidTest, ::testing::Values("color blue", "a value\n"));
+  INSTANTIATE_TEST_SUITE_P(ValidArgumentTest, SectionPairRowSingleValueValidatorTest_ValidArgumentTest, ::testing::Values("favourite-color=blue" + NewLine::getUnixNewLine(), "hair-color=red" + NewLine::getWindowsNewLine(), "height=167"));
+  INSTANTIATE_TEST_SUITE_P(InvalidArgumentTest, SectionPairRowSingleValueValidatorTest_InvalidArgumentTest, ::testing::Values("color blue", "a value\n"));
 }

+ 10 - 10
test/cases/io/section-pair/validator/SectionPairValueValidatorTest.cpp

@@ -32,20 +32,20 @@ namespace
       {}
   };
 
-  class SectionPairValueValidatorValidTest : public ::testing::TestWithParam<string>
+  class SectionPairValueValidatorTest_ValidArgumentTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SectionPairValueValidatorValidTest() = default;
-      ~SectionPairValueValidatorValidTest() override = default;
+      SectionPairValueValidatorTest_ValidArgumentTest() = default;
+      ~SectionPairValueValidatorTest_ValidArgumentTest() override = default;
   };
 
-  class SectionPairValueValidatorNotValidTest : public ::testing::TestWithParam<string>
+  class SectionPairValueValidatorTest_InvalidArgumentTest : public ::testing::TestWithParam<string>
   {
     protected:
 
-      SectionPairValueValidatorNotValidTest() = default;
-      ~SectionPairValueValidatorNotValidTest() override = default;
+      SectionPairValueValidatorTest_InvalidArgumentTest() = default;
+      ~SectionPairValueValidatorTest_InvalidArgumentTest() override = default;
   };
 
   TEST_F(SectionPairValueValidatorTest, getClassName)
@@ -61,16 +61,16 @@ namespace
     ASSERT_STREQ(expected.c_str(), actual.c_str());
   }
 
-  TEST_P(SectionPairValueValidatorValidTest, isValid)
+  TEST_P(SectionPairValueValidatorTest_ValidArgumentTest, isValid)
   {
     ASSERT_TRUE(SectionPairValueValidator{GetParam()}.isValid());
   }
 
-  TEST_P(SectionPairValueValidatorNotValidTest, isValid_not_valid)
+  TEST_P(SectionPairValueValidatorTest_InvalidArgumentTest, isValid_not_valid)
   {
     ASSERT_FALSE(SectionPairValueValidator{GetParam()}.isValid());
   }
 
-  INSTANTIATE_TEST_SUITE_P(SectionPairValueValidatorTest, SectionPairValueValidatorValidTest, ::testing::Values("blue is my favourite color!", "Age", "Tom", "\"Tom\"", "Hello!" + NewLine::getUnixNewLine(), "Hello!" + NewLine::getWindowsNewLine()));
-  INSTANTIATE_TEST_SUITE_P(SectionPairValueValidatorTest, SectionPairValueValidatorNotValidTest, ::testing::Values("1+2=3", "\\escape"));
+  INSTANTIATE_TEST_SUITE_P(ValidArgumentTest, SectionPairValueValidatorTest_ValidArgumentTest, ::testing::Values("blue is my favourite color!", "Age", "Tom", "\"Tom\"", "Hello!" + NewLine::getUnixNewLine(), "Hello!" + NewLine::getWindowsNewLine()));
+  INSTANTIATE_TEST_SUITE_P(InvalidArgumentTest, SectionPairValueValidatorTest_InvalidArgumentTest, ::testing::Values("1+2=3", "\\escape"));
 }