Browse Source

Replace namespace usages by dedicated using in io test module

Patrick-Christopher Mattulat 1 năm trước cách đây
mục cha
commit
c01dc018f8
46 tập tin đã thay đổi với 446 bổ sung264 xóa
  1. 9 6
      test/cases/io/FileOutputStreamTest.cpp
  2. 10 7
      test/cases/io/FileReaderTest.cpp
  3. 8 6
      test/cases/io/FileTest.cpp
  4. 7 6
      test/cases/io/FileWriterTest.cpp
  5. 3 3
      test/cases/io/StandardOutputWriterTest.cpp
  6. 8 6
      test/cases/io/StorableFileTest.cpp
  7. 6 5
      test/cases/io/evaluator/FileExistenceEvaluatorTest.cpp
  8. 5 4
      test/cases/io/logging/LogLevelTest.cpp
  9. 15 8
      test/cases/io/logging/LoggerTest.cpp
  10. 7 4
      test/cases/io/section-pair/SectionPairMessageFormatterTest.cpp
  11. 9 5
      test/cases/io/section-pair/evaluator/SectionPairIdentifierArgumentEvaluatorTest.cpp
  12. 10 5
      test/cases/io/section-pair/evaluator/SectionPairRowArgumentEvaluatorTest.cpp
  13. 10 5
      test/cases/io/section-pair/evaluator/SectionPairRowListValueArgumentEvaluatorTest.cpp
  14. 10 5
      test/cases/io/section-pair/evaluator/SectionPairRowSingleValueArgumentEvaluatorTest.cpp
  15. 10 5
      test/cases/io/section-pair/evaluator/SectionPairSectionArgumentEvaluatorTest.cpp
  16. 9 5
      test/cases/io/section-pair/evaluator/SectionPairValueArgumentEvaluatorTest.cpp
  17. 14 7
      test/cases/io/section-pair/model/SectionPairDocumentTest.cpp
  18. 16 9
      test/cases/io/section-pair/model/SectionPairRowListValueTest.cpp
  19. 10 7
      test/cases/io/section-pair/model/SectionPairRowSingleValueTest.cpp
  20. 18 8
      test/cases/io/section-pair/model/SectionPairRowTest.cpp
  21. 16 7
      test/cases/io/section-pair/model/SectionPairSectionTest.cpp
  22. 9 6
      test/cases/io/section-pair/reader/SectionPairFileReaderIT.cpp
  23. 6 4
      test/cases/io/section-pair/reader/SectionPairFileReaderParameterTest.cpp
  24. 18 6
      test/cases/io/section-pair/reader/SectionPairFileReaderTest.cpp
  25. 18 7
      test/cases/io/section-pair/serialization/SerializableSectionPairDocumentTest.cpp
  26. 6 6
      test/cases/io/section-pair/serialization/SerializableSectionPairParameterTest.cpp
  27. 12 5
      test/cases/io/section-pair/serialization/SerializableSectionPairRowListValueTest.cpp
  28. 13 6
      test/cases/io/section-pair/serialization/SerializableSectionPairRowSingleValueTest.cpp
  29. 19 8
      test/cases/io/section-pair/serialization/SerializableSectionPairRowTest.cpp
  30. 17 7
      test/cases/io/section-pair/serialization/SerializableSectionPairSectionTest.cpp
  31. 8 6
      test/cases/io/section-pair/validator/SectionPairDocumentValidatorTest.cpp
  32. 6 5
      test/cases/io/section-pair/validator/SectionPairFileExtensionValidatorTest.cpp
  33. 6 5
      test/cases/io/section-pair/validator/SectionPairIdentifierValidatorTest.cpp
  34. 6 5
      test/cases/io/section-pair/validator/SectionPairRowListValueValidatorTest.cpp
  35. 7 5
      test/cases/io/section-pair/validator/SectionPairRowSingleValueValidatorTest.cpp
  36. 6 5
      test/cases/io/section-pair/validator/SectionPairRowValidatorTest.cpp
  37. 8 6
      test/cases/io/section-pair/validator/SectionPairSectionValidatorTest.cpp
  38. 7 5
      test/cases/io/section-pair/validator/SectionPairValueValidatorTest.cpp
  39. 4 4
      test/cases/io/xml/XmlAttributeTest.cpp
  40. 4 4
      test/cases/io/xml/XmlDeclarationTest.cpp
  41. 8 6
      test/cases/io/xml/XmlDocumentTest.cpp
  42. 9 6
      test/cases/io/xml/XmlNodeTest.cpp
  43. 6 5
      test/cases/io/xml/XmlParseParameterTest.cpp
  44. 17 9
      test/cases/io/xml/XmlParserTest.cpp
  45. 6 4
      test/cases/io/xml/XmlParserTestWrapperTest.cpp
  46. 10 6
      test/cases/io/xml/XmlReaderTest.cpp

+ 9 - 6
test/cases/io/FileOutputStreamTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-20
- * Changed:         2023-02-22
+ * Changed:         2023-02-23
  *
  * */
 
@@ -12,11 +12,14 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ls::std::test;
-using namespace ::testing;
+using ls::std::core::FileNotFoundException;
+using ls::std::core::FileOperationException;
+using ls::std::io::File;
+using ls::std::io::FileOutputStream;
+using ls::std::io::FileReader;
+using ls::std::test::TestHelper;
+using std::string;
+using testing::Test;
 
 namespace
 {

+ 10 - 7
test/cases/io/FileReaderTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-18
- * Changed:         2023-02-22
+ * Changed:         2023-02-23
  *
  * */
 
@@ -12,12 +12,15 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::core::type;
-using namespace ls::std::io;
-using namespace ls::std::test;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::FileNotFoundException;
+using ls::std::core::FileOperationException;
+using ls::std::core::type::byte_field;
+using ls::std::io::File;
+using ls::std::io::FileReader;
+using ls::std::io::NewLine;
+using ls::std::test::TestHelper;
+using std::string;
+using testing::Test;
 
 namespace
 {

+ 8 - 6
test/cases/io/FileTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-15
- * Changed:         2023-02-22
+ * Changed:         2023-02-23
  *
  * */
 
@@ -12,11 +12,13 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ls::std::test;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::FileOperationException;
+using ls::std::io::File;
+using ls::std::io::FilePathSeparator;
+using ls::std::test::TestHelper;
+using std::list;
+using std::string;
+using testing::Test;
 
 namespace
 {

+ 7 - 6
test/cases/io/FileWriterTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-17
- * Changed:         2023-02-22
+ * Changed:         2023-02-23
  *
  * */
 
@@ -12,11 +12,12 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ls::std::test;
-using namespace ::testing;
+using ls::std::core::FileNotFoundException;
+using ls::std::io::File;
+using ls::std::io::FileWriter;
+using ls::std::test::TestHelper;
+using std::string;
+using testing::Test;
 
 namespace
 {

+ 3 - 3
test/cases/io/StandardOutputWriterTest.cpp

@@ -3,15 +3,15 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-09-18
- * Changed:         2023-02-22
+ * Changed:         2023-02-23
  *
  * */
 
 #include <gtest/gtest.h>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::io;
-using namespace ::testing;
+using ls::std::io::StandardOutputWriter;
+using testing::Test;
 
 namespace
 {

+ 8 - 6
test/cases/io/StorableFileTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-19
- * Changed:         2023-02-22
+ * Changed:         2023-02-23
  *
  * */
 
@@ -11,11 +11,13 @@
 #include <gtest/gtest.h>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core::type;
-using namespace ls::std::io;
-using namespace ls::std::test;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::type::byte_field;
+using ls::std::io::File;
+using ls::std::io::NewLine;
+using ls::std::io::StorableFile;
+using ls::std::test::TestHelper;
+using std::string;
+using testing::Test;
 
 namespace
 {

+ 6 - 5
test/cases/io/evaluator/FileExistenceEvaluatorTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-21
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,10 +12,11 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::FileNotFoundException;
+using ls::std::io::FileExistenceEvaluator;
+using std::string;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

+ 5 - 4
test/cases/io/logging/LogLevelTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-05-02
- * Changed:         2023-02-22
+ * Changed:         2023-02-23
  *
  * */
 
@@ -11,9 +11,10 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::io::LogLevel;
+using ls::std::io::LogLevelValue;
+using testing::Test;
 
 namespace
 {

+ 15 - 8
test/cases/io/logging/LoggerTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-20
- * Changed:         2023-02-22
+ * Changed:         2023-02-23
  *
  * */
 
@@ -12,12 +12,19 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::core::interface_type;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ls::std::test;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::core::interface_type::IWriter;
+using ls::std::io::File;
+using ls::std::io::FileOutputStream;
+using ls::std::io::FileReader;
+using ls::std::io::Logger;
+using ls::std::io::LogLevelValue;
+using ls::std::test::TestHelper;
+using std::dynamic_pointer_cast;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using testing::Test;
 
 namespace
 {
@@ -44,7 +51,7 @@ namespace
           file.createNewFile();
         }
 
-        shared_ptr<IWriter> writer = dynamic_pointer_cast<IWriter>(make_shared<FileOutputStream>(file));
+        shared_ptr<IWriter> writer = make_shared<FileOutputStream>(file);
 
         return writer;
       }

+ 7 - 4
test/cases/io/section-pair/SectionPairMessageFormatterTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-22
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,9 +12,12 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::io::SectionPairMessageFormatter;
+using std::array;
+using std::string;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

+ 9 - 5
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-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,10 +12,14 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::io::SectionPairIdentifierArgumentEvaluator;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

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

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-20
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,10 +12,15 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::io::SectionPairMessageFormatter;
+using ls::std::io::SectionPairRowArgumentEvaluator;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

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

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-20
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,10 +12,15 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::io::SectionPairMessageFormatter;
+using ls::std::io::SectionPairRowListValueArgumentEvaluator;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

+ 10 - 5
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-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,10 +12,15 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::io::SectionPairMessageFormatter;
+using ls::std::io::SectionPairRowSingleValueArgumentEvaluator;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

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

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-20
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,10 +12,15 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::io::SectionPairMessageFormatter;
+using ls::std::io::SectionPairSectionArgumentEvaluator;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

+ 9 - 5
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-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,10 +12,14 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::io::SectionPairValueArgumentEvaluator;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

+ 14 - 7
test/cases/io/section-pair/model/SectionPairDocumentTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-15
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -13,12 +13,19 @@
 #include <ls-std/ls-std-io.hpp>
 #include <memory>
 
-using namespace ls::std::core;
-using namespace ls::std::core::type;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace test::io;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::core::IndexOutOfBoundsException;
+using ls::std::core::type::byte_field;
+using ls::std::io::NewLine;
+using ls::std::io::SectionPairDocument;
+using ls::std::io::SectionPairRowListValue;
+using ls::std::io::SectionPairRowSingleValue;
+using ls::std::io::SectionPairSection;
+using std::dynamic_pointer_cast;
+using std::make_shared;
+using std::shared_ptr;
+using test::io::SectionPairDocumentProvider;
+using testing::Test;
 
 namespace
 {

+ 16 - 9
test/cases/io/section-pair/model/SectionPairRowListValueTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-10
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -11,11 +11,16 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::core::type;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::core::IndexOutOfBoundsException;
+using ls::std::io::NewLine;
+using ls::std::io::section_pair_row_value;
+using ls::std::io::SectionPairRowEnumType;
+using ls::std::io::SectionPairRowListValue;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using testing::Test;
 
 namespace
 {
@@ -126,7 +131,7 @@ namespace
   TEST_F(SectionPairRowListValueTest, getType)
   {
     SectionPairRowListValue list{};
-    ASSERT_EQ(SECTION_PAIR_ROW_LIST_VALUE, list.getType());
+    ASSERT_EQ(SectionPairRowEnumType::SECTION_PAIR_ROW_LIST_VALUE, list.getType());
   }
 
   TEST_F(SectionPairRowListValueTest, marshal)
@@ -135,8 +140,9 @@ namespace
     value->add("Drumming");
     value->add("Reading");
     value->add("Coding");
+    string newLine = NewLine::get();
 
-    string expected = "  Drumming" + NewLine::get() + "  Reading" + NewLine::get() + "  Coding" + NewLine::get();
+    string expected = "  Drumming" + newLine + "  Reading" + newLine + "  Coding" + newLine;
 
     ASSERT_STREQ(expected.c_str(), value->marshal().c_str());
   }
@@ -144,7 +150,8 @@ namespace
   TEST_F(SectionPairRowListValueTest, unmarshal)
   {
     shared_ptr<SectionPairRowListValue> value = make_shared<SectionPairRowListValue>();
-    string serializedListValue = "  Drumming" + NewLine::get() + "  Reading" + NewLine::get() + "  Coding" + NewLine::get();
+    string newLine = NewLine::get();
+    string serializedListValue = "  Drumming" + newLine + "  Reading" + newLine + "  Coding" + newLine;
     value->unmarshal(serializedListValue);
 
     ASSERT_EQ(3, value->getSize());

+ 10 - 7
test/cases/io/section-pair/model/SectionPairRowSingleValueTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-10
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -11,11 +11,14 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::core::type;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::core::type::byte_field;
+using ls::std::io::NewLine;
+using ls::std::io::SectionPairRowEnumType;
+using ls::std::io::SectionPairRowSingleValue;
+using std::make_shared;
+using std::shared_ptr;
+using testing::Test;
 
 namespace
 {
@@ -79,7 +82,7 @@ namespace
   TEST_F(SectionPairRowSingleValueTest, getType)
   {
     SectionPairRowSingleValue value{"blue"};
-    ASSERT_EQ(SECTION_PAIR_ROW_SINGLE_VALUE, value.getType());
+    ASSERT_EQ(SectionPairRowEnumType::SECTION_PAIR_ROW_SINGLE_VALUE, value.getType());
   }
 
   TEST_F(SectionPairRowSingleValueTest, marshal)

+ 18 - 8
test/cases/io/section-pair/model/SectionPairRowTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-08
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -11,11 +11,19 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::core::type;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::core::type::byte_field;
+using ls::std::io::NewLine;
+using ls::std::io::SectionPairRow;
+using ls::std::io::SectionPairRowEnumType;
+using ls::std::io::SectionPairRowListValue;
+using ls::std::io::SectionPairRowSingleValue;
+using ls::std::io::SectionPairRowValue;
+using std::dynamic_pointer_cast;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using testing::Test;
 
 namespace
 {
@@ -115,8 +123,9 @@ namespace
     listValue->add("blue");
     listValue->add("red");
     listValue->add("purple");
+    string newLine = NewLine::get();
 
-    string expected = "favourite-colors:" + NewLine::get() + "  blue" + NewLine::get() + "  red" + NewLine::get() + "  purple" + NewLine::get();
+    string expected = "favourite-colors:" + newLine + "  blue" + newLine + "  red" + newLine + "  purple" + newLine;
 
     ASSERT_STREQ(expected.c_str(), row->marshal().c_str());
   }
@@ -180,8 +189,9 @@ namespace
   {
     shared_ptr<SectionPairRow> row = make_shared<SectionPairRow>("tmp-key", SectionPairRowEnumType::SECTION_PAIR_ROW_LIST_VALUE);
     shared_ptr<SectionPairRowListValue> listValue = dynamic_pointer_cast<SectionPairRowListValue>(row->getValue());
+    string newLine = NewLine::get();
 
-    string data = "favourite-colors:" + NewLine::get() + "  blue" + NewLine::get() + "  red" + NewLine::get() + "  purple" + NewLine::get();
+    string data = "favourite-colors:" + newLine + "  blue" + newLine + "  red" + newLine + "  purple" + newLine;
     row->unmarshal(data);
 
     ASSERT_STREQ("favourite-colors", row->getKey().c_str());

+ 16 - 7
test/cases/io/section-pair/model/SectionPairSectionTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-13
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,12 +12,21 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::core::type;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace test::io;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::core::IndexOutOfBoundsException;
+using ls::std::core::type::byte_field;
+using ls::std::io::NewLine;
+using ls::std::io::section_pair_row_list_element;
+using ls::std::io::SectionPairRow;
+using ls::std::io::SectionPairRowEnumType;
+using ls::std::io::SectionPairRowListValue;
+using ls::std::io::SectionPairRowSingleValue;
+using ls::std::io::SectionPairSection;
+using std::dynamic_pointer_cast;
+using std::make_shared;
+using std::shared_ptr;
+using test::io::SectionPairSectionProvider;
+using testing::Test;
 
 namespace
 {

+ 9 - 6
test/cases/io/section-pair/reader/SectionPairFileReaderIT.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-21
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -13,11 +13,14 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ls::std::test;
-using namespace ::testing;
+using ls::std::io::SectionPairDocument;
+using ls::std::io::SectionPairFileReader;
+using ls::std::io::SectionPairFileReaderParameter;
+using ls::std::test::TestHelper;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using testing::Test;
 
 namespace
 {

+ 6 - 4
test/cases/io/section-pair/reader/SectionPairFileReaderParameterTest.cpp

@@ -3,16 +3,18 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-21
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
 #include <gtest/gtest.h>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::io::FileExistenceEvaluator;
+using ls::std::io::SectionPairDocument;
+using ls::std::io::SectionPairFileReaderParameter;
+using std::make_shared;
+using testing::Test;
 
 namespace
 {

+ 18 - 6
test/cases/io/section-pair/reader/SectionPairFileReaderTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-21
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -13,11 +13,23 @@
 #include <ls-std/ls-std-io.hpp>
 #include <memory>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace test::io;
-using namespace ::testing;
+using ls::std::core::FileNotFoundException;
+using ls::std::core::IllegalArgumentException;
+using ls::std::io::NewLine;
+using ls::std::io::SectionPairDocument;
+using ls::std::io::SectionPairFileReader;
+using ls::std::io::SectionPairFileReaderParameter;
+using std::dynamic_pointer_cast;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using test::io::MockFileExistenceEvaluator;
+using test::io::MockFileReader;
+using testing::AtLeast;
+using testing::Return;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

+ 18 - 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-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -13,12 +13,23 @@
 #include <ls-std/ls-std-io.hpp>
 #include <memory>
 
-using namespace ls::std::core;
-using namespace ls::std::core::type;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace test::io;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::core::type::byte_field;
+using ls::std::io::NewLine;
+using ls::std::io::SectionPairDocument;
+using ls::std::io::SectionPairRowListValue;
+using ls::std::io::SectionPairRowSingleValue;
+using ls::std::io::SectionPairSection;
+using ls::std::io::SerializableSectionPairDocument;
+using ls::std::io::SerializableSectionPairParameter;
+using std::dynamic_pointer_cast;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using test::io::SectionPairDocumentProvider;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

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

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-17
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -11,11 +11,11 @@
 #include <ls-std/ls-std-io.hpp>
 #include <memory>
 
-using namespace ls::std::core;
-using namespace ls::std::core::type;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::io::NewLine;
+using ls::std::io::SectionPairRowSingleValue;
+using ls::std::io::SerializableSectionPairParameter;
+using std::make_shared;
+using testing::Test;
 
 namespace
 {

+ 12 - 5
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-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,10 +12,17 @@
 #include <ls-std/ls-std-io.hpp>
 #include <memory>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::io::NewLine;
+using ls::std::io::SectionPairRowListValue;
+using ls::std::io::SerializableSectionPairParameter;
+using ls::std::io::SerializableSectionPairRowListValue;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

+ 13 - 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-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,11 +12,18 @@
 #include <ls-std/ls-std-io.hpp>
 #include <memory>
 
-using namespace ls::std::core;
-using namespace ls::std::core::type;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::core::type::byte_field;
+using ls::std::io::NewLine;
+using ls::std::io::SectionPairRowSingleValue;
+using ls::std::io::SerializableSectionPairParameter;
+using ls::std::io::SerializableSectionPairRowSingleValue;
+using std::dynamic_pointer_cast;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using testing::Test;
+using testing::Values;
 
 namespace
 {

+ 19 - 8
test/cases/io/section-pair/serialization/SerializableSectionPairRowTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-12
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -14,13 +14,24 @@
 #include <ls-std/ls-std-io.hpp>
 #include <memory>
 
-using namespace ls::std::core;
-using namespace ls::std::core::interface_type;
-using namespace ls::std::core::type;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace test::io;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::core::type::byte_field;
+using ls::std::io::NewLine;
+using ls::std::io::SectionPairRow;
+using ls::std::io::SectionPairRowEnumType;
+using ls::std::io::SectionPairRowListValue;
+using ls::std::io::SectionPairRowSingleValue;
+using ls::std::io::SerializableSectionPairParameter;
+using ls::std::io::SerializableSectionPairRow;
+using std::array;
+using std::dynamic_pointer_cast;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using test::io::SerializableSectionPairRowProvider;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

+ 17 - 7
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-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -13,12 +13,22 @@
 #include <ls-std/ls-std-io.hpp>
 #include <memory>
 
-using namespace ls::std::core;
-using namespace ls::std::core::type;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace test::io;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::core::type::byte_field;
+using ls::std::io::NewLine;
+using ls::std::io::SectionPairRowListValue;
+using ls::std::io::SectionPairRowSingleValue;
+using ls::std::io::SectionPairSection;
+using ls::std::io::SerializableSectionPairParameter;
+using ls::std::io::SerializableSectionPairSection;
+using std::dynamic_pointer_cast;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using test::io::SectionPairSectionProvider;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

+ 8 - 6
test/cases/io/section-pair/validator/SectionPairDocumentValidatorTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-21
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -13,11 +13,13 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace test::io;
-using namespace ::testing;
+using ls::std::io::NewLine;
+using ls::std::io::SectionPairDocumentValidator;
+using std::string;
+using test::io::SectionPairDocumentProvider;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

+ 6 - 5
test/cases/io/section-pair/validator/SectionPairFileExtensionValidatorTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-21
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -11,10 +11,11 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::io::SectionPairFileExtensionValidator;
+using std::string;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

+ 6 - 5
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-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,10 +12,11 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::io::SectionPairIdentifierValidator;
+using std::string;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

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

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-19
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,10 +12,11 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::io::SectionPairRowListValueValidator;
+using std::string;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

+ 7 - 5
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-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,10 +12,12 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::io::NewLine;
+using ls::std::io::SectionPairRowSingleValueValidator;
+using std::string;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

+ 6 - 5
test/cases/io/section-pair/validator/SectionPairRowValidatorTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-20
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,10 +12,11 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::io::SectionPairRowValidator;
+using std::string;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

+ 8 - 6
test/cases/io/section-pair/validator/SectionPairSectionValidatorTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-20
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -13,11 +13,13 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace test::io;
-using namespace ::testing;
+using ls::std::io::NewLine;
+using ls::std::io::SectionPairSectionValidator;
+using std::string;
+using test::io::SectionPairSectionProvider;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

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

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-09
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -12,10 +12,12 @@
 #include <ls-std/ls-std-io.hpp>
 #include <string>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::io::NewLine;
+using ls::std::io::SectionPairValueValidator;
+using std::string;
+using testing::Test;
+using testing::TestWithParam;
+using testing::Values;
 
 namespace
 {

+ 4 - 4
test/cases/io/xml/XmlAttributeTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-23
- * Changed:         2023-02-22
+ * Changed:         2023-02-23
  *
  * */
 
@@ -11,9 +11,9 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::io::XmlAttribute;
+using testing::Test;
 
 namespace
 {

+ 4 - 4
test/cases/io/xml/XmlDeclarationTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-29
- * Changed:         2023-02-22
+ * Changed:         2023-02-23
  *
  * */
 
@@ -11,9 +11,9 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::io::XmlDeclaration;
+using testing::Test;
 
 namespace
 {

+ 8 - 6
test/cases/io/xml/XmlDocumentTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-30
- * Changed:         2023-02-22
+ * Changed:         2023-02-23
  *
  * */
 
@@ -12,11 +12,13 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace test::io;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::io::XmlDeclaration;
+using ls::std::io::XmlDocument;
+using std::make_shared;
+using std::string;
+using test::io::TestDataFactory;
+using testing::Test;
 
 namespace
 {

+ 9 - 6
test/cases/io/xml/XmlNodeTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-25
- * Changed:         2023-02-22
+ * Changed:         2023-02-23
  *
  * */
 
@@ -12,11 +12,14 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace test::io;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::io::XmlAttribute;
+using ls::std::io::XmlNode;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using test::io::TestDataFactory;
+using testing::Test;
 
 namespace
 {

+ 6 - 5
test/cases/io/xml/XmlParseParameterTest.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-05
-* Changed:         2023-02-22
+* Changed:         2023-02-23
 *
 * */
 
@@ -11,10 +11,11 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::io::XmlNode;
+using ls::std::io::XmlParseParameter;
+using std::make_shared;
+using testing::Test;
 
 namespace
 {

+ 17 - 9
test/cases/io/xml/XmlParserTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-26
- * Changed:         2023-02-22
+ * Changed:         2023-02-23
  *
  * */
 
@@ -12,12 +12,20 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::core::type;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ls::std::test;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::core::type::byte_field;
+using ls::std::io::File;
+using ls::std::io::FileReader;
+using ls::std::io::XmlAttribute;
+using ls::std::io::XmlDocument;
+using ls::std::io::XmlNode;
+using ls::std::io::XmlParser;
+using ls::std::test::TestHelper;
+using std::list;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using testing::Test;
 
 namespace
 {
@@ -35,7 +43,7 @@ namespace
 
         if (_index < _attributes.size())
         {
-          for (const auto &_value: _attributes)
+          for (const auto &_value : _attributes)
           {
             if (counter == _index)
             {
@@ -57,7 +65,7 @@ namespace
 
         if (_index < _children.size())
         {
-          for (const auto &_value: _children)
+          for (const auto &_value : _children)
           {
             if (counter == _index)
             {

+ 6 - 4
test/cases/io/xml/XmlParserTestWrapperTest.cpp

@@ -3,16 +3,18 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-10-18
- * Changed:         2023-02-22
+ * Changed:         2023-02-23
  *
  * */
 
 #include <gtest/gtest.h>
 #include <ls-std-io-test.hpp>
 
-using namespace test::io;
-using namespace ::std;
-using namespace ::testing;
+using std::list;
+using std::pair;
+using std::string;
+using test::io::XmlParserTestWrapper;
+using testing::Test;
 
 namespace
 {

+ 10 - 6
test/cases/io/xml/XmlReaderTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-10-10
- * Changed:         2023-02-22
+ * Changed:         2023-02-23
  *
  * */
 
@@ -12,11 +12,15 @@
 #include <ls-std/ls-std-core.hpp>
 #include <ls-std/ls-std-io.hpp>
 
-using namespace ls::std::core;
-using namespace ls::std::io;
-using namespace ::std;
-using namespace ls::std::test;
-using namespace ::testing;
+using ls::std::core::IllegalArgumentException;
+using ls::std::io::File;
+using ls::std::io::XmlDocument;
+using ls::std::io::XmlReader;
+using ls::std::test::TestHelper;
+using std::make_shared;
+using std::shared_ptr;
+using std::string;
+using testing::Test;
 
 namespace
 {