Преглед изворни кода

Fix std namespace usage on whole library scope

Patrick-Christopher Mattulat пре 2 година
родитељ
комит
22c7ac1c28
70 измењених фајлова са 559 додато и 559 уклоњено
  1. 3 3
      source/ls_std/boxing/Boolean.cpp
  2. 2 2
      source/ls_std/boxing/Double.cpp
  3. 2 2
      source/ls_std/boxing/Float.cpp
  4. 14 14
      source/ls_std/boxing/String.cpp
  5. 2 2
      source/ls_std/core/Class.cpp
  6. 8 8
      source/ls_std/encoding/Base64.cpp
  7. 2 2
      source/ls_std/event/Narrator.cpp
  8. 2 2
      source/ls_std/event/serialization/SerializableJsonEvent.cpp
  9. 18 18
      source/ls_std/io/File.cpp
  10. 2 2
      source/ls_std/io/StorableFile.cpp
  11. 2 2
      source/ls_std/io/kv/KvDocument.cpp
  12. 2 2
      source/ls_std/io/kv/KvFileReader.cpp
  13. 2 2
      source/ls_std/io/kv/KvParser.cpp
  14. 2 2
      source/ls_std/io/logging/LogLevel.cpp
  15. 2 2
      source/ls_std/io/logging/Logger.cpp
  16. 4 4
      source/ls_std/io/xml/XmlAttribute.cpp
  17. 6 6
      source/ls_std/io/xml/XmlDeclaration.cpp
  18. 4 4
      source/ls_std/io/xml/XmlDocument.cpp
  19. 2 2
      source/ls_std/logic/State.cpp
  20. 6 6
      source/ls_std/logic/StateMachine.cpp
  21. 2 2
      source/ls_std/logic/serialization/SerializableJsonState.cpp
  22. 2 2
      source/ls_std/logic/serialization/SerializableJsonStateConnection.cpp
  23. 2 2
      source/ls_std/logic/serialization/SerializableJsonStateMachine.cpp
  24. 2 2
      source/ls_std/time/Date.cpp
  25. 2 2
      test/cases/boxing/BooleanTest.cpp
  26. 2 2
      test/cases/boxing/DoubleTest.cpp
  27. 2 2
      test/cases/boxing/FloatTest.cpp
  28. 2 2
      test/cases/boxing/StringTest.cpp
  29. 2 2
      test/cases/core/ClassTest.cpp
  30. 2 2
      test/cases/core/utils/RegexUtilsTest.cpp
  31. 9 9
      test/cases/core/utils/STLUtilsTest.cpp
  32. 16 16
      test/cases/event/EventManagerTest.cpp
  33. 21 21
      test/cases/event/NarratorTest.cpp
  34. 6 6
      test/cases/event/serialization/SerializableJsonEventTest.cpp
  35. 4 4
      test/cases/io/FileOutputStreamTest.cpp
  36. 5 5
      test/cases/io/FileReaderTest.cpp
  37. 13 13
      test/cases/io/FileTest.cpp
  38. 4 4
      test/cases/io/FileWriterTest.cpp
  39. 8 8
      test/cases/io/StorableFileTest.cpp
  40. 13 13
      test/cases/io/kv/KvFileReaderTest.cpp
  41. 6 6
      test/cases/io/kv/KvParserTest.cpp
  42. 23 23
      test/cases/io/logging/LoggerTest.cpp
  43. 5 5
      test/cases/io/xml/XmlDocumentTest.cpp
  44. 170 170
      test/cases/io/xml/XmlNodeTest.cpp
  45. 13 13
      test/cases/io/xml/XmlParserTest.cpp
  46. 7 7
      test/cases/io/xml/XmlParserTestWrapperTest.cpp
  47. 14 14
      test/cases/io/xml/XmlReaderTest.cpp
  48. 7 7
      test/cases/logic/StateMachineTest.cpp
  49. 10 10
      test/cases/logic/StateTest.cpp
  50. 7 7
      test/cases/logic/serialization/SerializableJsonStateConnectionTest.cpp
  51. 9 9
      test/cases/logic/serialization/SerializableJsonStateMachineTest.cpp
  52. 14 14
      test/cases/logic/serialization/SerializableJsonStateTest.cpp
  53. 5 5
      test/cases/time/DateTest.cpp
  54. 2 2
      test/classes/event/DailyNewsAgency.cpp
  55. 3 3
      test/classes/event/DailyNewsAgency.hpp
  56. 2 2
      test/classes/event/GossipNewsAgency.cpp
  57. 3 3
      test/classes/event/GossipNewsAgency.hpp
  58. 3 3
      test/classes/event/GossipNewsEvent.cpp
  59. 2 2
      test/classes/event/GossipNewsEvent.hpp
  60. 3 3
      test/classes/event/NewsAgency.cpp
  61. 4 4
      test/classes/event/NewsAgency.hpp
  62. 3 3
      test/classes/event/SeriousNewsEvent.cpp
  63. 2 2
      test/classes/event/SeriousNewsEvent.hpp
  64. 4 4
      test/classes/event/TestDataCar.cpp
  65. 4 4
      test/classes/event/TestDataCar.hpp
  66. 13 13
      test/classes/io/xml/TestDataFactory.cpp
  67. 2 2
      test/classes/io/xml/TestDataFactory.hpp
  68. 4 4
      test/classes/io/xml/XmlParserTestWrapper.cpp
  69. 3 3
      test/classes/io/xml/XmlParserTestWrapper.hpp
  70. 6 6
      test/classes/logic/TestDataFactory.cpp

+ 3 - 3
source/ls_std/boxing/Boolean.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-09
- * Changed:         2022-05-09
+ * Changed:         2022-05-20
  *
  * */
 
@@ -88,7 +88,7 @@ void ls::std::boxing::Boolean::parse(::std::string _parseText)
   }
 }
 
-std::string ls::std::boxing::Boolean::toString()
+::std::string ls::std::boxing::Boolean::toString()
 {
   return this->_toString();
 }
@@ -118,7 +118,7 @@ bool ls::std::boxing::Boolean::XOR(bool _leftExpression, bool _rightExpression)
   return (_leftExpression && !_rightExpression) || (!_leftExpression && _rightExpression);
 }
 
-std::string ls::std::boxing::Boolean::_toString() const
+::std::string ls::std::boxing::Boolean::_toString() const
 {
   ::std::string booleanString{};
 

+ 2 - 2
source/ls_std/boxing/Double.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-14
- * Changed:         2022-05-09
+ * Changed:         2022-05-20
  *
  * */
 
@@ -202,7 +202,7 @@ void ls::std::boxing::Double::parse(::std::string _parseText)
   this->value = ::std::stod(_parseText);
 }
 
-std::string ls::std::boxing::Double::toString()
+::std::string ls::std::boxing::Double::toString()
 {
   return ::std::to_string(this->value);
 }

+ 2 - 2
source/ls_std/boxing/Float.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-14
- * Changed:         2022-05-09
+ * Changed:         2022-05-20
  *
  * */
 
@@ -201,7 +201,7 @@ void ls::std::boxing::Float::parse(::std::string _parseText)
   this->value = ::std::stof(_parseText);
 }
 
-std::string ls::std::boxing::Float::toString()
+::std::string ls::std::boxing::Float::toString()
 {
   return ::std::to_string(this->value);
 }

+ 14 - 14
source/ls_std/boxing/String.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-14
- * Changed:         2022-05-12
+ * Changed:         2022-05-20
  *
  * */
 
@@ -35,22 +35,22 @@ ls::std::boxing::String &ls::std::boxing::String::operator=(::std::string _value
   return *this;
 }
 
-std::string ls::std::boxing::String::operator+(ls::std::boxing::String _string) const
+::std::string ls::std::boxing::String::operator+(ls::std::boxing::String _string) const
 {
   return this->value + _string.toString();
 }
 
-std::string ls::std::boxing::String::operator+(const ::std::string &_string) const
+::std::string ls::std::boxing::String::operator+(const ::std::string &_string) const
 {
   return this->value + _string;
 }
 
-std::string ls::std::boxing::String::operator+(const char *_string) const
+::std::string ls::std::boxing::String::operator+(const char *_string) const
 {
   return this->value + _string;
 }
 
-std::string ls::std::boxing::String::operator-(int _number)
+::std::string ls::std::boxing::String::operator-(int _number)
 {
   ::std::string copy = this->value;
   return copy.substr(0, copy.size() - _number);
@@ -103,7 +103,7 @@ void ls::std::boxing::String::parse(::std::string _parseText)
   this->value = ::std::move(_parseText);
 }
 
-std::string ls::std::boxing::String::toString()
+::std::string ls::std::boxing::String::toString()
 {
   return this->value;
 }
@@ -128,7 +128,7 @@ bool ls::std::boxing::String::equalsIgnoreCase(::std::string _text)
   return this->toLowerCase() == ls::std::boxing::String{::std::move(_text)}.toLowerCase();
 }
 
-std::vector<ls::std::core::type::byte> ls::std::boxing::String::getByteData()
+::std::vector<ls::std::core::type::byte> ls::std::boxing::String::getByteData()
 {
   ::std::vector<ls::std::core::type::byte> byteData(this->value.begin(), this->value.end());
   byteData.push_back('\0');
@@ -136,17 +136,17 @@ std::vector<ls::std::core::type::byte> ls::std::boxing::String::getByteData()
   return byteData;
 }
 
-std::string ls::std::boxing::String::padLeft(size_t _width, const char _fillCharacter)
+::std::string ls::std::boxing::String::padLeft(size_t _width, const char _fillCharacter)
 {
   return ls::std::boxing::String::_createFillContent(this->value, _width, _fillCharacter) + this->value;
 }
 
-std::string ls::std::boxing::String::padRight(size_t _width, const char _fillCharacter)
+::std::string ls::std::boxing::String::padRight(size_t _width, const char _fillCharacter)
 {
   return this->value + ls::std::boxing::String::_createFillContent(this->value, _width, _fillCharacter);
 }
 
-std::string ls::std::boxing::String::reverse()
+::std::string ls::std::boxing::String::reverse()
 {
   ::std::string copy = this->value;
   ::std::reverse(copy.begin(), copy.end());
@@ -159,7 +159,7 @@ bool ls::std::boxing::String::startsWith(const ::std::string &_text)
   return this->value.rfind(_text, 0) == 0;
 }
 
-std::string ls::std::boxing::String::toLowerCase()
+::std::string ls::std::boxing::String::toLowerCase()
 {
   ::std::string copy = this->value;
   ::std::transform(copy.begin(), copy.end(), copy.begin(), ::tolower);
@@ -167,7 +167,7 @@ std::string ls::std::boxing::String::toLowerCase()
   return copy;
 }
 
-std::string ls::std::boxing::String::toUpperCase()
+::std::string ls::std::boxing::String::toUpperCase()
 {
   ::std::string copy = this->value;
   ::std::transform(copy.begin(), copy.end(), copy.begin(), ::toupper);
@@ -175,7 +175,7 @@ std::string ls::std::boxing::String::toUpperCase()
   return copy;
 }
 
-std::string ls::std::boxing::String::_buildCharacterChain(size_t _amount, const char _fillCharacter)
+::std::string ls::std::boxing::String::_buildCharacterChain(size_t _amount, const char _fillCharacter)
 {
   ::std::string fillContent{};
 
@@ -187,7 +187,7 @@ std::string ls::std::boxing::String::_buildCharacterChain(size_t _amount, const
   return fillContent;
 }
 
-std::string ls::std::boxing::String::_createFillContent(const ::std::string &_text, size_t _width, const char _fillCharacter)
+::std::string ls::std::boxing::String::_createFillContent(const ::std::string &_text, size_t _width, const char _fillCharacter)
 {
   size_t fillSize = _text.size() > _width ? 0 : _width - _text.size();
   ::std::string fillContent{};

+ 2 - 2
source/ls_std/core/Class.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-07
- * Changed:         2022-05-09
+ * Changed:         2022-05-20
  *
  * */
 
@@ -15,7 +15,7 @@ ls::std::core::Class::Class(const ::std::string &_name)
   this->_assignClassName(_name);
 }
 
-std::string ls::std::core::Class::getClassName()
+::std::string ls::std::core::Class::getClassName()
 {
   return this->name;
 }

+ 8 - 8
source/ls_std/encoding/Base64.cpp

@@ -10,7 +10,7 @@
 #include <ls_std/encoding/Base64.hpp>
 #include <bitset>
 
-std::string ls::std::encoding::Base64::encode(const ::std::string &_sequence)
+::std::string ls::std::encoding::Base64::encode(const ::std::string &_sequence)
 {
   ::std::string encodedString{};
 
@@ -23,7 +23,7 @@ std::string ls::std::encoding::Base64::encode(const ::std::string &_sequence)
   return ls::std::encoding::Base64::_applyEndingRule(encodedString, _sequence.size());
 }
 
-std::string ls::std::encoding::Base64::decode(const ::std::string &_sequence)
+::std::string ls::std::encoding::Base64::decode(const ::std::string &_sequence)
 {
   ::std::string decodedString{};
 
@@ -54,7 +54,7 @@ std::string ls::std::encoding::Base64::decode(const ::std::string &_sequence)
   return _encodedString;
 }
 
-std::string ls::std::encoding::Base64::_decodeByteQuadruple(const ::std::string& _quadruple)
+::std::string ls::std::encoding::Base64::_decodeByteQuadruple(const ::std::string& _quadruple)
 {
   ::std::string decodedText{};
   uint8_t shiftValue = 16;
@@ -73,7 +73,7 @@ std::string ls::std::encoding::Base64::_decodeByteQuadruple(const ::std::string&
   return decodedText;
 }
 
-std::string ls::std::encoding::Base64::_encodeByteTriple(const ::std::string& _byteTriple)
+::std::string ls::std::encoding::Base64::_encodeByteTriple(const ::std::string& _byteTriple)
 {
   ::std::string encodedText{};
   uint32_t bitStorage = ls::std::encoding::Base64::_toEncodingBitStorage(_byteTriple);
@@ -112,7 +112,7 @@ uint32_t ls::std::encoding::Base64::_generateBitMask(uint32_t _maskValue, uint8_
   return _maskValue << _shiftValue;
 }
 
-std::unordered_map<char, uint8_t> ls::std::encoding::Base64::_getDecodingMap()
+::std::unordered_map<char, uint8_t> ls::std::encoding::Base64::_getDecodingMap()
 {
   static ::std::unordered_map<char, uint8_t> decodingMap =
   {
@@ -129,7 +129,7 @@ std::unordered_map<char, uint8_t> ls::std::encoding::Base64::_getDecodingMap()
   return decodingMap;
 }
 
-std::unordered_map<uint8_t, char> ls::std::encoding::Base64::_getEncodingMap()
+::std::unordered_map<uint8_t, char> ls::std::encoding::Base64::_getEncodingMap()
 {
   static ::std::unordered_map<uint8_t, char> encodingMap =
   {
@@ -146,12 +146,12 @@ std::unordered_map<uint8_t, char> ls::std::encoding::Base64::_getEncodingMap()
   return encodingMap;
 }
 
-std::string ls::std::encoding::Base64::_getNextByteQuadruple(const ::std::string &_sequence, size_t _index)
+::std::string ls::std::encoding::Base64::_getNextByteQuadruple(const ::std::string &_sequence, size_t _index)
 {
   return _sequence.substr(_index, 4);
 }
 
-std::string ls::std::encoding::Base64::_getNextByteTriple(const ::std::string &_sequence, size_t _index)
+::std::string ls::std::encoding::Base64::_getNextByteTriple(const ::std::string &_sequence, size_t _index)
 {
   return _sequence.substr(_index, 3);
 }

+ 2 - 2
source/ls_std/event/Narrator.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-14
- * Changed:         2022-05-19
+ * Changed:         2022-05-20
  *
  * */
 
@@ -39,7 +39,7 @@ void ls::std::event::Narrator::clear()
   this->listeners.clear();
 }
 
-std::list<std::shared_ptr<ls::std::core::interface_type::IListener>> ls::std::event::Narrator::getListeners()
+::std::list<::std::shared_ptr<ls::std::core::interface_type::IListener>> ls::std::event::Narrator::getListeners()
 {
   return this->listeners;
 }

+ 2 - 2
source/ls_std/event/serialization/SerializableJsonEvent.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-12-07
- * Changed:         2022-05-12
+ * Changed:         2022-05-20
  *
  * */
 
@@ -29,7 +29,7 @@ void ls::std::event::SerializableJsonEvent::unmarshal(const ls::std::core::type:
   this->_unmarshalParameterList();
 }
 
-std::shared_ptr<ls::std::event::Event> ls::std::event::SerializableJsonEvent::getValue()
+::std::shared_ptr<ls::std::event::Event> ls::std::event::SerializableJsonEvent::getValue()
 {
   return this->value;
 }

+ 18 - 18
source/ls_std/io/File.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-15
- * Changed:         2022-05-13
+ * Changed:         2022-05-20
  *
  * */
 
@@ -87,12 +87,12 @@ bool ls::std::io::File::exists()
   return ls::std::io::File::_exists(this->absoluteFilePath);
 }
 
-std::string ls::std::io::File::getAbsoluteFilePath()
+::std::string ls::std::io::File::getAbsoluteFilePath()
 {
   return this->absoluteFilePath;
 }
 
-std::string ls::std::io::File::getName()
+::std::string ls::std::io::File::getName()
 {
   ::std::string copy = this->absoluteFilePath;
 
@@ -109,12 +109,12 @@ std::string ls::std::io::File::getName()
   return ::std::string{base, copy.end()};
 }
 
-std::string ls::std::io::File::getParent()
+::std::string ls::std::io::File::getParent()
 {
   return ls::std::io::File::_getParent(this->absoluteFilePath);
 }
 
-std::string ls::std::io::File::getWorkingDirectory()
+::std::string ls::std::io::File::getWorkingDirectory()
 {
   ::std::string workingDirectory{};
 
@@ -159,7 +159,7 @@ time_t ls::std::io::File::lastModified()
   return ls::std::io::File::_lastModified(this->absoluteFilePath);
 }
 
-std::list<std::string> ls::std::io::File::list()
+::std::list<::std::string> ls::std::io::File::list()
 {
   ::std::list<::std::string> fileList{};
 
@@ -171,7 +171,7 @@ std::list<std::string> ls::std::io::File::list()
   return fileList;
 }
 
-std::list<std::string> ls::std::io::File::listFiles()
+::std::list<::std::string> ls::std::io::File::listFiles()
 {
   ::std::list<::std::string> fileList{};
 
@@ -304,7 +304,7 @@ bool ls::std::io::File::_exists(const ::std::string &_path)
   return (stat(_path.c_str(), &_stat) == 0);
 }
 
-std::string ls::std::io::File::_getParent(const ::std::string &_path)
+::std::string ls::std::io::File::_getParent(const ::std::string &_path)
 {
   ::std::string parent{};
   ::std::vector<::std::string> subDirectoryNames = ls::std::io::File::_splitIntoSubDirectoryNames(_path);
@@ -321,7 +321,7 @@ std::string ls::std::io::File::_getParent(const ::std::string &_path)
 
 #if defined(unix) || defined(__APPLE__)
 
-std::string ls::std::io::File::_getWorkingDirectoryUnix()
+::std::string ls::std::io::File::_getWorkingDirectoryUnix()
 {
   ::std::string workingDirectory{};
   char buffer[PATH_MAX];
@@ -342,7 +342,7 @@ std::string ls::std::io::File::_getWorkingDirectoryUnix()
 
 #ifdef _WIN32
 
-std::string ls::std::io::File::_getWorkingDirectoryWindows()
+::std::string ls::std::io::File::_getWorkingDirectoryWindows()
 {
   ::std::string workingDirectory{};
   TCHAR buffer[MAX_PATH];
@@ -481,7 +481,7 @@ time_t ls::std::io::File::_lastModified(const ::std::string &_path)
   return lastModifiedTimeStamp;
 }
 
-std::list<std::string> ls::std::io::File::_list(const ::std::string &_path)
+::std::list<::std::string> ls::std::io::File::_list(const ::std::string &_path)
 {
   ::std::list<::std::string> filesInDirectory{};
 
@@ -495,7 +495,7 @@ std::list<std::string> ls::std::io::File::_list(const ::std::string &_path)
   return filesInDirectory;
 }
 
-std::list<std::string> ls::std::io::File::_listFiles(const ::std::string &_path)
+::std::list<::std::string> ls::std::io::File::_listFiles(const ::std::string &_path)
 {
   ::std::list<::std::string> filesInDirectory{};
 
@@ -511,7 +511,7 @@ std::list<std::string> ls::std::io::File::_listFiles(const ::std::string &_path)
 
 #if defined(unix) || defined(__APPLE__)
 
-std::list<std::string> ls::std::io::File::_listUnix(const ::std::string &_path, bool withDirectories)
+::std::list<::std::string> ls::std::io::File::_listUnix(const ::std::string &_path, bool withDirectories)
 {
   ::std::list<::std::string> filesInDirectory{};
   DIR *directory = opendir(_path.c_str());
@@ -531,7 +531,7 @@ std::list<std::string> ls::std::io::File::_listUnix(const ::std::string &_path,
 
 #ifdef _WIN32
 
-std::list<std::string> ls::std::io::File::_listWindows(const ::std::string &_path, bool withDirectories)
+::std::list<::std::string> ls::std::io::File::_listWindows(const ::std::string &_path, bool withDirectories)
 {
   ::std::list<::std::string> filesInDirectory{};
   WIN32_FIND_DATA data{};
@@ -568,7 +568,7 @@ int ls::std::io::File::_mkdir(const ::std::string &_path)
   return result;
 }
 
-std::string ls::std::io::File::_normalizePath(::std::string _path)
+::std::string ls::std::io::File::_normalizePath(::std::string _path)
 {
   _path = ls::std::io::File::_replaceWrongSeparator(_path);
   _path = ls::std::io::File::_reduceSeparators(_path);
@@ -576,7 +576,7 @@ std::string ls::std::io::File::_normalizePath(::std::string _path)
   return _path;
 }
 
-std::string ls::std::io::File::_reduceSeparators(const ::std::string &_path)
+::std::string ls::std::io::File::_reduceSeparators(const ::std::string &_path)
 {
   static const char separator = {ls::std::io::FilePathSeparator::get()};
   ::std::string normalizedPath{};
@@ -636,7 +636,7 @@ bool ls::std::io::File::_renameTo(const ::std::string &_oldName, const ::std::st
   return ::std::rename(_oldName.c_str(), _newName.c_str()) == 0;
 }
 
-std::string ls::std::io::File::_replaceWrongSeparator(::std::string _path)
+::std::string ls::std::io::File::_replaceWrongSeparator(::std::string _path)
 {
   static const char unixSeparator = ls::std::io::FilePathSeparator::getUnixFilePathSeparator();
   static const char windowsSeparator = ls::std::io::FilePathSeparator::getWindowsFilePathSeparator();
@@ -652,7 +652,7 @@ std::string ls::std::io::File::_replaceWrongSeparator(::std::string _path)
   return _path;
 }
 
-std::vector<std::string> ls::std::io::File::_splitIntoSubDirectoryNames(const ::std::string &_path)
+::std::vector<::std::string> ls::std::io::File::_splitIntoSubDirectoryNames(const ::std::string &_path)
 {
   ::std::vector<::std::string> subDirectoryNames{};
   ::std::stringstream _stream{_path};

+ 2 - 2
source/ls_std/io/StorableFile.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-19
- * Changed:         2022-05-12
+ * Changed:         2022-05-20
  *
  * */
 
@@ -16,7 +16,7 @@ ls::std::io::StorableFile::StorableFile(const ::std::string &_path)
   this->_init(_path);
 }
 
-std::shared_ptr<ls::std::io::File> ls::std::io::StorableFile::getFile()
+::std::shared_ptr<ls::std::io::File> ls::std::io::StorableFile::getFile()
 {
   return this->file;
 }

+ 2 - 2
source/ls_std/io/kv/KvDocument.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-12-25
- * Changed:         2022-05-12
+ * Changed:         2022-05-20
  *
  * */
 
@@ -30,7 +30,7 @@ void ls::std::io::KvDocument::clear()
   this->pairs.clear();
 }
 
-std::map<ls::std::core::type::kv_key, ls::std::io::KvPair> ls::std::io::KvDocument::getPairs()
+::std::map<ls::std::core::type::kv_key, ls::std::io::KvPair> ls::std::io::KvDocument::getPairs()
 {
   return this->pairs;
 }

+ 2 - 2
source/ls_std/io/kv/KvFileReader.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-12-25
- * Changed:         2022-05-12
+ * Changed:         2022-05-20
  *
  * */
 
@@ -28,7 +28,7 @@ ls::std::core::type::byte_field ls::std::io::KvFileReader::read()
   return data;
 }
 
-std::shared_ptr<ls::std::io::KvDocument> ls::std::io::KvFileReader::getDocument()
+::std::shared_ptr<ls::std::io::KvDocument> ls::std::io::KvFileReader::getDocument()
 {
   return this->document;
 }

+ 2 - 2
source/ls_std/io/kv/KvParser.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-12-25
- * Changed:         2022-05-13
+ * Changed:         2022-05-20
  *
  * */
 
@@ -16,7 +16,7 @@ ls::std::io::KvParser::KvParser(const ::std::shared_ptr<ls::std::io::KvDocument>
   this->_assignDocument(_document);
 }
 
-std::shared_ptr<ls::std::io::KvDocument> ls::std::io::KvParser::getDocument()
+::std::shared_ptr<ls::std::io::KvDocument> ls::std::io::KvParser::getDocument()
 {
   return this->document;
 }

+ 2 - 2
source/ls_std/io/logging/LogLevel.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-20
- * Changed:         2022-05-11
+ * Changed:         2022-05-20
  *
  * */
 
@@ -75,7 +75,7 @@ void ls::std::io::LogLevel::setLogLevel(const ::std::string &_value)
   }
 }
 
-std::string ls::std::io::LogLevel::toString() const
+::std::string ls::std::io::LogLevel::toString() const
 {
   return this->level.at(this->value);
 }

+ 2 - 2
source/ls_std/io/logging/Logger.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-20
- * Changed:         2022-05-19
+ * Changed:         2022-05-20
  *
  * */
 
@@ -100,7 +100,7 @@ void ls::std::io::Logger::_assignWriter(const ::std::shared_ptr<ls::std::core::i
   return fillContent;
 }
 
-std::string ls::std::io::Logger::_createFillContent(const ::std::string &_text)
+::std::string ls::std::io::Logger::_createFillContent(const ::std::string &_text)
 {
   size_t padSize = 10;
   size_t fillSize = _text.size() > padSize ? 0 : padSize - _text.size();

+ 4 - 4
source/ls_std/io/xml/XmlAttribute.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-23
- * Changed:         2022-05-11
+ * Changed:         2022-05-20
  *
  * */
 
@@ -15,12 +15,12 @@ ls::std::io::XmlAttribute::XmlAttribute(const ::std::string& _name) : ls::std::c
   this->_assignName(_name);
 }
 
-std::string ls::std::io::XmlAttribute::getName()
+::std::string ls::std::io::XmlAttribute::getName()
 {
   return this->name;
 }
 
-std::string ls::std::io::XmlAttribute::getValue()
+::std::string ls::std::io::XmlAttribute::getValue()
 {
   return this->value;
 }
@@ -35,7 +35,7 @@ void ls::std::io::XmlAttribute::setValue(const ::std::string& _value)
   this->_assignValue(_value);
 }
 
-std::string ls::std::io::XmlAttribute::toXml()
+::std::string ls::std::io::XmlAttribute::toXml()
 {
   return this->name + "=\"" + this->value + "\"";
 }

+ 6 - 6
source/ls_std/io/xml/XmlDeclaration.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-29
- * Changed:         2022-05-11
+ * Changed:         2022-05-20
  *
  * */
 
@@ -14,17 +14,17 @@ ls::std::io::XmlDeclaration::XmlDeclaration(const ::std::string& _version) : ls:
   this->version.setValue(_version);
 }
 
-std::string ls::std::io::XmlDeclaration::getEncoding()
+::std::string ls::std::io::XmlDeclaration::getEncoding()
 {
   return this->encoding.getValue();
 }
 
-std::string ls::std::io::XmlDeclaration::getStandalone()
+::std::string ls::std::io::XmlDeclaration::getStandalone()
 {
   return this->standalone.getValue();
 }
 
-std::string ls::std::io::XmlDeclaration::getVersion()
+::std::string ls::std::io::XmlDeclaration::getVersion()
 {
   return this->version.getValue();
 }
@@ -44,7 +44,7 @@ void ls::std::io::XmlDeclaration::setVersion(const ::std::string& _version)
   this->version.setValue(_version);
 }
 
-std::string ls::std::io::XmlDeclaration::toXml()
+::std::string ls::std::io::XmlDeclaration::toXml()
 {
   ::std::string declaration = "<?xml";
 
@@ -55,7 +55,7 @@ std::string ls::std::io::XmlDeclaration::toXml()
   return declaration + " ?>";
 }
 
-std::string ls::std::io::XmlDeclaration::_toXmlAttribute(ls::std::io::XmlAttribute _attribute)
+::std::string ls::std::io::XmlDeclaration::_toXmlAttribute(ls::std::io::XmlAttribute _attribute)
 {
   ::std::string xmlString{};
 

+ 4 - 4
source/ls_std/io/xml/XmlDocument.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-30
- * Changed:         2022-05-09
+ * Changed:         2022-05-20
  *
  * */
 
@@ -13,12 +13,12 @@
 ls::std::io::XmlDocument::XmlDocument() : ls::std::core::Class("XmlDocument")
 {}
 
-std::shared_ptr<ls::std::io::XmlDeclaration> ls::std::io::XmlDocument::getDeclaration()
+::std::shared_ptr<ls::std::io::XmlDeclaration> ls::std::io::XmlDocument::getDeclaration()
 {
   return this->declaration;
 }
 
-std::shared_ptr<ls::std::io::XmlNode> ls::std::io::XmlDocument::getRootElement()
+::std::shared_ptr<ls::std::io::XmlNode> ls::std::io::XmlDocument::getRootElement()
 {
   return this->rootElement;
 }
@@ -33,7 +33,7 @@ void ls::std::io::XmlDocument::setRootElement(const ::std::shared_ptr<ls::std::i
   this->_assignRootElement(_rootElement);
 }
 
-std::string ls::std::io::XmlDocument::toXml()
+::std::string ls::std::io::XmlDocument::toXml()
 {
   ::std::string xmlString{};
 

+ 2 - 2
source/ls_std/logic/State.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-05
- * Changed:         2022-05-12
+ * Changed:         2022-05-20
  *
  * */
 
@@ -57,7 +57,7 @@ void ls::std::logic::State::clearConnections()
   this->_clearConnections();
 }
 
-std::unordered_map<ls::std::core::type::state_connection_id, std::shared_ptr<ls::std::logic::StateConnection>> ls::std::logic::State::getConnectedStates()
+::std::unordered_map<ls::std::core::type::state_connection_id, ::std::shared_ptr<ls::std::logic::StateConnection>> ls::std::logic::State::getConnectedStates()
 {
   return this->connectedStates;
 }

+ 6 - 6
source/ls_std/logic/StateMachine.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-05
- * Changed:         2022-05-12
+ * Changed:         2022-05-20
  *
  * */
 
@@ -34,22 +34,22 @@ bool ls::std::logic::StateMachine::addState(const ::std::shared_ptr<ls::std::log
   return wasAdded;
 }
 
-std::shared_ptr<ls::std::logic::State> ls::std::logic::StateMachine::getCurrentState()
+::std::shared_ptr<ls::std::logic::State> ls::std::logic::StateMachine::getCurrentState()
 {
   return this->currentState;
 }
 
-std::vector<ls::std::core::type::state_id> ls::std::logic::StateMachine::getMemory()
+::std::vector<ls::std::core::type::state_id> ls::std::logic::StateMachine::getMemory()
 {
   return this->memory;
 }
 
-std::string ls::std::logic::StateMachine::getName()
+::std::string ls::std::logic::StateMachine::getName()
 {
   return this->name;
 }
 
-std::unordered_map<ls::std::core::type::state_id, std::shared_ptr<ls::std::logic::State>> ls::std::logic::StateMachine::getStates()
+::std::unordered_map<ls::std::core::type::state_id, ::std::shared_ptr<ls::std::logic::State>> ls::std::logic::StateMachine::getStates()
 {
   return this->states;
 }
@@ -124,7 +124,7 @@ void ls::std::logic::StateMachine::_assignName(const ::std::string &_name)
   this->name = _name;
 }
 
-std::vector<ls::std::core::type::state_id> ls::std::logic::StateMachine::_getNextValidStates()
+::std::vector<ls::std::core::type::state_id> ls::std::logic::StateMachine::_getNextValidStates()
 {
   ::std::vector<ls::std::core::type::state_id> validStates{};
 

+ 2 - 2
source/ls_std/logic/serialization/SerializableJsonState.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-15
- * Changed:         2022-05-12
+ * Changed:         2022-05-20
  *
  * */
 
@@ -30,7 +30,7 @@ void ls::std::logic::SerializableJsonState::unmarshal(const ls::std::core::type:
   this->value->setId(this->jsonObject["id"]);
 }
 
-std::shared_ptr<ls::std::logic::State> ls::std::logic::SerializableJsonState::getValue()
+::std::shared_ptr<ls::std::logic::State> ls::std::logic::SerializableJsonState::getValue()
 {
   return this->value;
 }

+ 2 - 2
source/ls_std/logic/serialization/SerializableJsonStateConnection.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-14
- * Changed:         2022-05-12
+ * Changed:         2022-05-20
  *
  * */
 
@@ -31,7 +31,7 @@ void ls::std::logic::SerializableJsonStateConnection::unmarshal(const ls::std::c
   this->value->updatePassCondition(this->jsonObject["condition"]);
 }
 
-std::shared_ptr<ls::std::logic::StateConnection> ls::std::logic::SerializableJsonStateConnection::getValue()
+::std::shared_ptr<ls::std::logic::StateConnection> ls::std::logic::SerializableJsonStateConnection::getValue()
 {
   return this->value;
 }

+ 2 - 2
source/ls_std/logic/serialization/SerializableJsonStateMachine.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-17
- * Changed:         2022-05-12
+ * Changed:         2022-05-20
  *
  * */
 
@@ -32,7 +32,7 @@ void ls::std::logic::SerializableJsonStateMachine::unmarshal(const ls::std::core
   this->value->setName(this->jsonObject["name"]);
 }
 
-std::shared_ptr<ls::std::logic::StateMachine> ls::std::logic::SerializableJsonStateMachine::getValue()
+::std::shared_ptr<ls::std::logic::StateMachine> ls::std::logic::SerializableJsonStateMachine::getValue()
 {
   return this->value;
 }

+ 2 - 2
source/ls_std/time/Date.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-14
- * Changed:         2022-05-09
+ * Changed:         2022-05-20
  *
  * */
 
@@ -92,7 +92,7 @@ void ls::std::time::Date::setTime(time_t _timestamp)
   this->_init();
 }
 
-std::string ls::std::time::Date::toString()
+::std::string ls::std::time::Date::toString()
 {
   ::std::stringstream _stream{};
   _stream << ::std::put_time(this->localTime, "%Y-%m-%d %H:%M:%S");

+ 2 - 2
test/cases/boxing/BooleanTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-09
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -50,7 +50,7 @@ namespace
   TEST_F(BooleanTest, operator_output_stream)
   {
     ls::std::boxing::Boolean expression{true};
-    std::ostringstream _stream{};
+    ::std::ostringstream _stream{};
     _stream << expression;
 
     ASSERT_STREQ("true", _stream.str().c_str());

+ 2 - 2
test/cases/boxing/DoubleTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-14
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -315,7 +315,7 @@ namespace
   TEST_F(DoubleTest, toString)
   {
     ls::std::boxing::Double x{13.1543};
-    ASSERT_TRUE(x.toString().find("13.1543") != std::string::npos);
+    ASSERT_TRUE(x.toString().find("13.1543") != ::std::string::npos);
   }
 
   // additional functionality

+ 2 - 2
test/cases/boxing/FloatTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-14
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -304,7 +304,7 @@ namespace
   TEST_F(FloatTest, toString)
   {
     ls::std::boxing::Float x{13.1543f};
-    ASSERT_TRUE(x.toString().find("13.1543") != std::string::npos);
+    ASSERT_TRUE(x.toString().find("13.1543") != ::std::string::npos);
   }
 
   // additional functionality

+ 2 - 2
test/cases/boxing/StringTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-14
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -42,7 +42,7 @@ namespace
   {
     ls::std::boxing::String greetings{"Hello! "};
     ls::std::boxing::String question{"How are you? "};
-    const std::string& answer = "I'm good by the way!";
+    const ::std::string& answer = "I'm good by the way!";
 
     greetings = greetings + question + answer;
 

+ 2 - 2
test/cases/core/ClassTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-16
- * Changed:         2022-05-16
+ * Changed:         2022-05-20
  *
  * */
 
@@ -43,7 +43,7 @@ namespace
 
   TEST_F(ClassTest, destructor)
   {
-    std::shared_ptr<ls_std_core_test::ClassWrapper> object = std::make_shared<ls_std_core_test::ClassWrapper>();
+    ::std::shared_ptr<ls_std_core_test::ClassWrapper> object = ::std::make_shared<ls_std_core_test::ClassWrapper>();
     EXPECT_CALL(*object, Die());
   }
 

+ 2 - 2
test/cases/core/utils/RegexUtilsTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-18
- * Changed:         2022-05-13
+ * Changed:         2022-05-20
  *
  * */
 
@@ -28,7 +28,7 @@ namespace
 
   TEST_F(RegexUtilsTest, escapeString)
   {
-    std::string escapedString = ls::std::core::RegexUtils::escapeString("Hello?!");
+    ::std::string escapedString = ls::std::core::RegexUtils::escapeString("Hello?!");
     ASSERT_STREQ(R"(Hello\?!)", escapedString.c_str());
 
     escapedString = ls::std::core::RegexUtils::escapeString(R"(\)");

+ 9 - 9
test/cases/core/utils/STLUtilsTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-17
- * Changed:         2022-05-13
+ * Changed:         2022-05-20
  *
  * */
 
@@ -31,8 +31,8 @@ namespace
 
   TEST_F(STLUtilsTest, contains)
   {
-    std::vector<int> values{1, 13, 7, 8};
-    std::list<std::string> names{"Tim", "Alex", "Nadine"};
+    ::std::vector<int> values{1, 13, 7, 8};
+    ::std::list<::std::string> names{"Tim", "Alex", "Nadine"};
 
     ASSERT_TRUE((ls::std::core::STLUtils::contains(values, 1)));
     ASSERT_TRUE((ls::std::core::STLUtils::contains(values, 13)));
@@ -46,8 +46,8 @@ namespace
 
   TEST_F(STLUtilsTest, containsNegative)
   {
-    std::vector<int> values{1, 13, 7, 8};
-    std::list<std::string> names{"Tim", "Alex", "Nadine"};
+    ::std::vector<int> values{1, 13, 7, 8};
+    ::std::list<::std::string> names{"Tim", "Alex", "Nadine"};
 
     ASSERT_FALSE((ls::std::core::STLUtils::contains(values, 55)));
     ASSERT_FALSE((ls::std::core::STLUtils::contains(values, 9)));
@@ -58,8 +58,8 @@ namespace
 
   TEST_F(STLUtilsTest, getListElementAt)
   {
-    std::list<int> values{1, 13, 7, 8};
-    std::list<std::string> names{"Tim", "Alex", "Nadine"};
+    ::std::list<int> values{1, 13, 7, 8};
+    ::std::list<::std::string> names{"Tim", "Alex", "Nadine"};
 
     ASSERT_EQ(1, (ls::std::core::STLUtils::getListElementAt(values, 0)));
     ASSERT_EQ(13, (ls::std::core::STLUtils::getListElementAt(values, 1)));
@@ -73,8 +73,8 @@ namespace
 
   TEST_F(STLUtilsTest, getListElementAtNegative)
   {
-    std::list<int> values{1, 13, 7, 8};
-    std::list<std::string> names{"Tim", "Alex", "Nadine"};
+    ::std::list<int> values{1, 13, 7, 8};
+    ::std::list<::std::string> names{"Tim", "Alex", "Nadine"};
 
     ASSERT_EQ(0, (ls::std::core::STLUtils::getListElementAt(values, 15)));
     ASSERT_STREQ("", ls::std::core::STLUtils::getListElementAt(names, 15).c_str());

+ 16 - 16
test/cases/event/EventManagerTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-27
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -39,7 +39,7 @@ namespace
                    try
                    {
                      ls::std::event::EventManager eventManager{};
-                     eventManager.subscribe("", std::make_shared<ls_std_event_test::DailyNewsAgency>());
+                     eventManager.subscribe("", ::std::make_shared<ls_std_event_test::DailyNewsAgency>());
                    }
                    catch (const ls::std::core::IllegalArgumentException &_exception)
                    {
@@ -69,7 +69,7 @@ namespace
                    try
                    {
                      ls::std::event::EventManager eventManager{};
-                     eventManager.subscribe("TMP_DIR", std::make_shared<ls_std_event_test::DailyNewsAgency>());
+                     eventManager.subscribe("TMP_DIR", ::std::make_shared<ls_std_event_test::DailyNewsAgency>());
                    }
                    catch (const ls::std::core::EventNotSubscribedException &_exception)
                    {
@@ -84,7 +84,7 @@ namespace
                    try
                    {
                      ls::std::event::EventManager eventManager{};
-                     eventManager.unsubscribe("", std::make_shared<ls_std_event_test::DailyNewsAgency>());
+                     eventManager.unsubscribe("", ::std::make_shared<ls_std_event_test::DailyNewsAgency>());
                    }
                    catch (const ls::std::core::IllegalArgumentException &_exception)
                    {
@@ -111,14 +111,14 @@ namespace
   TEST_F(EventManagerTest, addEventHandler)
   {
     ls::std::event::EventManager eventManager{};
-    ASSERT_TRUE(eventManager.addEventHandler(std::make_shared<ls::std::event::EventHandler>("TMP_ID")));
+    ASSERT_TRUE(eventManager.addEventHandler(::std::make_shared<ls::std::event::EventHandler>("TMP_ID")));
   }
 
   TEST_F(EventManagerTest, addEventHandler_event_handler_already_exists)
   {
     ls::std::event::EventManager eventManager{};
-    ASSERT_TRUE(eventManager.addEventHandler(std::make_shared<ls::std::event::EventHandler>("TMP_ID")));
-    ASSERT_FALSE(eventManager.addEventHandler(std::make_shared<ls::std::event::EventHandler>("TMP_ID")));
+    ASSERT_TRUE(eventManager.addEventHandler(::std::make_shared<ls::std::event::EventHandler>("TMP_ID")));
+    ASSERT_FALSE(eventManager.addEventHandler(::std::make_shared<ls::std::event::EventHandler>("TMP_ID")));
   }
 
   TEST_F(EventManagerTest, addEventHandler_no_reference)
@@ -154,7 +154,7 @@ namespace
   TEST_F(EventManagerTest, hasEventHandler)
   {
     ls::std::event::EventManager eventManager{};
-    eventManager.addEventHandler(std::make_shared<ls::std::event::EventHandler>("TMP_ID"));
+    eventManager.addEventHandler(::std::make_shared<ls::std::event::EventHandler>("TMP_ID"));
     ASSERT_TRUE(eventManager.hasEventHandler("TMP_ID"));
   }
 
@@ -182,7 +182,7 @@ namespace
   TEST_F(EventManagerTest, removeEventHandler)
   {
     ls::std::event::EventManager eventManager{};
-    std::shared_ptr<ls::std::event::EventHandler> eventHandler = std::make_shared<ls::std::event::EventHandler>("TMP_ID");
+    ::std::shared_ptr<ls::std::event::EventHandler> eventHandler = ::std::make_shared<ls::std::event::EventHandler>("TMP_ID");
     eventManager.addEventHandler(eventHandler);
 
     ASSERT_TRUE(eventManager.removeEventHandler(eventHandler));
@@ -191,7 +191,7 @@ namespace
   TEST_F(EventManagerTest, removeEventHandler_no_event_handler_available)
   {
     ls::std::event::EventManager eventManager{};
-    ASSERT_FALSE(eventManager.removeEventHandler(std::make_shared<ls::std::event::EventHandler>("TMP_ID")));
+    ASSERT_FALSE(eventManager.removeEventHandler(::std::make_shared<ls::std::event::EventHandler>("TMP_ID")));
   }
 
   TEST_F(EventManagerTest, removeEventHandler_no_reference)
@@ -211,25 +211,25 @@ namespace
 
   TEST_F(EventManagerTest, production_example)
   {
-    std::string news, expectedNews{};
+    ::std::string news, expectedNews{};
     ls::std::core::type::event_id seriousNewsEventId = ls_std_event_test::SeriousNewsEvent{""}.getId();
     ls::std::core::type::event_id gossipNewsEventId = ls_std_event_test::GossipNewsEvent{""}.getId();
 
     // create event handler
 
-    std::shared_ptr<ls::std::event::EventHandler> seriousNewsEventHandler = std::make_shared<ls::std::event::EventHandler>(seriousNewsEventId);   // event id
-    std::shared_ptr<ls::std::event::EventHandler> gossipNewsEventHandler = std::make_shared<ls::std::event::EventHandler>(gossipNewsEventId);     // event id
+    ::std::shared_ptr<ls::std::event::EventHandler> seriousNewsEventHandler = ::std::make_shared<ls::std::event::EventHandler>(seriousNewsEventId);   // event id
+    ::std::shared_ptr<ls::std::event::EventHandler> gossipNewsEventHandler = ::std::make_shared<ls::std::event::EventHandler>(gossipNewsEventId);     // event id
 
     // create and fill event manager with handler
 
-    std::shared_ptr<ls::std::event::EventManager> eventManager = std::make_shared<ls::std::event::EventManager>();
+    ::std::shared_ptr<ls::std::event::EventManager> eventManager = ::std::make_shared<ls::std::event::EventManager>();
     eventManager->addEventHandler(seriousNewsEventHandler);
     eventManager->addEventHandler(gossipNewsEventHandler);
 
     // create news agency (listener)
 
-    std::shared_ptr<ls_std_event_test::DailyNewsAgency> dailyNews = std::make_shared<ls_std_event_test::DailyNewsAgency>();
-    std::shared_ptr<ls_std_event_test::GossipNewsAgency> gossipNews = std::make_shared<ls_std_event_test::GossipNewsAgency>();
+    ::std::shared_ptr<ls_std_event_test::DailyNewsAgency> dailyNews = ::std::make_shared<ls_std_event_test::DailyNewsAgency>();
+    ::std::shared_ptr<ls_std_event_test::GossipNewsAgency> gossipNews = ::std::make_shared<ls_std_event_test::GossipNewsAgency>();
 
     // fire SeriousNewsEvent event with no effect
 

+ 21 - 21
test/cases/event/NarratorTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-14
- * Changed:         2022-05-19
+ * Changed:         2022-05-20
  *
  * */
 
@@ -27,17 +27,17 @@ namespace
       void TearDown() override
       {}
 
-      std::shared_ptr<ls_std_event_test::TestDataMercedesCar> mercedes1{};
-      std::shared_ptr<ls_std_event_test::TestDataMercedesCar> mercedes2{};
-      std::shared_ptr<ls_std_event_test::TestDataMercedesCar> mercedes3{};
+      ::std::shared_ptr<ls_std_event_test::TestDataMercedesCar> mercedes1{};
+      ::std::shared_ptr<ls_std_event_test::TestDataMercedesCar> mercedes2{};
+      ::std::shared_ptr<ls_std_event_test::TestDataMercedesCar> mercedes3{};
 
       void createCars()
       {
-        this->mercedes1 = std::make_shared<ls_std_event_test::TestDataMercedesCar>();
+        this->mercedes1 = ::std::make_shared<ls_std_event_test::TestDataMercedesCar>();
         this->mercedes1->setColor("pink");
-        this->mercedes2 = std::make_shared<ls_std_event_test::TestDataMercedesCar>();
+        this->mercedes2 = ::std::make_shared<ls_std_event_test::TestDataMercedesCar>();
         this->mercedes2->setColor("blue");
-        this->mercedes3 = std::make_shared<ls_std_event_test::TestDataMercedesCar>();
+        this->mercedes3 = ::std::make_shared<ls_std_event_test::TestDataMercedesCar>();
         this->mercedes3->setColor("red");
       }
   };
@@ -47,9 +47,9 @@ namespace
     this->createCars();
     ls::std::event::Narrator paintingMachine{};
 
-    ASSERT_TRUE(paintingMachine.addListener(std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes1)));
-    ASSERT_TRUE(paintingMachine.addListener(std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes2)));
-    ASSERT_TRUE(paintingMachine.addListener(std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes3)));
+    ASSERT_TRUE(paintingMachine.addListener(::std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes1)));
+    ASSERT_TRUE(paintingMachine.addListener(::std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes2)));
+    ASSERT_TRUE(paintingMachine.addListener(::std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes3)));
   }
 
   TEST_F(NarratorTest, addListener_listener_already_exists)
@@ -57,8 +57,8 @@ namespace
     this->createCars();
     ls::std::event::Narrator paintingMachine{};
 
-    ASSERT_TRUE(paintingMachine.addListener(std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes1)));
-    ASSERT_FALSE(paintingMachine.addListener(std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes1)));
+    ASSERT_TRUE(paintingMachine.addListener(::std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes1)));
+    ASSERT_FALSE(paintingMachine.addListener(::std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes1)));
   }
 
   TEST_F(NarratorTest, addListener_no_reference)
@@ -80,9 +80,9 @@ namespace
   {
     this->createCars();
     ls::std::event::Narrator paintingMachine{};
-    paintingMachine.addListener(std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes1));
-    paintingMachine.addListener(std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes2));
-    paintingMachine.addListener(std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes3));
+    paintingMachine.addListener(::std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes1));
+    paintingMachine.addListener(::std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes2));
+    paintingMachine.addListener(::std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes3));
 
     ASSERT_FALSE(paintingMachine.getListeners().empty());
     paintingMachine.clear();
@@ -99,9 +99,9 @@ namespace
   {
     this->createCars();
     ls::std::event::Narrator paintingMachine{};
-    paintingMachine.addListener(std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes1));
-    paintingMachine.addListener(std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes2));
-    paintingMachine.addListener(std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes3));
+    paintingMachine.addListener(::std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes1));
+    paintingMachine.addListener(::std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes2));
+    paintingMachine.addListener(::std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes3));
 
     ASSERT_TRUE(paintingMachine.removeListener(this->mercedes2));
     ASSERT_TRUE(paintingMachine.removeListener(this->mercedes1));
@@ -135,9 +135,9 @@ namespace
   {
     this->createCars();
     ls::std::event::Narrator paintingMachine{};
-    paintingMachine.addListener(std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes1));
-    paintingMachine.addListener(std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes2));
-    paintingMachine.addListener(std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes3));
+    paintingMachine.addListener(::std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes1));
+    paintingMachine.addListener(::std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes2));
+    paintingMachine.addListener(::std::dynamic_pointer_cast<ls::std::core::interface_type::IListener>(this->mercedes3));
 
     ASSERT_STREQ("pink", this->mercedes1->getColor().c_str());
     ASSERT_STREQ("blue", this->mercedes2->getColor().c_str());

+ 6 - 6
test/cases/event/serialization/SerializableJsonEventTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-12-20
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -47,19 +47,19 @@ namespace
     event.addParameter(ls::std::core::type::event_parameter{"key_available", "true"});
     event.addParameter(ls::std::core::type::event_parameter{"door_id", "16675"});
 
-    ls::std::event::SerializableJsonEvent serializable{std::make_shared<ls::std::event::Event>(event)};
+    ls::std::event::SerializableJsonEvent serializable{::std::make_shared<ls::std::event::Event>(event)};
 
     ls::std::core::type::byte_field data = serializable.marshal();
     ASSERT_FALSE(data.empty());
-    std::string expectedString = R"({"id":"OPEN_DOOR_EVENT","parameterList":{"door_id":["door_id","16675"],"key_available":["key_available","true"]}})";
+    ::std::string expectedString = R"({"id":"OPEN_DOOR_EVENT","parameterList":{"door_id":["door_id","16675"],"key_available":["key_available","true"]}})";
     ASSERT_STREQ(expectedString.c_str(), data.c_str());
   }
 
   TEST_F(SerializableJsonEventTest, unmarshal)
   {
     ls::std::event::Event event{"TMP_EVENT"};
-    ls::std::event::SerializableJsonEvent serializable{std::make_shared<ls::std::event::Event>(event)};
-    std::string jsonString = R"({"id":"OPEN_DOOR_EVENT","parameterList":{"door_id":["door_id","16675"],"key_available":["key_available","true"]}})";
+    ls::std::event::SerializableJsonEvent serializable{::std::make_shared<ls::std::event::Event>(event)};
+    ::std::string jsonString = R"({"id":"OPEN_DOOR_EVENT","parameterList":{"door_id":["door_id","16675"],"key_available":["key_available","true"]}})";
 
     serializable.unmarshal(jsonString);
     ASSERT_STREQ("OPEN_DOOR_EVENT", serializable.getValue()->getId().c_str());
@@ -74,7 +74,7 @@ namespace
   TEST_F(SerializableJsonEventTest, setValue_parameter_not_set)
   {
     ls::std::event::Event event{"TMP_EVENT"};
-    ls::std::event::SerializableJsonEvent serializable{std::make_shared<ls::std::event::Event>(event)};
+    ls::std::event::SerializableJsonEvent serializable{::std::make_shared<ls::std::event::Event>(event)};
 
     EXPECT_THROW({
                    try

+ 4 - 4
test/cases/io/FileOutputStreamTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-20
- * Changed:         2022-05-15
+ * Changed:         2022-05-20
  *
  * */
 
@@ -30,7 +30,7 @@ namespace
 
   TEST_F(FileOutputStreamTest, constructor_file_does_not_exist)
   {
-    std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "not_existing.txt";
+    ::std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "not_existing.txt";
     ls::std::io::File file{path};
 
     EXPECT_THROW({
@@ -47,7 +47,7 @@ namespace
 
   TEST_F(FileOutputStreamTest, write)
   {
-    std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "tmp_output_stream.txt";
+    ::std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "tmp_output_stream.txt";
     ls::std::io::File file{path};
     file.createNewFile();
     ASSERT_TRUE(file.exists());
@@ -63,7 +63,7 @@ namespace
 
   TEST_F(FileOutputStreamTest, write_with_another_appending_stream)
   {
-    std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "tmp_output_stream.txt";
+    ::std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "tmp_output_stream.txt";
     ls::std::io::File file{path};
     file.createNewFile();
     ASSERT_TRUE(file.exists());

+ 5 - 5
test/cases/io/FileReaderTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-18
- * Changed:         2022-05-15
+ * Changed:         2022-05-20
  *
  * */
 
@@ -48,8 +48,8 @@ namespace
   {
     ls::std::io::File file{ls_std_test::TestHelper::getResourcesFolderLocation() + "simple.txt"};
     ls::std::io::FileReader reader{file};
-    std::string expectedUnix = "Hello!" + ls::std::io::NewLine::getUnixNewLine();
-    std::string expectedWindows = "Hello!" + ls::std::io::NewLine::getWindowsNewLine();
+    ::std::string expectedUnix = "Hello!" + ls::std::io::NewLine::getUnixNewLine();
+    ::std::string expectedWindows = "Hello!" + ls::std::io::NewLine::getWindowsNewLine();
 
     ls::std::core::type::byte_field content = reader.read();
     ASSERT_TRUE(content == expectedUnix || content == expectedWindows);
@@ -78,8 +78,8 @@ namespace
   {
     ls::std::io::File file{ls_std_test::TestHelper::getResourcesFolderLocation() + "simple.txt"};
     ls::std::io::FileReader reader{file};
-    std::string expectedUnix = "Hello!" + ls::std::io::NewLine::getUnixNewLine();
-    std::string expectedWindows = "Hello!" + ls::std::io::NewLine::getWindowsNewLine();
+    ::std::string expectedUnix = "Hello!" + ls::std::io::NewLine::getUnixNewLine();
+    ::std::string expectedWindows = "Hello!" + ls::std::io::NewLine::getWindowsNewLine();
 
     ls::std::core::type::byte_field content = reader.read();
     ASSERT_TRUE(content == expectedUnix || content == expectedWindows);

+ 13 - 13
test/cases/io/FileTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-15
- * Changed:         2022-05-15
+ * Changed:         2022-05-20
  *
  * */
 
@@ -21,7 +21,7 @@ namespace
       FileTest() = default;
       ~FileTest() override = default;
 
-      std::string fileLocation = ls_std_test::TestHelper::getResourcesFolderLocation() + "simple.txt";
+      ::std::string fileLocation = ls_std_test::TestHelper::getResourcesFolderLocation() + "simple.txt";
 
       void SetUp() override
       {}
@@ -161,10 +161,10 @@ namespace
   {
     ls::std::io::File file{this->fileLocation};
     ASSERT_STREQ(this->fileLocation.c_str(), file.getAbsoluteFilePath().c_str());
-    std::string s = {ls::std::io::FilePathSeparator::get()};
+    ::std::string s = {ls::std::io::FilePathSeparator::get()};
 
-    std::string wrongFilePath = "home" + s + s + s + "user" + s + "bla" + s + s + "sub_folder";
-    std::string expectedFilePath = "home" + s + "user" + s + "bla" + s + "sub_folder";
+    ::std::string wrongFilePath = "home" + s + s + s + "user" + s + "bla" + s + s + "sub_folder";
+    ::std::string expectedFilePath = "home" + s + "user" + s + "bla" + s + "sub_folder";
     ls::std::io::File anotherFile{wrongFilePath};
     ASSERT_STREQ(expectedFilePath.c_str(), anotherFile.getAbsoluteFilePath().c_str());
   }
@@ -190,7 +190,7 @@ namespace
 
   TEST_F(FileTest, getWorkingDirectory)
   {
-    std::string workingDirectory = ls::std::io::File::getWorkingDirectory();
+    ::std::string workingDirectory = ls::std::io::File::getWorkingDirectory();
     ASSERT_FALSE(workingDirectory.empty());
   }
 
@@ -240,8 +240,8 @@ namespace
   TEST_F(FileTest, list)
   {
     ls::std::io::File file{ls_std_test::TestHelper::getResourcesFolderLocation() + "list_test"};
-    std::list<std::string> filesInDirectory = file.list();
-    std::string expectedFile{};
+    ::std::list<std::string> filesInDirectory = file.list();
+    ::std::string expectedFile{};
     const char separator = ls::std::io::FilePathSeparator::get();
 
     auto filesIterator = filesInDirectory.begin();
@@ -268,8 +268,8 @@ namespace
   TEST_F(FileTest, listFiles)
   {
     ls::std::io::File file{ls_std_test::TestHelper::getResourcesFolderLocation() + "list_test"};
-    std::list<std::string> filesInDirectory = file.listFiles();
-    std::string expectedFile{};
+    ::std::list<::std::string> filesInDirectory = file.listFiles();
+    ::std::string expectedFile{};
     const char separator = ls::std::io::FilePathSeparator::get();
 
     ASSERT_FALSE(filesInDirectory.empty());
@@ -334,7 +334,7 @@ namespace
 
   TEST_F(FileTest, remove)
   {
-    std::string fileName = ls_std_test::TestHelper::getResourcesFolderLocation() + "removable_file.txt";
+    ::std::string fileName = ls_std_test::TestHelper::getResourcesFolderLocation() + "removable_file.txt";
     ls::std::io::File file{fileName};
     file.createNewFile();
 
@@ -346,8 +346,8 @@ namespace
 
   TEST_F(FileTest, renameTo)
   {
-    std::string currentName = ls_std_test::TestHelper::getResourcesFolderLocation() + "tmp_rename_to.txt";
-    std::string newName = ls_std_test::TestHelper::getResourcesFolderLocation() + "tmp_rename_to_better_name.txt";
+    ::std::string currentName = ls_std_test::TestHelper::getResourcesFolderLocation() + "tmp_rename_to.txt";
+    ::std::string newName = ls_std_test::TestHelper::getResourcesFolderLocation() + "tmp_rename_to_better_name.txt";
 
     ls::std::io::File file{currentName};
     file.createNewFile();

+ 4 - 4
test/cases/io/FileWriterTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-17
- * Changed:         2022-05-15
+ * Changed:         2022-05-20
  *
  * */
 
@@ -30,7 +30,7 @@ namespace
 
   TEST_F(FileWriterTest, constructor_file_does_not_exist)
   {
-    std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "not_existing_file.txt";
+    ::std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "not_existing_file.txt";
     ls::std::io::File file{path};
 
     EXPECT_THROW({
@@ -47,7 +47,7 @@ namespace
 
   TEST_F(FileWriterTest, reset)
   {
-    std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "tmp_file_writer_test.txt";
+    ::std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "tmp_file_writer_test.txt";
     ls::std::io::File file{path};
     file.createNewFile();
     ls::std::io::FileWriter writer{file};
@@ -72,7 +72,7 @@ namespace
 
   TEST_F(FileWriterTest, write)
   {
-    std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "tmp_file_writer_test.txt";
+    ::std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "tmp_file_writer_test.txt";
     ls::std::io::File file{path};
 
     ASSERT_FALSE(file.exists());

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

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-19
- * Changed:         2022-05-15
+ * Changed:         2022-05-20
  *
  * */
 
@@ -20,7 +20,7 @@ namespace
       StorableFileTest() = default;
       ~StorableFileTest() override = default;
 
-      std::string fileLocation = ls_std_test::TestHelper::getResourcesFolderLocation() + "simple.txt";
+      ::std::string fileLocation = ls_std_test::TestHelper::getResourcesFolderLocation() + "simple.txt";
 
       void SetUp() override
       {}
@@ -40,8 +40,8 @@ namespace
     ls::std::io::StorableFile storableFile{this->fileLocation};
     ls::std::core::type::byte_field content = storableFile.load();
 
-    std::string expectedUnix = "Hello!" + ls::std::io::NewLine::getUnixNewLine();
-    std::string expectedWindows = "Hello!" + ls::std::io::NewLine::getWindowsNewLine();
+    ::std::string expectedUnix = "Hello!" + ls::std::io::NewLine::getUnixNewLine();
+    ::std::string expectedWindows = "Hello!" + ls::std::io::NewLine::getWindowsNewLine();
 
     ASSERT_TRUE(content == expectedUnix || content == expectedWindows);
   }
@@ -51,14 +51,14 @@ namespace
     ls::std::io::StorableFile storableFile{this->fileLocation};
     ls::std::core::type::byte_field content = storableFile.load();
 
-    std::string expectedUnix = "Hello!" + ls::std::io::NewLine::getUnixNewLine();
-    std::string expectedWindows = "Hello!" + ls::std::io::NewLine::getWindowsNewLine();
+    ::std::string expectedUnix = "Hello!" + ls::std::io::NewLine::getUnixNewLine();
+    ::std::string expectedWindows = "Hello!" + ls::std::io::NewLine::getWindowsNewLine();
 
     ASSERT_TRUE(content == expectedUnix || content == expectedWindows);
 
     // reset
 
-    std::string anotherFileLocation = ls_std_test::TestHelper::getResourcesFolderLocation() + "list_test/bla.txt";
+    ::std::string anotherFileLocation = ls_std_test::TestHelper::getResourcesFolderLocation() + "list_test/bla.txt";
     storableFile.reset(anotherFileLocation);
     content = storableFile.load();
 
@@ -70,7 +70,7 @@ namespace
 
   TEST_F(StorableFileTest, save)
   {
-    std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "tmp_storable_file.txt";
+    ::std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "tmp_storable_file.txt";
     ls::std::io::File file{path};
     file.createNewFile();
 

+ 13 - 13
test/cases/io/kv/KvFileReaderTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-12-25
- * Changed:         2022-05-15
+ * Changed:         2022-05-20
  *
  * */
 
@@ -29,10 +29,10 @@ namespace
 
       static std::shared_ptr<ls::std::io::KvFileReader> createTestKVFileReader()
       {
-        std::string kvPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "server_settings.kv";
-        std::shared_ptr<ls::std::io::KvDocument> document = std::make_shared<ls::std::io::KvDocument>();
+        ::std::string kvPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "server_settings.kv";
+        ::std::shared_ptr<ls::std::io::KvDocument> document = ::std::make_shared<ls::std::io::KvDocument>();
 
-        return std::make_shared<ls::std::io::KvFileReader>(document, kvPath);
+        return ::std::make_shared<ls::std::io::KvFileReader>(document, kvPath);
       }
   };
 
@@ -41,7 +41,7 @@ namespace
     EXPECT_THROW({
                    try
                    {
-                     std::string kvPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "server_settings.kv";
+                     ::std::string kvPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "server_settings.kv";
                      ls::std::io::KvFileReader reader = ls::std::io::KvFileReader(nullptr, kvPath);
                    }
                    catch (const ls::std::core::IllegalArgumentException &_exception)
@@ -56,7 +56,7 @@ namespace
     EXPECT_THROW({
                    try
                    {
-                     ls::std::io::KvFileReader reader = ls::std::io::KvFileReader(std::make_shared<ls::std::io::KvDocument>(), "invalid_path");
+                     ls::std::io::KvFileReader reader = ls::std::io::KvFileReader(::std::make_shared<ls::std::io::KvDocument>(), "invalid_path");
                    }
                    catch (const ls::std::core::IllegalArgumentException &_exception)
                    {
@@ -67,7 +67,7 @@ namespace
 
   TEST_F(KvFileReaderTest, getDocument)
   {
-    const std::shared_ptr<ls::std::io::KvFileReader> &reader = createTestKVFileReader();
+    const ::std::shared_ptr<ls::std::io::KvFileReader> &reader = createTestKVFileReader();
     ASSERT_TRUE(reader->getDocument() != nullptr);
   }
 
@@ -75,12 +75,12 @@ namespace
   {
     // preparation
 
-    const std::shared_ptr<ls::std::io::KvFileReader> &reader = createTestKVFileReader();
+    const ::std::shared_ptr<ls::std::io::KvFileReader> &reader = createTestKVFileReader();
 
     // read file and check
 
     reader->read();
-    const std::shared_ptr<ls::std::io::KvDocument> &document = reader->getDocument();
+    const ::std::shared_ptr<ls::std::io::KvDocument> &document = reader->getDocument();
 
     ASSERT_EQ(3, document->getPairs().size());
     ASSERT_TRUE(document->hasPair("port"));
@@ -94,7 +94,7 @@ namespace
 
   TEST_F(KvFileReaderTest, setFile_no_existing_file)
   {
-    const std::shared_ptr<ls::std::io::KvFileReader> &reader = createTestKVFileReader();
+    const ::std::shared_ptr<ls::std::io::KvFileReader> &reader = createTestKVFileReader();
 
     EXPECT_THROW({
                    try
@@ -112,18 +112,18 @@ namespace
   {
     // preparation
 
-    const std::shared_ptr<ls::std::io::KvFileReader> &reader = createTestKVFileReader();
+    const ::std::shared_ptr<ls::std::io::KvFileReader> &reader = createTestKVFileReader();
 
     // set new document and check
 
-    std::shared_ptr<ls::std::io::KvDocument> newDocument = std::make_shared<ls::std::io::KvDocument>();
+    ::std::shared_ptr<ls::std::io::KvDocument> newDocument = ::std::make_shared<ls::std::io::KvDocument>();
     reader->setDocument(newDocument);
     ASSERT_TRUE(reader->getDocument() == newDocument);
   }
 
   TEST_F(KvFileReaderTest, setDocument_no_reference)
   {
-    const std::shared_ptr<ls::std::io::KvFileReader> &reader = createTestKVFileReader();
+    const ::std::shared_ptr<ls::std::io::KvFileReader> &reader = createTestKVFileReader();
 
     EXPECT_THROW({
                    try

+ 6 - 6
test/cases/io/kv/KvParserTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-12-25
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -43,13 +43,13 @@ namespace
 
   TEST_F(KvParserTest, getDocument)
   {
-    ls::std::io::KvParser parser{std::make_shared<ls::std::io::KvDocument>()};
+    ls::std::io::KvParser parser{::std::make_shared<ls::std::io::KvDocument>()};
     ASSERT_TRUE(parser.getDocument() != nullptr);
   }
 
   TEST_F(KvParserTest, parse)
   {
-    std::shared_ptr<ls::std::io::KvDocument> document = std::make_shared<ls::std::io::KvDocument>();
+    ::std::shared_ptr<ls::std::io::KvDocument> document = ::std::make_shared<ls::std::io::KvDocument>();
     ls::std::io::KvParser parser{document};
     ls::std::core::type::byte_field data = "# starting comment\n\nport=8080; # some comment\nhost=localhost;\nservice-name=deamon;";
     parser.parse(data);
@@ -68,19 +68,19 @@ namespace
   {
     // preparation
 
-    std::shared_ptr<ls::std::io::KvDocument> document = std::make_shared<ls::std::io::KvDocument>();
+    ::std::shared_ptr<ls::std::io::KvDocument> document = ::std::make_shared<ls::std::io::KvDocument>();
     ls::std::io::KvParser parser{document};
 
     // set and check
 
-    std::shared_ptr<ls::std::io::KvDocument> newDocument = std::make_shared<ls::std::io::KvDocument>();
+    ::std::shared_ptr<ls::std::io::KvDocument> newDocument = ::std::make_shared<ls::std::io::KvDocument>();
     parser.setDocument(newDocument);
     ASSERT_TRUE(parser.getDocument() == newDocument);
   }
 
   TEST_F(KvParserTest, setDocument_no_reference)
   {
-    std::shared_ptr<ls::std::io::KvDocument> document = std::make_shared<ls::std::io::KvDocument>();
+    ::std::shared_ptr<ls::std::io::KvDocument> document = ::std::make_shared<ls::std::io::KvDocument>();
     ls::std::io::KvParser parser{document};
 
     EXPECT_THROW({

+ 23 - 23
test/cases/io/logging/LoggerTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-20
- * Changed:         2022-05-19
+ * Changed:         2022-05-20
  *
  * */
 
@@ -27,9 +27,9 @@ namespace
       void TearDown() override
       {}
 
-      static std::shared_ptr<ls::std::core::interface_type::IWriter> createFileLogger(const std::string &_logName)
+      static ::std::shared_ptr<ls::std::core::interface_type::IWriter> createFileLogger(const ::std::string &_logName)
       {
-        std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + _logName;
+        ::std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + _logName;
         ls::std::io::File file{path};
 
         if (!file.exists())
@@ -37,12 +37,12 @@ namespace
           file.createNewFile();
         }
 
-        std::shared_ptr<ls::std::core::interface_type::IWriter> writer = std::dynamic_pointer_cast<ls::std::core::interface_type::IWriter>(std::make_shared<ls::std::io::FileOutputStream>(file));
+        ::std::shared_ptr<ls::std::core::interface_type::IWriter> writer = ::std::dynamic_pointer_cast<ls::std::core::interface_type::IWriter>(::std::make_shared<ls::std::io::FileOutputStream>(file));
 
         return writer;
       }
 
-      static ::std::string getContentFromLogFile(const std::string &_logName)
+      static ::std::string getContentFromLogFile(const ::std::string &_logName)
       {
         ls::std::io::File file{ls_std_test::TestHelper::getResourcesFolderLocation() + _logName};
         ls::std::io::FileReader reader{file};
@@ -71,8 +71,8 @@ namespace
   {
     // write to log file
 
-    std::string logName = "output_debug.log";
-    std::shared_ptr<ls::std::core::interface_type::IWriter> writer = createFileLogger(logName);
+    ::std::string logName = "output_debug.log";
+    ::std::shared_ptr<ls::std::core::interface_type::IWriter> writer = createFileLogger(logName);
 
     ls::std::io::Logger logger{writer};
     logger.setLogLevel(ls::std::io::LogLevelValue::DEBUG);
@@ -85,7 +85,7 @@ namespace
 
     // get content and check
 
-    std::dynamic_pointer_cast<ls::std::io::FileOutputStream>(writer)->close();
+    ::std::dynamic_pointer_cast<ls::std::io::FileOutputStream>(writer)->close();
     ::std::string content = getContentFromLogFile(logName);
 
     ASSERT_TRUE(content.find("1. line!") != ::std::string::npos);
@@ -100,8 +100,8 @@ namespace
   {
     // write to log file
 
-    std::string logName = "output_error.log";
-    std::shared_ptr<ls::std::core::interface_type::IWriter> writer = createFileLogger(logName);
+    ::std::string logName = "output_error.log";
+    ::std::shared_ptr<ls::std::core::interface_type::IWriter> writer = createFileLogger(logName);
 
     ls::std::io::Logger logger{writer};
     logger.setLogLevel(ls::std::io::LogLevelValue::ERR);
@@ -114,7 +114,7 @@ namespace
 
     // get content and check
 
-    std::dynamic_pointer_cast<ls::std::io::FileOutputStream>(writer)->close();
+    ::std::dynamic_pointer_cast<ls::std::io::FileOutputStream>(writer)->close();
     ::std::string content = getContentFromLogFile(logName);
 
     ASSERT_FALSE(content.find("1. line!") != ::std::string::npos);
@@ -129,8 +129,8 @@ namespace
   {
     // write to log file
 
-    std::string logName = "output_fatal.log";
-    std::shared_ptr<ls::std::core::interface_type::IWriter> writer = createFileLogger(logName);
+    ::std::string logName = "output_fatal.log";
+    ::std::shared_ptr<ls::std::core::interface_type::IWriter> writer = createFileLogger(logName);
 
     ls::std::io::Logger logger{writer};
     logger.setLogLevel(ls::std::io::LogLevelValue::FATAL);
@@ -143,7 +143,7 @@ namespace
 
     // get content and check
 
-    std::dynamic_pointer_cast<ls::std::io::FileOutputStream>(writer)->close();
+    ::std::dynamic_pointer_cast<ls::std::io::FileOutputStream>(writer)->close();
     ::std::string content = getContentFromLogFile(logName);
 
     ASSERT_FALSE(content.find("1. line!") != ::std::string::npos);
@@ -164,8 +164,8 @@ namespace
   {
     // write to log file
 
-    std::string logName = "output_info.log";
-    std::shared_ptr<ls::std::core::interface_type::IWriter> writer = createFileLogger(logName);
+    ::std::string logName = "output_info.log";
+    ::std::shared_ptr<ls::std::core::interface_type::IWriter> writer = createFileLogger(logName);
 
     ls::std::io::Logger logger{writer};
     logger.setLogLevel(ls::std::io::LogLevelValue::INFO);
@@ -178,7 +178,7 @@ namespace
 
     // get content and check
 
-    std::dynamic_pointer_cast<ls::std::io::FileOutputStream>(writer)->close();
+    ::std::dynamic_pointer_cast<ls::std::io::FileOutputStream>(writer)->close();
     ::std::string content = getContentFromLogFile(logName);
 
     ASSERT_TRUE(content.find("1. line!") != ::std::string::npos);
@@ -201,8 +201,8 @@ namespace
   {
     // write to log file
 
-    std::string logName = "output_trace.log";
-    std::shared_ptr<ls::std::core::interface_type::IWriter> writer = createFileLogger(logName);
+    ::std::string logName = "output_trace.log";
+    ::std::shared_ptr<ls::std::core::interface_type::IWriter> writer = createFileLogger(logName);
 
     ls::std::io::Logger logger{writer};
     logger.setLogLevel(ls::std::io::LogLevelValue::TRACE);
@@ -215,7 +215,7 @@ namespace
 
     // get content and check
 
-    std::dynamic_pointer_cast<ls::std::io::FileOutputStream>(writer)->close();
+    ::std::dynamic_pointer_cast<ls::std::io::FileOutputStream>(writer)->close();
     ::std::string content = getContentFromLogFile(logName);
 
     ASSERT_TRUE(content.find("1. line!") != ::std::string::npos);
@@ -230,8 +230,8 @@ namespace
   {
     // write to log file
 
-    std::string logName = "output_warn.log";
-    std::shared_ptr<ls::std::core::interface_type::IWriter> writer = createFileLogger(logName);
+    ::std::string logName = "output_warn.log";
+    ::std::shared_ptr<ls::std::core::interface_type::IWriter> writer = createFileLogger(logName);
 
     ls::std::io::Logger logger{writer};
     logger.setLogLevel(ls::std::io::LogLevelValue::WARN);
@@ -244,7 +244,7 @@ namespace
 
     // get content and check
 
-    std::dynamic_pointer_cast<ls::std::io::FileOutputStream>(writer)->close();
+    ::std::dynamic_pointer_cast<ls::std::io::FileOutputStream>(writer)->close();
     ::std::string content = getContentFromLogFile(logName);
 
     ASSERT_TRUE(content.find("1. line!") != ::std::string::npos);

+ 5 - 5
test/cases/io/xml/XmlDocumentTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-30
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -46,7 +46,7 @@ namespace
     ASSERT_TRUE(document.getDeclaration() == nullptr);
 
     ls::std::io::XmlDeclaration declaration{"1.0"};
-    document.setDeclaration(std::make_shared<ls::std::io::XmlDeclaration>(declaration));
+    document.setDeclaration(::std::make_shared<ls::std::io::XmlDeclaration>(declaration));
     ASSERT_TRUE(document.getDeclaration() != nullptr);
     ASSERT_STREQ("1.0", document.getDeclaration()->getVersion().c_str());
   }
@@ -101,14 +101,14 @@ namespace
     ls::std::io::XmlDeclaration declaration{"1.0"};
     declaration.setEncoding("UTF-8");
     declaration.setStandalone("yes");
-    document.setDeclaration(std::make_shared<ls::std::io::XmlDeclaration>(declaration));
+    document.setDeclaration(::std::make_shared<ls::std::io::XmlDeclaration>(declaration));
 
     document.setRootElement(ls_std_io_test::TestDataFactory::createXmlContent());
-    std::string xmlStream = document.toXml();
+    ::std::string xmlStream = document.toXml();
 
     ASSERT_TRUE(!xmlStream.empty());
 
-    std::string expectedXmlString = R"(<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+    ::std::string expectedXmlString = R"(<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
 <dialog name="dungeon_001">
     <dialogUnit id="001">
         <text>Hello!</text>

+ 170 - 170
test/cases/io/xml/XmlNodeTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-25
- * Changed:         2022-05-15
+ * Changed:         2022-05-20
  *
  * */
 
@@ -31,42 +31,42 @@ namespace
   TEST_F(XmlNodeTest, addAttributeAfter)
   {
     ls::std::io::XmlNode dialogNode{"dialog"};
-    std::shared_ptr<ls::std::io::XmlAttribute> currentAttribute{};
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("events"));
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("assets"));
+    ::std::shared_ptr<ls::std::io::XmlAttribute> currentAttribute{};
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("events"));
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("assets"));
 
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 0);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 0);
     ASSERT_STREQ("events", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 1);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 1);
     ASSERT_STREQ("assets", currentAttribute->getName().c_str());
 
     // add id after events
 
-    ASSERT_TRUE(dialogNode.addAttributeAfter(std::make_shared<ls::std::io::XmlAttribute>("id"), "events"));
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 0);
+    ASSERT_TRUE(dialogNode.addAttributeAfter(::std::make_shared<ls::std::io::XmlAttribute>("id"), "events"));
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 0);
     ASSERT_STREQ("events", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 1);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 1);
     ASSERT_STREQ("id", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 2);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 2);
     ASSERT_STREQ("assets", currentAttribute->getName().c_str());
 
     // add tasks after assets
 
-    ASSERT_TRUE(dialogNode.addAttributeAfter(std::make_shared<ls::std::io::XmlAttribute>("tasks"), "assets"));
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 0);
+    ASSERT_TRUE(dialogNode.addAttributeAfter(::std::make_shared<ls::std::io::XmlAttribute>("tasks"), "assets"));
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 0);
     ASSERT_STREQ("events", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 1);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 1);
     ASSERT_STREQ("id", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 2);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 2);
     ASSERT_STREQ("assets", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 3);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 3);
     ASSERT_STREQ("tasks", currentAttribute->getName().c_str());
   }
 
   TEST_F(XmlNodeTest, addAttributeAfter_name_not_found)
   {
     ls::std::io::XmlNode dialogNode{"dialog"};
-    ASSERT_FALSE(dialogNode.addAttributeAfter(std::make_shared<ls::std::io::XmlAttribute>("id"), "events"));
+    ASSERT_FALSE(dialogNode.addAttributeAfter(::std::make_shared<ls::std::io::XmlAttribute>("id"), "events"));
   }
 
   TEST_F(XmlNodeTest, addAttributeAfter_no_reference)
@@ -92,7 +92,7 @@ namespace
     EXPECT_THROW({
                    try
                    {
-                     dialogNode.addAttributeAfter(std::make_shared<ls::std::io::XmlAttribute>("id"), "");
+                     dialogNode.addAttributeAfter(::std::make_shared<ls::std::io::XmlAttribute>("id"), "");
                    }
                    catch (const ls::std::core::IllegalArgumentException &_exception)
                    {
@@ -104,42 +104,42 @@ namespace
   TEST_F(XmlNodeTest, addAttributeBefore)
   {
     ls::std::io::XmlNode dialogNode{"dialog"};
-    std::shared_ptr<ls::std::io::XmlAttribute> currentAttribute{};
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("events"));
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("assets"));
+    ::std::shared_ptr<ls::std::io::XmlAttribute> currentAttribute{};
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("events"));
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("assets"));
 
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 0);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 0);
     ASSERT_STREQ("events", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 1);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 1);
     ASSERT_STREQ("assets", currentAttribute->getName().c_str());
 
     // add id before events
 
-    ASSERT_TRUE(dialogNode.addAttributeBefore(std::make_shared<ls::std::io::XmlAttribute>("id"), "events"));
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 0);
+    ASSERT_TRUE(dialogNode.addAttributeBefore(::std::make_shared<ls::std::io::XmlAttribute>("id"), "events"));
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 0);
     ASSERT_STREQ("id", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 1);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 1);
     ASSERT_STREQ("events", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 2);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 2);
     ASSERT_STREQ("assets", currentAttribute->getName().c_str());
 
     // add tasks before assets
 
-    ASSERT_TRUE(dialogNode.addAttributeBefore(std::make_shared<ls::std::io::XmlAttribute>("tasks"), "assets"));
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 0);
+    ASSERT_TRUE(dialogNode.addAttributeBefore(::std::make_shared<ls::std::io::XmlAttribute>("tasks"), "assets"));
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 0);
     ASSERT_STREQ("id", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 1);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 1);
     ASSERT_STREQ("events", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 2);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 2);
     ASSERT_STREQ("tasks", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 3);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 3);
     ASSERT_STREQ("assets", currentAttribute->getName().c_str());
   }
 
   TEST_F(XmlNodeTest, addAttributeBefore_name_not_found)
   {
     ls::std::io::XmlNode dialogNode{"dialog"};
-    ASSERT_FALSE(dialogNode.addAttributeBefore(std::make_shared<ls::std::io::XmlAttribute>("tasks"), "assets"));
+    ASSERT_FALSE(dialogNode.addAttributeBefore(::std::make_shared<ls::std::io::XmlAttribute>("tasks"), "assets"));
   }
 
   TEST_F(XmlNodeTest, addAttributeBefore_no_reference)
@@ -165,7 +165,7 @@ namespace
     EXPECT_THROW({
                    try
                    {
-                     dialogNode.addAttributeBefore(std::make_shared<ls::std::io::XmlAttribute>("id"), "");
+                     dialogNode.addAttributeBefore(::std::make_shared<ls::std::io::XmlAttribute>("id"), "");
                    }
                    catch (const ls::std::core::IllegalArgumentException &_exception)
                    {
@@ -177,27 +177,27 @@ namespace
   TEST_F(XmlNodeTest, addAttributeToBeginning)
   {
     ls::std::io::XmlNode dialogNode{"dialog"};
-    std::shared_ptr<ls::std::io::XmlAttribute> currentAttribute{};
+    ::std::shared_ptr<ls::std::io::XmlAttribute> currentAttribute{};
 
-    dialogNode.addAttributeToBeginning(std::make_shared<ls::std::io::XmlAttribute>("id"));
+    dialogNode.addAttributeToBeginning(::std::make_shared<ls::std::io::XmlAttribute>("id"));
     ASSERT_EQ(1, dialogNode.getAttributes().size());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 0);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 0);
     ASSERT_STREQ("id", currentAttribute->getName().c_str());
 
-    dialogNode.addAttributeToBeginning(std::make_shared<ls::std::io::XmlAttribute>("assets"));
+    dialogNode.addAttributeToBeginning(::std::make_shared<ls::std::io::XmlAttribute>("assets"));
     ASSERT_EQ(2, dialogNode.getAttributes().size());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 0);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 0);
     ASSERT_STREQ("assets", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 1);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 1);
     ASSERT_STREQ("id", currentAttribute->getName().c_str());
 
-    dialogNode.addAttributeToBeginning(std::make_shared<ls::std::io::XmlAttribute>("events"));
+    dialogNode.addAttributeToBeginning(::std::make_shared<ls::std::io::XmlAttribute>("events"));
     ASSERT_EQ(3, dialogNode.getAttributes().size());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 0);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 0);
     ASSERT_STREQ("events", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 1);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 1);
     ASSERT_STREQ("assets", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 2);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 2);
     ASSERT_STREQ("id", currentAttribute->getName().c_str());
   }
 
@@ -220,27 +220,27 @@ namespace
   TEST_F(XmlNodeTest, addAttributeToEnd)
   {
     ls::std::io::XmlNode dialogNode{"dialog"};
-    std::shared_ptr<ls::std::io::XmlAttribute> currentAttribute{};
+    ::std::shared_ptr<ls::std::io::XmlAttribute> currentAttribute{};
 
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("id"));
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("id"));
     ASSERT_EQ(1, dialogNode.getAttributes().size());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 0);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 0);
     ASSERT_STREQ("id", currentAttribute->getName().c_str());
 
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("assets"));
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("assets"));
     ASSERT_EQ(2, dialogNode.getAttributes().size());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 0);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 0);
     ASSERT_STREQ("id", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 1);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 1);
     ASSERT_STREQ("assets", currentAttribute->getName().c_str());
 
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("events"));
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("events"));
     ASSERT_EQ(3, dialogNode.getAttributes().size());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 0);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 0);
     ASSERT_STREQ("id", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 1);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 1);
     ASSERT_STREQ("assets", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 2);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 2);
     ASSERT_STREQ("events", currentAttribute->getName().c_str());
   }
 
@@ -263,50 +263,50 @@ namespace
   TEST_F(XmlNodeTest, addChildAfter)
   {
     ls::std::io::XmlNode dialogsNode{"dialogs"};
-    std::shared_ptr<ls::std::io::XmlNode> currentNode{};
-    std::shared_ptr<ls::std::io::XmlNode> dialogNodeA = std::make_shared<ls::std::io::XmlNode>("dialogNodeA");
-    std::shared_ptr<ls::std::io::XmlNode> dialogNodeB = std::make_shared<ls::std::io::XmlNode>("dialogNodeB");
-    std::shared_ptr<ls::std::io::XmlNode> dialogNodeC = std::make_shared<ls::std::io::XmlNode>("dialogNodeC");
-    std::shared_ptr<ls::std::io::XmlNode> dialogNodeD = std::make_shared<ls::std::io::XmlNode>("dialogNodeD");
+    ::std::shared_ptr<ls::std::io::XmlNode> currentNode{};
+    ::std::shared_ptr<ls::std::io::XmlNode> dialogNodeA = ::std::make_shared<ls::std::io::XmlNode>("dialogNodeA");
+    ::std::shared_ptr<ls::std::io::XmlNode> dialogNodeB = ::std::make_shared<ls::std::io::XmlNode>("dialogNodeB");
+    ::std::shared_ptr<ls::std::io::XmlNode> dialogNodeC = ::std::make_shared<ls::std::io::XmlNode>("dialogNodeC");
+    ::std::shared_ptr<ls::std::io::XmlNode> dialogNodeD = ::std::make_shared<ls::std::io::XmlNode>("dialogNodeD");
 
     ASSERT_TRUE(dialogsNode.addChildToEnd(dialogNodeB));
     ASSERT_TRUE(dialogsNode.addChildToEnd(dialogNodeC));
     ASSERT_EQ(2, dialogsNode.getChildren().size());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogNodeB", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 1);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 1);
     ASSERT_STREQ("dialogNodeC", currentNode->getName().c_str());
 
     // add A after B
 
     ASSERT_TRUE(dialogsNode.addChildAfter(dialogNodeA, dialogNodeB));
 
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogNodeB", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 1);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 1);
     ASSERT_STREQ("dialogNodeA", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 2);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 2);
     ASSERT_STREQ("dialogNodeC", currentNode->getName().c_str());
 
     // add D after C
 
     ASSERT_TRUE(dialogsNode.addChildAfter(dialogNodeD, dialogNodeC));
 
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogNodeB", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 1);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 1);
     ASSERT_STREQ("dialogNodeA", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 2);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 2);
     ASSERT_STREQ("dialogNodeC", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 3);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 3);
     ASSERT_STREQ("dialogNodeD", currentNode->getName().c_str());
   }
 
   TEST_F(XmlNodeTest, addChildAfter_no_search_node_available)
   {
     ls::std::io::XmlNode dialogsNode{"dialogs"};
-    std::shared_ptr<ls::std::io::XmlNode> newChild = std::make_shared<ls::std::io::XmlNode>("newChild");
-    std::shared_ptr<ls::std::io::XmlNode> searchNode = std::make_shared<ls::std::io::XmlNode>("searchNode");
+    ::std::shared_ptr<ls::std::io::XmlNode> newChild = ::std::make_shared<ls::std::io::XmlNode>("newChild");
+    ::std::shared_ptr<ls::std::io::XmlNode> searchNode = ::std::make_shared<ls::std::io::XmlNode>("searchNode");
 
     ASSERT_FALSE(dialogsNode.addChildAfter(newChild, searchNode));
   }
@@ -318,7 +318,7 @@ namespace
     EXPECT_THROW({
                    try
                    {
-                     dialogNode.addChildAfter(nullptr, std::make_shared<ls::std::io::XmlNode>("children"));
+                     dialogNode.addChildAfter(nullptr, ::std::make_shared<ls::std::io::XmlNode>("children"));
                    }
                    catch (const ls::std::core::IllegalArgumentException &_exception)
                    {
@@ -334,7 +334,7 @@ namespace
     EXPECT_THROW({
                    try
                    {
-                     dialogNode.addChildAfter(std::make_shared<ls::std::io::XmlNode>("newChild"), nullptr);
+                     dialogNode.addChildAfter(::std::make_shared<ls::std::io::XmlNode>("newChild"), nullptr);
                    }
                    catch (const ls::std::core::IllegalArgumentException &_exception)
                    {
@@ -346,50 +346,50 @@ namespace
   TEST_F(XmlNodeTest, addChildBefore)
   {
     ls::std::io::XmlNode dialogsNode{"dialogs"};
-    std::shared_ptr<ls::std::io::XmlNode> currentNode{};
-    std::shared_ptr<ls::std::io::XmlNode> dialogNodeA = std::make_shared<ls::std::io::XmlNode>("dialogNodeA");
-    std::shared_ptr<ls::std::io::XmlNode> dialogNodeB = std::make_shared<ls::std::io::XmlNode>("dialogNodeB");
-    std::shared_ptr<ls::std::io::XmlNode> dialogNodeC = std::make_shared<ls::std::io::XmlNode>("dialogNodeC");
-    std::shared_ptr<ls::std::io::XmlNode> dialogNodeD = std::make_shared<ls::std::io::XmlNode>("dialogNodeD");
+    ::std::shared_ptr<ls::std::io::XmlNode> currentNode{};
+    ::std::shared_ptr<ls::std::io::XmlNode> dialogNodeA = ::std::make_shared<ls::std::io::XmlNode>("dialogNodeA");
+    ::std::shared_ptr<ls::std::io::XmlNode> dialogNodeB = ::std::make_shared<ls::std::io::XmlNode>("dialogNodeB");
+    ::std::shared_ptr<ls::std::io::XmlNode> dialogNodeC = ::std::make_shared<ls::std::io::XmlNode>("dialogNodeC");
+    ::std::shared_ptr<ls::std::io::XmlNode> dialogNodeD = ::std::make_shared<ls::std::io::XmlNode>("dialogNodeD");
 
     ASSERT_TRUE(dialogsNode.addChildToEnd(dialogNodeB));
     ASSERT_TRUE(dialogsNode.addChildToEnd(dialogNodeC));
     ASSERT_EQ(2, dialogsNode.getChildren().size());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogNodeB", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 1);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 1);
     ASSERT_STREQ("dialogNodeC", currentNode->getName().c_str());
 
     // add A before C
 
     ASSERT_TRUE(dialogsNode.addChildBefore(dialogNodeA, dialogNodeC));
 
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogNodeB", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 1);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 1);
     ASSERT_STREQ("dialogNodeA", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 2);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 2);
     ASSERT_STREQ("dialogNodeC", currentNode->getName().c_str());
 
     // add D before B
 
     ASSERT_TRUE(dialogsNode.addChildBefore(dialogNodeD, dialogNodeB));
 
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogNodeD", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 1);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 1);
     ASSERT_STREQ("dialogNodeB", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 2);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 2);
     ASSERT_STREQ("dialogNodeA", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 3);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 3);
     ASSERT_STREQ("dialogNodeC", currentNode->getName().c_str());
   }
 
   TEST_F(XmlNodeTest, addChildBefore_no_search_node_available)
   {
     ls::std::io::XmlNode dialogsNode{"dialogs"};
-    std::shared_ptr<ls::std::io::XmlNode> newChild = std::make_shared<ls::std::io::XmlNode>("newChild");
-    std::shared_ptr<ls::std::io::XmlNode> searchNode = std::make_shared<ls::std::io::XmlNode>("searchNode");
+    ::std::shared_ptr<ls::std::io::XmlNode> newChild = ::std::make_shared<ls::std::io::XmlNode>("newChild");
+    ::std::shared_ptr<ls::std::io::XmlNode> searchNode = ::std::make_shared<ls::std::io::XmlNode>("searchNode");
 
     ASSERT_FALSE(dialogsNode.addChildBefore(newChild, searchNode));
   }
@@ -401,7 +401,7 @@ namespace
     EXPECT_THROW({
                    try
                    {
-                     dialogNode.addChildBefore(nullptr, std::make_shared<ls::std::io::XmlNode>("children"));
+                     dialogNode.addChildBefore(nullptr, ::std::make_shared<ls::std::io::XmlNode>("children"));
                    }
                    catch (const ls::std::core::IllegalArgumentException &_exception)
                    {
@@ -417,7 +417,7 @@ namespace
     EXPECT_THROW({
                    try
                    {
-                     dialogNode.addChildBefore(std::make_shared<ls::std::io::XmlNode>("newChild"), nullptr);
+                     dialogNode.addChildBefore(::std::make_shared<ls::std::io::XmlNode>("newChild"), nullptr);
                    }
                    catch (const ls::std::core::IllegalArgumentException &_exception)
                    {
@@ -429,7 +429,7 @@ namespace
   TEST_F(XmlNodeTest, addChildToBeginning)
   {
     ls::std::io::XmlNode dialogsNode{"dialogs"};
-    std::shared_ptr<ls::std::io::XmlNode> currentNode{};
+    ::std::shared_ptr<ls::std::io::XmlNode> currentNode{};
 
     ls::std::io::XmlNode dialogNodeA{"dialogNodeA"};
     ls::std::io::XmlNode dialogNodeB{"dialogNodeB"};
@@ -440,31 +440,31 @@ namespace
 
     // adding C
 
-    ASSERT_TRUE(dialogsNode.addChildToBeginning(std::make_shared<ls::std::io::XmlNode>(dialogNodeC)));
+    ASSERT_TRUE(dialogsNode.addChildToBeginning(::std::make_shared<ls::std::io::XmlNode>(dialogNodeC)));
     ASSERT_TRUE(!dialogsNode.getChildren().empty());
     ASSERT_EQ(1, dialogsNode.getChildren().size());
 
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogNodeC", currentNode->getName().c_str());
 
     // adding B
 
-    ASSERT_TRUE(dialogsNode.addChildToBeginning(std::make_shared<ls::std::io::XmlNode>(dialogNodeB)));
+    ASSERT_TRUE(dialogsNode.addChildToBeginning(::std::make_shared<ls::std::io::XmlNode>(dialogNodeB)));
     ASSERT_EQ(2, dialogsNode.getChildren().size());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogNodeB", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 1);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 1);
     ASSERT_STREQ("dialogNodeC", currentNode->getName().c_str());
 
     // adding A
 
-    ASSERT_TRUE(dialogsNode.addChildToBeginning(std::make_shared<ls::std::io::XmlNode>(dialogNodeA)));
+    ASSERT_TRUE(dialogsNode.addChildToBeginning(::std::make_shared<ls::std::io::XmlNode>(dialogNodeA)));
     ASSERT_EQ(3, dialogsNode.getChildren().size());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogNodeA", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 1);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 1);
     ASSERT_STREQ("dialogNodeB", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 2);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 2);
     ASSERT_STREQ("dialogNodeC", currentNode->getName().c_str());
   }
 
@@ -487,7 +487,7 @@ namespace
   TEST_F(XmlNodeTest, addChildToEnd)
   {
     ls::std::io::XmlNode dialogsNode{"dialogs"};
-    std::shared_ptr<ls::std::io::XmlNode> currentNode{};
+    ::std::shared_ptr<ls::std::io::XmlNode> currentNode{};
 
     ls::std::io::XmlNode dialogNodeA{"dialogNodeA"};
     ls::std::io::XmlNode dialogNodeB{"dialogNodeB"};
@@ -498,31 +498,31 @@ namespace
 
     // adding C
 
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>(dialogNodeC)));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>(dialogNodeC)));
     ASSERT_TRUE(!dialogsNode.getChildren().empty());
     ASSERT_EQ(1, dialogsNode.getChildren().size());
 
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogNodeC", currentNode->getName().c_str());
 
     // adding B
 
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>(dialogNodeB)));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>(dialogNodeB)));
     ASSERT_EQ(2, dialogsNode.getChildren().size());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogNodeC", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 1);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 1);
     ASSERT_STREQ("dialogNodeB", currentNode->getName().c_str());
 
     // adding A
 
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>(dialogNodeA)));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>(dialogNodeA)));
     ASSERT_EQ(3, dialogsNode.getChildren().size());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogNodeC", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 1);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 1);
     ASSERT_STREQ("dialogNodeB", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 2);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 2);
     ASSERT_STREQ("dialogNodeA", currentNode->getName().c_str());
   }
 
@@ -573,11 +573,11 @@ namespace
 
     // preparation
 
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>(dialogNode)));
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>(otherNode)));
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>(otherNode)));
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>(dialogNode)));
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>(otherNode)));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>(dialogNode)));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>(otherNode)));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>(otherNode)));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>(dialogNode)));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>(otherNode)));
 
     // check
 
@@ -602,9 +602,9 @@ namespace
   TEST_F(XmlNodeTest, hasAttribute)
   {
     ls::std::io::XmlNode dialogNode{"dialogNode"};
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("id"));
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("events"));
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("assets"));
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("id"));
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("events"));
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("assets"));
 
     ASSERT_TRUE(dialogNode.hasAttribute("id"));
     ASSERT_TRUE(dialogNode.hasAttribute("events"));
@@ -636,9 +636,9 @@ namespace
   TEST_F(XmlNodeTest, hasChild)
   {
     ls::std::io::XmlNode dialogsNode{"dialogsNode"};
-    dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>("dialogA"));
-    dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>("dialogB"));
-    dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>("dialogC"));
+    dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>("dialogA"));
+    dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>("dialogB"));
+    dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>("dialogC"));
 
     ASSERT_TRUE(dialogsNode.hasChild("dialogA"));
     ASSERT_TRUE(dialogsNode.hasChild("dialogB"));
@@ -670,10 +670,10 @@ namespace
   TEST_F(XmlNodeTest, hasChildV2)
   {
     ls::std::io::XmlNode dialogsNode{"dialogsNode"};
-    std::shared_ptr<ls::std::io::XmlNode> searchNode = std::make_shared<ls::std::io::XmlNode>("dialogB");
-    dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>("dialogA"));
+    std::shared_ptr<ls::std::io::XmlNode> searchNode = ::std::make_shared<ls::std::io::XmlNode>("dialogB");
+    dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>("dialogA"));
     dialogsNode.addChildToEnd(searchNode);
-    dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>("dialogC"));
+    dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>("dialogC"));
 
     ASSERT_TRUE(dialogsNode.hasChild(searchNode));
   }
@@ -681,7 +681,7 @@ namespace
   TEST_F(XmlNodeTest, hasChildV2_child_not_available)
   {
     ls::std::io::XmlNode dialogsNode{"dialogsNode"};
-    std::shared_ptr<ls::std::io::XmlNode> searchNode = std::make_shared<ls::std::io::XmlNode>("dialogB");
+    ::std::shared_ptr<ls::std::io::XmlNode> searchNode = ::std::make_shared<ls::std::io::XmlNode>("dialogB");
 
     ASSERT_FALSE(dialogsNode.hasChild(searchNode));
   }
@@ -689,7 +689,7 @@ namespace
   TEST_F(XmlNodeTest, hasChildV2_no_child_reference)
   {
     ls::std::io::XmlNode dialogNode{"dialog"};
-    std::shared_ptr<ls::std::io::XmlNode> searchNode{};
+    ::std::shared_ptr<ls::std::io::XmlNode> searchNode{};
 
     EXPECT_THROW({
                    try
@@ -706,10 +706,10 @@ namespace
   TEST_F(XmlNodeTest, removeFirstAttribute)
   {
     ls::std::io::XmlNode dialogNode{"dialog"};
-    std::shared_ptr<ls::std::io::XmlAttribute> currentAttribute{};
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("id"));
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("events"));
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("assets"));
+    ::std::shared_ptr<ls::std::io::XmlAttribute> currentAttribute{};
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("id"));
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("events"));
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("assets"));
 
     ASSERT_TRUE(!dialogNode.getAttributes().empty());
     ASSERT_EQ(3, dialogNode.getAttributes().size());
@@ -717,9 +717,9 @@ namespace
     ASSERT_TRUE(dialogNode.removeFirstAttribute());
     ASSERT_EQ(2, dialogNode.getAttributes().size());
 
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 0);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 0);
     ASSERT_STREQ("events", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 1);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 1);
     ASSERT_STREQ("assets", currentAttribute->getName().c_str());
   }
 
@@ -732,10 +732,10 @@ namespace
   TEST_F(XmlNodeTest, removeLastAttribute)
   {
     ls::std::io::XmlNode dialogNode{"dialog"};
-    std::shared_ptr<ls::std::io::XmlAttribute> currentAttribute{};
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("id"));
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("events"));
-    dialogNode.addAttributeToEnd(std::make_shared<ls::std::io::XmlAttribute>("assets"));
+    ::std::shared_ptr<ls::std::io::XmlAttribute> currentAttribute{};
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("id"));
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("events"));
+    dialogNode.addAttributeToEnd(::std::make_shared<ls::std::io::XmlAttribute>("assets"));
 
     ASSERT_TRUE(!dialogNode.getAttributes().empty());
     ASSERT_EQ(3, dialogNode.getAttributes().size());
@@ -743,9 +743,9 @@ namespace
     ASSERT_TRUE(dialogNode.removeLastAttribute());
     ASSERT_EQ(2, dialogNode.getAttributes().size());
 
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 0);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 0);
     ASSERT_STREQ("id", currentAttribute->getName().c_str());
-    currentAttribute = *std::next(dialogNode.getAttributes().begin(), 1);
+    currentAttribute = *::std::next(dialogNode.getAttributes().begin(), 1);
     ASSERT_STREQ("events", currentAttribute->getName().c_str());
   }
 
@@ -758,38 +758,38 @@ namespace
   TEST_F(XmlNodeTest, removeFirstChild)
   {
     ls::std::io::XmlNode dialogsNode{"dialogs"};
-    std::shared_ptr<ls::std::io::XmlNode> currentNode{};
+    ::std::shared_ptr<ls::std::io::XmlNode> currentNode{};
 
     // preparation
 
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>("dialogA")));
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>("dialogB")));
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>("dialogC")));
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>("additionalInfo")));
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>("event")));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>("dialogA")));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>("dialogB")));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>("dialogC")));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>("additionalInfo")));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>("event")));
 
     ASSERT_EQ(5, dialogsNode.getChildren().size());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogA", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 1);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 1);
     ASSERT_STREQ("dialogB", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 2);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 2);
     ASSERT_STREQ("dialogC", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 3);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 3);
     ASSERT_STREQ("additionalInfo", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 4);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 4);
     ASSERT_STREQ("event", currentNode->getName().c_str());
 
     // check
 
     ASSERT_TRUE(dialogsNode.removeFirstChild());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogB", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 1);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 1);
     ASSERT_STREQ("dialogC", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 2);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 2);
     ASSERT_STREQ("additionalInfo", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 3);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 3);
     ASSERT_STREQ("event", currentNode->getName().c_str());
   }
 
@@ -802,38 +802,38 @@ namespace
   TEST_F(XmlNodeTest, removeLastChild)
   {
     ls::std::io::XmlNode dialogsNode{"dialogs"};
-    std::shared_ptr<ls::std::io::XmlNode> currentNode{};
+    ::std::shared_ptr<ls::std::io::XmlNode> currentNode{};
 
     // preparation
 
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>("dialogA")));
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>("dialogB")));
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>("dialogC")));
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>("additionalInfo")));
-    ASSERT_TRUE(dialogsNode.addChildToEnd(std::make_shared<ls::std::io::XmlNode>("event")));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>("dialogA")));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>("dialogB")));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>("dialogC")));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>("additionalInfo")));
+    ASSERT_TRUE(dialogsNode.addChildToEnd(::std::make_shared<ls::std::io::XmlNode>("event")));
 
     ASSERT_EQ(5, dialogsNode.getChildren().size());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogA", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 1);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 1);
     ASSERT_STREQ("dialogB", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 2);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 2);
     ASSERT_STREQ("dialogC", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 3);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 3);
     ASSERT_STREQ("additionalInfo", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 4);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 4);
     ASSERT_STREQ("event", currentNode->getName().c_str());
 
     // check
 
     ASSERT_TRUE(dialogsNode.removeLastChild());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 0);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 0);
     ASSERT_STREQ("dialogA", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 1);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 1);
     ASSERT_STREQ("dialogB", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 2);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 2);
     ASSERT_STREQ("dialogC", currentNode->getName().c_str());
-    currentNode = *std::next(dialogsNode.getChildren().begin(), 3);
+    currentNode = *::std::next(dialogsNode.getChildren().begin(), 3);
     ASSERT_STREQ("additionalInfo", currentNode->getName().c_str());
   }
 
@@ -894,15 +894,15 @@ namespace
   TEST_F(XmlNodeTest, toXml)
   {
     auto root = ls_std_io_test::TestDataFactory::createXmlContent();
-    std::string xmlContent = root->toXml();
+    ::std::string xmlContent = root->toXml();
 
     ASSERT_TRUE(!xmlContent.empty());
   }
 
   TEST_F(XmlNodeTest, toXml_no_value)
   {
-    std::shared_ptr<ls::std::io::XmlNode> singleLineElement = std::make_shared<ls::std::io::XmlNode>("info");
-    std::shared_ptr<ls::std::io::XmlAttribute> attribute = std::make_shared<ls::std::io::XmlAttribute>("id");
+    ::std::shared_ptr<ls::std::io::XmlNode> singleLineElement = ::std::make_shared<ls::std::io::XmlNode>("info");
+    ::std::shared_ptr<ls::std::io::XmlAttribute> attribute = ::std::make_shared<ls::std::io::XmlAttribute>("id");
     attribute->setValue("important");
     singleLineElement->addAttributeToEnd(attribute);
 

+ 13 - 13
test/cases/io/xml/XmlParserTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-26
- * Changed:         2022-05-15
+ * Changed:         2022-05-20
  *
  * */
 
@@ -23,7 +23,7 @@ namespace
 
       static ls::std::core::type::byte_field readXmlStateMachine()
       {
-        std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
+        ::std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
         ls::std::io::File file{xmlPath};
         ls::std::core::type::byte_field data = ls::std::io::FileReader{file}.read();
 
@@ -39,7 +39,7 @@ namespace
 
   TEST_F(XmlParserTest, constructor)
   {
-    std::shared_ptr<ls::std::io::XmlDocument> document{};
+    ::std::shared_ptr<ls::std::io::XmlDocument> document{};
 
     EXPECT_THROW({
                    try
@@ -55,9 +55,9 @@ namespace
 
   TEST_F(XmlParserTest, read)
   {
-    ls::std::io::XmlParser xmlParser{std::make_shared<ls::std::io::XmlDocument>()};
-    std::list<std::shared_ptr<ls::std::io::XmlNode>> children, statesChildren, memoryChildren, connectionChildren{};
-    std::list<std::shared_ptr<ls::std::io::XmlAttribute>> attributes{};
+    ls::std::io::XmlParser xmlParser{::std::make_shared<ls::std::io::XmlDocument>()};
+    ::std::list<::std::shared_ptr<ls::std::io::XmlNode>> children, statesChildren, memoryChildren, connectionChildren{};
+    ::std::list<::std::shared_ptr<ls::std::io::XmlAttribute>> attributes{};
 
     ls::std::core::type::byte_field data = readXmlStateMachine();
     xmlParser.parse(data);
@@ -70,7 +70,7 @@ namespace
 
     // check root element
 
-    std::shared_ptr<ls::std::io::XmlNode> root = xmlParser.getDocument()->getRootElement();
+    ::std::shared_ptr<ls::std::io::XmlNode> root = xmlParser.getDocument()->getRootElement();
     ASSERT_STREQ("stateMachine", root->getName().c_str());
     ASSERT_STREQ("name", root->getAttributes().front()->getName().c_str());
     ASSERT_EQ(1, root->getAttributes().size());
@@ -222,27 +222,27 @@ namespace
 
   TEST_F(XmlParserTest, getDocument)
   {
-    std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
-    ls::std::io::XmlParser xmlParser{std::make_shared<ls::std::io::XmlDocument>()};
+    ::std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
+    ls::std::io::XmlParser xmlParser{::std::make_shared<ls::std::io::XmlDocument>()};
 
     ASSERT_TRUE(xmlParser.getDocument() != nullptr);
   }
 
   TEST_F(XmlParserTest, setDocument)
   {
-    std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
-    std::shared_ptr<ls::std::io::XmlDocument> document = std::make_shared<ls::std::io::XmlDocument>();
+    ::std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
+    ::std::shared_ptr<ls::std::io::XmlDocument> document = ::std::make_shared<ls::std::io::XmlDocument>();
     ls::std::io::XmlParser xmlParser{document};
     ASSERT_TRUE(xmlParser.getDocument() == document);
 
-    document = std::make_shared<ls::std::io::XmlDocument>();
+    document = ::std::make_shared<ls::std::io::XmlDocument>();
     xmlParser.setDocument(document);
     ASSERT_TRUE(xmlParser.getDocument() == document);
   }
 
   TEST_F(XmlParserTest, setDocument_no_reference)
   {
-    std::shared_ptr<ls::std::io::XmlDocument> document = std::make_shared<ls::std::io::XmlDocument>();
+    ::std::shared_ptr<ls::std::io::XmlDocument> document = ::std::make_shared<ls::std::io::XmlDocument>();
     ls::std::io::XmlParser xmlParser{document};
 
     EXPECT_THROW({

+ 7 - 7
test/cases/io/xml/XmlParserTestWrapperTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-10-18
- * Changed:         2021-05-14
+ * Changed:         2021-05-20
  *
  * */
 
@@ -28,7 +28,7 @@ namespace
 
   TEST_F(XmlParserTestWrapperTest, readAttribute)
   {
-    std::pair<std::string, std::string> attribute = ls_std_io_test::XmlParserTestWrapper::readAttribute(R"(name="tim")");
+    ::std::pair<::std::string, ::std::string> attribute = ls_std_io_test::XmlParserTestWrapper::readAttribute(R"(name="tim")");
     ASSERT_TRUE(attribute.first == "name");
     ASSERT_TRUE(attribute.second == "tim");
 
@@ -41,16 +41,16 @@ namespace
   {
     // first case
 
-    std::string tag = R"(<?xml version="1.0" encoding="UTF-8" ?>)";
-    std::list<std::pair<std::string, std::string>> attributes = ls_std_io_test::XmlParserTestWrapper::readAttributes(tag);
+    ::std::string tag = R"(<?xml version="1.0" encoding="UTF-8" ?>)";
+    ::std::list<::std::pair<::std::string, ::std::string>> attributes = ls_std_io_test::XmlParserTestWrapper::readAttributes(tag);
 
     ASSERT_EQ(2, attributes.size());
 
-    auto iterator = std::next(attributes.begin(), 0);
+    auto iterator = ::std::next(attributes.begin(), 0);
     ASSERT_TRUE(iterator->first == "version");
     ASSERT_TRUE(iterator->second == "1.0");
 
-    iterator = std::next(attributes.begin(), 1);
+    iterator = ::std::next(attributes.begin(), 1);
     ASSERT_TRUE(iterator->first == "encoding");
     ASSERT_TRUE(iterator->second == "UTF-8");
 
@@ -61,7 +61,7 @@ namespace
 
     ASSERT_EQ(1, attributes.size());
 
-    iterator = std::next(attributes.begin(), 0);
+    iterator = ::std::next(attributes.begin(), 0);
     ASSERT_TRUE(iterator->first == "name");
     ASSERT_TRUE(iterator->second == "test_machine");
   }

+ 14 - 14
test/cases/io/xml/XmlReaderTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-10-10
- * Changed:         2022-05-15
+ * Changed:         2022-05-20
  *
  * */
 
@@ -30,36 +30,36 @@ namespace
 
   TEST_F(XmlReaderTest, read)
   {
-    std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
-    ls::std::io::XmlReader xmlReader{std::make_shared<ls::std::io::XmlDocument>(), xmlPath};
+    ::std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
+    ls::std::io::XmlReader xmlReader{::std::make_shared<ls::std::io::XmlDocument>(), xmlPath};
 
     ASSERT_TRUE(!xmlReader.read().empty());
   }
 
   TEST_F(XmlReaderTest, getDocument)
   {
-    std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
-    ls::std::io::XmlReader xmlReader{std::make_shared<ls::std::io::XmlDocument>(), xmlPath};
+    ::std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
+    ls::std::io::XmlReader xmlReader{::std::make_shared<ls::std::io::XmlDocument>(), xmlPath};
 
     ASSERT_TRUE(xmlReader.getDocument() != nullptr);
   }
 
   TEST_F(XmlReaderTest, setDocument)
   {
-    std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
-    std::shared_ptr<ls::std::io::XmlDocument> document = std::make_shared<ls::std::io::XmlDocument>();
+    ::std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
+    ::std::shared_ptr<ls::std::io::XmlDocument> document = ::std::make_shared<ls::std::io::XmlDocument>();
     ls::std::io::XmlReader xmlReader{document, xmlPath};
     ASSERT_TRUE(xmlReader.getDocument() == document);
 
-    document = std::make_shared<ls::std::io::XmlDocument>();
+    document = ::std::make_shared<ls::std::io::XmlDocument>();
     xmlReader.setDocument(document);
     ASSERT_TRUE(xmlReader.getDocument() == document);
   }
 
   TEST_F(XmlReaderTest, setDocument_no_reference)
   {
-    std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
-    std::shared_ptr<ls::std::io::XmlDocument> document = std::make_shared<ls::std::io::XmlDocument>();
+    ::std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
+    ::std::shared_ptr<ls::std::io::XmlDocument> document = ::std::make_shared<ls::std::io::XmlDocument>();
     ls::std::io::XmlReader xmlReader{document, xmlPath};
 
     EXPECT_THROW({
@@ -76,8 +76,8 @@ namespace
 
   TEST_F(XmlReaderTest, setFile)
   {
-    std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
-    ls::std::io::XmlReader xmlReader{std::make_shared<ls::std::io::XmlDocument>(), xmlPath};
+    ::std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
+    ls::std::io::XmlReader xmlReader{::std::make_shared<ls::std::io::XmlDocument>(), xmlPath};
     ls::std::io::File xmlFile{xmlPath};
     xmlReader.setFile(xmlFile);
 
@@ -86,8 +86,8 @@ namespace
 
   TEST_F(XmlReaderTest, setFile_does_not_exist)
   {
-    std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
-    ls::std::io::XmlReader xmlReader{std::make_shared<ls::std::io::XmlDocument>(), xmlPath};
+    ::std::string xmlPath = ls_std_test::TestHelper::getResourcesFolderLocation() + "state_machine_test.xml";
+    ls::std::io::XmlReader xmlReader{::std::make_shared<ls::std::io::XmlDocument>(), xmlPath};
     ls::std::io::File xmlFile{xmlPath};
 
     EXPECT_THROW({

+ 7 - 7
test/cases/logic/StateMachineTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-09
- * Changed:         2022-05-15
+ * Changed:         2022-05-20
  *
  * */
 
@@ -51,14 +51,14 @@ namespace
   TEST_F(StateMachineTest, addState)
   {
     ls::std::logic::StateMachine stateMachine{"test_machine"};
-    ASSERT_TRUE(stateMachine.addState(std::make_shared<ls::std::logic::State>("A")));
+    ASSERT_TRUE(stateMachine.addState(::std::make_shared<ls::std::logic::State>("A")));
   }
 
   TEST_F(StateMachineTest, addState_state_already_exists)
   {
     ls::std::logic::StateMachine stateMachine{"test_machine"};
-    ASSERT_TRUE(stateMachine.addState(std::make_shared<ls::std::logic::State>("A")));
-    ASSERT_FALSE(stateMachine.addState(std::make_shared<ls::std::logic::State>("A")));
+    ASSERT_TRUE(stateMachine.addState(::std::make_shared<ls::std::logic::State>("A")));
+    ASSERT_FALSE(stateMachine.addState(::std::make_shared<ls::std::logic::State>("A")));
   }
 
   TEST_F(StateMachineTest, addState_no_reference)
@@ -79,7 +79,7 @@ namespace
   TEST_F(StateMachineTest, getCurrentState)
   {
     ls::std::logic::StateMachine stateMachine{"test_machine"};
-    ASSERT_TRUE(stateMachine.addState(std::make_shared<ls::std::logic::State>("A")));
+    ASSERT_TRUE(stateMachine.addState(::std::make_shared<ls::std::logic::State>("A")));
 
     ASSERT_TRUE(stateMachine.getCurrentState() == nullptr);
   }
@@ -173,7 +173,7 @@ namespace
   TEST_F(StateMachineTest, setMemory_no_memory)
   {
     ls::std::logic::StateMachine stateMachine{"test_machine"};
-    std::vector<ls::std::core::type::state_id> memory{};
+    ::std::vector<ls::std::core::type::state_id> memory{};
 
     EXPECT_THROW({
                    try
@@ -215,7 +215,7 @@ namespace
   {
     ls::std::logic::StateMachine stateMachine{"test_machine"};
     ASSERT_TRUE(stateMachine.getCurrentState() == nullptr);
-    stateMachine.addState(std::make_shared<ls::std::logic::State>("A"));
+    stateMachine.addState(::std::make_shared<ls::std::logic::State>("A"));
 
     ASSERT_TRUE(stateMachine.setStartState("A"));
     ASSERT_FALSE(stateMachine.getCurrentState() == nullptr);

+ 10 - 10
test/cases/logic/StateTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-05
- * Changed:         2022-05-15
+ * Changed:         2022-05-20
  *
  * */
 
@@ -55,7 +55,7 @@ namespace
     ls::std::logic::State stateA{"A"};
     ls::std::logic::State stateB{"B"};
 
-    ASSERT_TRUE(stateA.addStateConnection("AB", std::make_shared<ls::std::logic::State>(stateB)));
+    ASSERT_TRUE(stateA.addStateConnection("AB", ::std::make_shared<ls::std::logic::State>(stateB)));
   }
 
   TEST_F(StateTest, addStateConnection_v1_connection_already_exists)
@@ -63,8 +63,8 @@ namespace
     ls::std::logic::State stateA{"A"};
     ls::std::logic::State stateB{"B"};
 
-    ASSERT_TRUE(stateA.addStateConnection("AB", std::make_shared<ls::std::logic::State>(stateB)));
-    ASSERT_FALSE(stateA.addStateConnection("AB", std::make_shared<ls::std::logic::State>(stateB)));
+    ASSERT_TRUE(stateA.addStateConnection("AB", ::std::make_shared<ls::std::logic::State>(stateB)));
+    ASSERT_FALSE(stateA.addStateConnection("AB", ::std::make_shared<ls::std::logic::State>(stateB)));
   }
 
   TEST_F(StateTest, addStateConnection_v1_empty_connection_id)
@@ -74,7 +74,7 @@ namespace
     EXPECT_THROW({
                    try
                    {
-                     state.addStateConnection("", std::make_shared<ls::std::logic::State>("B"));
+                     state.addStateConnection("", ::std::make_shared<ls::std::logic::State>("B"));
                    }
                    catch (const ls::std::core::IllegalArgumentException &_exception)
                    {
@@ -104,7 +104,7 @@ namespace
     ls::std::logic::State stateA{"A"};
     ls::std::logic::State stateB{"B"};
 
-    ASSERT_TRUE(stateA.addStateConnection(std::make_shared<ls::std::logic::StateConnection>("AB", stateB.getId())));
+    ASSERT_TRUE(stateA.addStateConnection(::std::make_shared<ls::std::logic::StateConnection>("AB", stateB.getId())));
   }
 
   TEST_F(StateTest, addStateConnection_v2_no_reference)
@@ -126,8 +126,8 @@ namespace
   TEST_F(StateTest, clearConnections)
   {
     ls::std::logic::State stateA{"A"};
-    stateA.addStateConnection(std::make_shared<ls::std::logic::StateConnection>("AB", "B"));
-    stateA.addStateConnection(std::make_shared<ls::std::logic::StateConnection>("AC", "C"));
+    stateA.addStateConnection(::std::make_shared<ls::std::logic::StateConnection>("AB", "B"));
+    stateA.addStateConnection(::std::make_shared<ls::std::logic::StateConnection>("AC", "C"));
 
     ASSERT_FALSE(stateA.getConnectedStates().empty());
     stateA.clearConnections();
@@ -177,9 +177,9 @@ namespace
     ls::std::logic::State stateB{"B"};
     ls::std::logic::State stateC{"C"};
 
-    ASSERT_TRUE(stateA.addStateConnection("AB", std::make_shared<ls::std::logic::State>(stateB)));
+    ASSERT_TRUE(stateA.addStateConnection("AB", ::std::make_shared<ls::std::logic::State>(stateB)));
     ASSERT_TRUE(stateA.hasConnection("AB"));
-    ASSERT_TRUE(stateA.addStateConnection("AC", std::make_shared<ls::std::logic::State>(stateC)));
+    ASSERT_TRUE(stateA.addStateConnection("AC", ::std::make_shared<ls::std::logic::State>(stateC)));
     ASSERT_TRUE(stateA.hasConnection("AC"));
   }
 

+ 7 - 7
test/cases/logic/serialization/SerializableJsonStateConnectionTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-14
- * Changed:         2022-05-15
+ * Changed:         2022-05-20
  *
  * */
 
@@ -46,7 +46,7 @@ namespace
   TEST_F(SerializableJsonStateConnectionTest, marshal)
   {
     ls::std::logic::StateConnection x{"AB", "B"};
-    ls::std::logic::SerializableJsonStateConnection serializable{std::make_shared<ls::std::logic::StateConnection>(x)};
+    ls::std::logic::SerializableJsonStateConnection serializable{::std::make_shared<ls::std::logic::StateConnection>(x)};
     ::std::string jsonString{serializable.marshal()};
 
     ASSERT_STREQ(R"({"condition":false,"connectionId":"AB","stateId":"B"})", jsonString.c_str());
@@ -54,7 +54,7 @@ namespace
 
   TEST_F(SerializableJsonStateConnectionTest, unmarshal)
   {
-    std::shared_ptr<ls::std::logic::StateConnection> x = std::make_shared<ls::std::logic::StateConnection>("AB", "B");
+    ::std::shared_ptr<ls::std::logic::StateConnection> x = ::std::make_shared<ls::std::logic::StateConnection>("AB", "B");
     ASSERT_STREQ("AB", x->getConnectionId().c_str());
     ASSERT_STREQ("B", x->getStateId().c_str());
     ASSERT_FALSE(x->isPassable());
@@ -69,7 +69,7 @@ namespace
 
   TEST_F(SerializableJsonStateConnectionTest, getValue)
   {
-    std::shared_ptr<ls::std::logic::StateConnection> x = std::make_shared<ls::std::logic::StateConnection>("AB", "B");
+    ::std::shared_ptr<ls::std::logic::StateConnection> x = ::std::make_shared<ls::std::logic::StateConnection>("AB", "B");
     ls::std::logic::SerializableJsonStateConnection serializable{x};
     ASSERT_TRUE(serializable.getValue() == x);
   }
@@ -77,7 +77,7 @@ namespace
   TEST_F(SerializableJsonStateConnectionTest, setValue)
   {
     ls::std::logic::StateConnection x{"AB", "B"};
-    ls::std::logic::SerializableJsonStateConnection serializable{std::make_shared<ls::std::logic::StateConnection>(x)};
+    ls::std::logic::SerializableJsonStateConnection serializable{::std::make_shared<ls::std::logic::StateConnection>(x)};
     ::std::string jsonString{serializable.marshal()};
 
     ASSERT_STREQ(R"({"condition":false,"connectionId":"AB","stateId":"B"})", jsonString.c_str());
@@ -85,7 +85,7 @@ namespace
     // set value should now reset json
 
     ls::std::logic::StateConnection y{"BC", "C"};
-    serializable.setValue(std::make_shared<ls::std::logic::StateConnection>(y));
+    serializable.setValue(::std::make_shared<ls::std::logic::StateConnection>(y));
     jsonString = serializable.marshal();
 
     ASSERT_STREQ(R"({"condition":false,"connectionId":"BC","stateId":"C"})", jsonString.c_str());
@@ -95,7 +95,7 @@ namespace
   TEST_F(SerializableJsonStateConnectionTest, setValue_no_parameter_set)
   {
     ls::std::logic::StateConnection stateConnection{"AB", "B"};
-    ls::std::logic::SerializableJsonStateConnection serializable{std::make_shared<ls::std::logic::StateConnection>(stateConnection)};
+    ls::std::logic::SerializableJsonStateConnection serializable{::std::make_shared<ls::std::logic::StateConnection>(stateConnection)};
 
     EXPECT_THROW({
                    try

+ 9 - 9
test/cases/logic/serialization/SerializableJsonStateMachineTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-17
- * Changed:         2022-05-16
+ * Changed:         2022-05-20
  *
  * */
 
@@ -50,9 +50,9 @@ namespace
     ls::std::logic::StateMachine stateMachine = ls_std_logic_test::TestDataFactory::createStateMachine();
     stateMachine.setStartState("A");
     stateMachine.setMemory({"A", "B", "C"});
-    ls::std::logic::SerializableJsonStateMachine serializable{std::make_shared<ls::std::logic::StateMachine>(stateMachine)};
+    ls::std::logic::SerializableJsonStateMachine serializable{::std::make_shared<ls::std::logic::StateMachine>(stateMachine)};
 
-    std::string jsonString = serializable.marshal();
+    ::std::string jsonString = serializable.marshal();
     ASSERT_TRUE(!jsonString.empty());
 
     ::std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "/state_machine_test.json";
@@ -67,7 +67,7 @@ namespace
     ::std::string path = ls_std_test::TestHelper::getResourcesFolderLocation() + "/state_machine_test.json";
     path = ls_std_test::TestHelper::normalize(path);
 
-    std::shared_ptr<ls::std::logic::StateMachine> machine = std::make_shared<ls::std::logic::StateMachine>("bla");
+    ::std::shared_ptr<ls::std::logic::StateMachine> machine = ::std::make_shared<ls::std::logic::StateMachine>("bla");
     ls::std::logic::SerializableJsonStateMachine serializable{machine};
 
     serializable.unmarshal(ls_std_test::TestHelper::readFile(path));
@@ -92,7 +92,7 @@ namespace
     ASSERT_TRUE(!machine->getStates().empty());
     ASSERT_EQ(5, machine->getStates().size());
 
-    std::shared_ptr<ls::std::logic::State> state = machine->getStates().at("A");
+    ::std::shared_ptr<ls::std::logic::State> state = machine->getStates().at("A");
     ASSERT_STREQ("A", state->getId().c_str());
     ASSERT_EQ(1, state->getConnectedStates().size());
     ASSERT_STREQ("AB", state->getConnectedStates().at("AB")->getConnectionId().c_str());
@@ -121,25 +121,25 @@ namespace
 
   TEST_F(SerializableJsonStateMachineTest, getValue)
   {
-    std::shared_ptr<ls::std::logic::StateMachine> x = std::make_shared<ls::std::logic::StateMachine>("bla");
+    ::std::shared_ptr<ls::std::logic::StateMachine> x = ::std::make_shared<ls::std::logic::StateMachine>("bla");
     ls::std::logic::SerializableJsonStateMachine serializable{x};
     ASSERT_TRUE(serializable.getValue() == x);
   }
 
   TEST_F(SerializableJsonStateMachineTest, setValue)
   {
-    std::shared_ptr<ls::std::logic::StateMachine> x = std::make_shared<ls::std::logic::StateMachine>("bla");
+    ::std::shared_ptr<ls::std::logic::StateMachine> x = ::std::make_shared<ls::std::logic::StateMachine>("bla");
     ls::std::logic::SerializableJsonStateMachine serializable{x};
     ASSERT_TRUE(serializable.getValue() == x);
 
-    x = std::make_shared<ls::std::logic::StateMachine>("bla2");
+    x = ::std::make_shared<ls::std::logic::StateMachine>("bla2");
     serializable.setValue(x);
     ASSERT_TRUE(serializable.getValue() == x);
   }
 
   TEST_F(SerializableJsonStateMachineTest, setValue_no_parameter_set)
   {
-    std::shared_ptr<ls::std::logic::StateMachine> stateMachine = std::make_shared<ls::std::logic::StateMachine>("bla");
+    ::std::shared_ptr<ls::std::logic::StateMachine> stateMachine = ::std::make_shared<ls::std::logic::StateMachine>("bla");
     ls::std::logic::SerializableJsonStateMachine serializable{stateMachine};
 
     EXPECT_THROW({

+ 14 - 14
test/cases/logic/serialization/SerializableJsonStateTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-15
- * Changed:         2022-05-15
+ * Changed:         2022-05-20
  *
  * */
 
@@ -43,21 +43,21 @@ namespace
 
   TEST_F(SerializableJsonStateTest, marshal)
   {
-    std::shared_ptr<ls::std::logic::State> x = std::make_shared<ls::std::logic::State>("A");
-    x->addStateConnection(std::make_shared<ls::std::logic::StateConnection>("AB", "B"));
-    x->addStateConnection(std::make_shared<ls::std::logic::StateConnection>("AC", "C"));
+    ::std::shared_ptr<ls::std::logic::State> x = ::std::make_shared<ls::std::logic::State>("A");
+    x->addStateConnection(::std::make_shared<ls::std::logic::StateConnection>("AB", "B"));
+    x->addStateConnection(::std::make_shared<ls::std::logic::StateConnection>("AC", "C"));
 
     ls::std::logic::SerializableJsonState serializable{x};
     ls::std::core::type::byte_field jsonString = serializable.marshal();
 
     ASSERT_TRUE(!jsonString.empty());
-    std::string expectedJson = R"({"connectedStates":{"AB":{"condition":false,"connectionId":"AB","stateId":"B"},"AC":{"condition":false,"connectionId":"AC","stateId":"C"}},"id":"A"})";
+    ::std::string expectedJson = R"({"connectedStates":{"AB":{"condition":false,"connectionId":"AB","stateId":"B"},"AC":{"condition":false,"connectionId":"AC","stateId":"C"}},"id":"A"})";
     ASSERT_STREQ(expectedJson.c_str(), jsonString.c_str());
   }
 
   TEST_F(SerializableJsonStateTest, unmarshal)
   {
-    std::shared_ptr<ls::std::logic::State> x = std::make_shared<ls::std::logic::State>("A");
+    ::std::shared_ptr<ls::std::logic::State> x = ::std::make_shared<ls::std::logic::State>("A");
     ls::std::logic::SerializableJsonState serializable{x};
 
     // before
@@ -67,7 +67,7 @@ namespace
 
     // after
 
-    std::string jsonString = R"({"id":"A","connectedStates":{"AB":{"condition":false,"connectionId":"AB","stateId":"B"}}})";
+    ::std::string jsonString = R"({"id":"A","connectedStates":{"AB":{"condition":false,"connectionId":"AB","stateId":"B"}}})";
     serializable.unmarshal(jsonString);
 
     ASSERT_STREQ("A", x->getId().c_str());
@@ -79,26 +79,26 @@ namespace
 
   TEST_F(SerializableJsonStateTest, getValue)
   {
-    std::shared_ptr<ls::std::logic::State> x = std::make_shared<ls::std::logic::State>("A");
+    ::std::shared_ptr<ls::std::logic::State> x = ::std::make_shared<ls::std::logic::State>("A");
     ls::std::logic::SerializableJsonState serializable{x};
     ASSERT_TRUE(serializable.getValue() == x);
   }
 
   TEST_F(SerializableJsonStateTest, setValue)
   {
-    std::shared_ptr<ls::std::logic::State> x = std::make_shared<ls::std::logic::State>("A");
-    x->addStateConnection(std::make_shared<ls::std::logic::StateConnection>("AB", "B"));
-    x->addStateConnection(std::make_shared<ls::std::logic::StateConnection>("AC", "C"));
+    ::std::shared_ptr<ls::std::logic::State> x = ::std::make_shared<ls::std::logic::State>("A");
+    x->addStateConnection(::std::make_shared<ls::std::logic::StateConnection>("AB", "B"));
+    x->addStateConnection(::std::make_shared<ls::std::logic::StateConnection>("AC", "C"));
 
     ls::std::logic::SerializableJsonState serializable{x};
     ls::std::core::type::byte_field jsonString = serializable.marshal();
 
-    std::string expectedJson = R"({"connectedStates":{"AB":{"condition":false,"connectionId":"AB","stateId":"B"},"AC":{"condition":false,"connectionId":"AC","stateId":"C"}},"id":"A"})";
+    ::std::string expectedJson = R"({"connectedStates":{"AB":{"condition":false,"connectionId":"AB","stateId":"B"},"AC":{"condition":false,"connectionId":"AC","stateId":"C"}},"id":"A"})";
     ASSERT_STREQ(expectedJson.c_str(), jsonString.c_str());
 
     // setValue should now clear json
 
-    std::shared_ptr<ls::std::logic::State> y = std::make_shared<ls::std::logic::State>("B");
+    ::std::shared_ptr<ls::std::logic::State> y = ::std::make_shared<ls::std::logic::State>("B");
     serializable.setValue(y);
     jsonString = serializable.marshal();
 
@@ -107,7 +107,7 @@ namespace
 
   TEST_F(SerializableJsonStateTest, setValue_parameter_not_set)
   {
-    std::shared_ptr<ls::std::logic::State> state = std::make_shared<ls::std::logic::State>("A");
+    ::std::shared_ptr<ls::std::logic::State> state = ::std::make_shared<ls::std::logic::State>("A");
     ls::std::logic::SerializableJsonState serializable{state};
 
     EXPECT_THROW({

+ 5 - 5
test/cases/time/DateTest.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-14
- * Changed:         2022-05-16
+ * Changed:         2022-05-20
  *
  * */
 
@@ -213,10 +213,10 @@ namespace
   TEST_F(DateTest, toString)
   {
     ls::std::time::Date date{};
-    std::string regexSearchString = R"((\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}))";
-    std::regex _regex{regexSearchString};
-    std::string dateString = date.toString();
+    ::std::string regexSearchString = R"((\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}))";
+    ::std::regex _regex{regexSearchString};
+    ::std::string dateString = date.toString();
 
-    ASSERT_TRUE(std::regex_match(dateString, _regex));
+    ASSERT_TRUE(::std::regex_match(dateString, _regex));
   }
 }

+ 2 - 2
test/classes/event/DailyNewsAgency.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-27
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -28,7 +28,7 @@ void ls_std_event_test::DailyNewsAgency::clear()
   this->news.clear();
 }
 
-std::string ls_std_event_test::DailyNewsAgency::getNews()
+::std::string ls_std_event_test::DailyNewsAgency::getNews()
 {
   return this->news;
 }

+ 3 - 3
test/classes/event/DailyNewsAgency.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-27
- * Changed:         2022-05-19
+ * Changed:         2022-05-20
  *
  * */
 
@@ -32,11 +32,11 @@ namespace ls_std_event_test
       // additional functionality
 
       void clear();
-      std::string getNews();
+      ::std::string getNews();
 
     private:
 
-      std::string news{};
+      ::std::string news{};
   };
 }
 

+ 2 - 2
test/classes/event/GossipNewsAgency.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-27
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -33,7 +33,7 @@ void ls_std_event_test::GossipNewsAgency::clear()
   this->news.clear();
 }
 
-std::string ls_std_event_test::GossipNewsAgency::getNews()
+::std::string ls_std_event_test::GossipNewsAgency::getNews()
 {
   return this->news;
 }

+ 3 - 3
test/classes/event/GossipNewsAgency.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-27
- * Changed:         2022-05-19
+ * Changed:         2022-05-20
  *
  * */
 
@@ -32,11 +32,11 @@ namespace ls_std_event_test
       // additional functionality
 
       void clear();
-      std::string getNews();
+      ::std::string getNews();
 
     private:
 
-      std::string news{};
+      ::std::string news{};
   };
 }
 

+ 3 - 3
test/classes/event/GossipNewsEvent.cpp

@@ -3,14 +3,14 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-27
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
 #include "GossipNewsEvent.hpp"
 
-ls_std_event_test::GossipNewsEvent::GossipNewsEvent(const std::string &_news) : ls::std::event::Event("GossipNewsEvent")
+ls_std_event_test::GossipNewsEvent::GossipNewsEvent(const ::std::string &_news) : ls::std::event::Event("GossipNewsEvent")
 {
-  ls::std::core::type::event_parameter newsParameter = std::make_pair("news", _news);
+  ls::std::core::type::event_parameter newsParameter = ::std::make_pair("news", _news);
   this->addParameter(newsParameter);
 }

+ 2 - 2
test/classes/event/GossipNewsEvent.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-27
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -19,7 +19,7 @@ namespace ls_std_event_test
   {
     public:
 
-      explicit GossipNewsEvent(const std::string &_news);
+      explicit GossipNewsEvent(const ::std::string &_news);
       ~GossipNewsEvent() override = default;
   };
 }

+ 3 - 3
test/classes/event/NewsAgency.cpp

@@ -3,16 +3,16 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-27
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
 #include "NewsAgency.hpp"
 
-ls_std_event_test::NewsAgency::NewsAgency(std::string _agencyName) : agencyName(std::move(_agencyName))
+ls_std_event_test::NewsAgency::NewsAgency(::std::string _agencyName) : agencyName(::std::move(_agencyName))
 {}
 
-std::string ls_std_event_test::NewsAgency::getName()
+::std::string ls_std_event_test::NewsAgency::getName()
 {
   return this->agencyName;
 }

+ 4 - 4
test/classes/event/NewsAgency.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-27
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -18,14 +18,14 @@ namespace ls_std_event_test
   {
     public:
 
-      explicit NewsAgency(std::string _agencyName); // TODO: use ::std:: instead of std:: library wide
+      explicit NewsAgency(::std::string _agencyName);
       ~NewsAgency() = default;
 
-      std::string getName();
+      ::std::string getName();
 
     private:
 
-      std::string agencyName{};
+      ::std::string agencyName{};
   };
 }
 

+ 3 - 3
test/classes/event/SeriousNewsEvent.cpp

@@ -3,14 +3,14 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-27
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
 #include "SeriousNewsEvent.hpp"
 
-ls_std_event_test::SeriousNewsEvent::SeriousNewsEvent(const std::string &_news) : ls::std::event::Event("SeriousNewsEvent")
+ls_std_event_test::SeriousNewsEvent::SeriousNewsEvent(const ::std::string &_news) : ls::std::event::Event("SeriousNewsEvent")
 {
-  ls::std::core::type::event_parameter newsParameter = std::make_pair("news", _news);
+  ls::std::core::type::event_parameter newsParameter = ::std::make_pair("news", _news);
   this->addParameter(newsParameter);
 }

+ 2 - 2
test/classes/event/SeriousNewsEvent.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-27
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -19,7 +19,7 @@ namespace ls_std_event_test
   {
     public:
 
-      explicit SeriousNewsEvent(const std::string &_news);
+      explicit SeriousNewsEvent(const ::std::string &_news);
       ~SeriousNewsEvent() override = default;
   };
 }

+ 4 - 4
test/classes/event/TestDataCar.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-14
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -12,12 +12,12 @@
 ls_std_event_test::TestDataCar::TestDataCar() : color("white")
 {}
 
-std::string ls_std_event_test::TestDataCar::getColor()
+::std::string ls_std_event_test::TestDataCar::getColor()
 {
   return this->color;
 }
 
-void ls_std_event_test::TestDataCar::setColor(std::string _color)
+void ls_std_event_test::TestDataCar::setColor(::std::string _color)
 {
-  this->color = std::move(_color);
+  this->color = ::std::move(_color);
 }

+ 4 - 4
test/classes/event/TestDataCar.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-14
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -21,12 +21,12 @@ namespace ls_std_event_test
       TestDataCar();
       ~TestDataCar() = default;
 
-      std::string getColor();
-      void setColor(std::string _color);
+      ::std::string getColor();
+      void setColor(::std::string _color);
 
     private:
 
-      std::string color{};
+      ::std::string color{};
   };
 }
 

+ 13 - 13
test/classes/io/xml/TestDataFactory.cpp

@@ -3,37 +3,37 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2022-05-14
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
 #include "TestDataFactory.hpp"
 
-std::shared_ptr<ls::std::io::XmlNode> ls_std_io_test::TestDataFactory::createXmlContent()
+::std::shared_ptr<ls::std::io::XmlNode> ls_std_io_test::TestDataFactory::createXmlContent()
 {
-  std::shared_ptr<ls::std::io::XmlNode> root = std::make_shared<ls::std::io::XmlNode>("dialog");
-  std::shared_ptr<ls::std::io::XmlAttribute> attribute{};
-  std::shared_ptr<ls::std::io::XmlNode> child{};
-  std::shared_ptr<ls::std::io::XmlNode> text{};
+  ::std::shared_ptr<ls::std::io::XmlNode> root = ::std::make_shared<ls::std::io::XmlNode>("dialog");
+  ::std::shared_ptr<ls::std::io::XmlAttribute> attribute{};
+  ::std::shared_ptr<ls::std::io::XmlNode> child{};
+  ::std::shared_ptr<ls::std::io::XmlNode> text{};
 
-  attribute = std::make_shared<ls::std::io::XmlAttribute>("name");
+  attribute = ::std::make_shared<ls::std::io::XmlAttribute>("name");
   attribute->setValue("dungeon_001");
   root->addAttributeToEnd(attribute);
 
-  child = std::make_shared<ls::std::io::XmlNode>("dialogUnit");
-  attribute = std::make_shared<ls::std::io::XmlAttribute>("id");
+  child = ::std::make_shared<ls::std::io::XmlNode>("dialogUnit");
+  attribute = ::std::make_shared<ls::std::io::XmlAttribute>("id");
   attribute->setValue("001");
   child->addAttributeToEnd(attribute);
-  text = std::make_shared<ls::std::io::XmlNode>("text");
+  text = ::std::make_shared<ls::std::io::XmlNode>("text");
   text->setValue("Hello!");
   child->addChildToEnd(text);
   root->addChildToEnd(child);
 
-  child = std::make_shared<ls::std::io::XmlNode>("dialogUnit");
-  attribute = std::make_shared<ls::std::io::XmlAttribute>("id");
+  child = ::std::make_shared<ls::std::io::XmlNode>("dialogUnit");
+  attribute = ::std::make_shared<ls::std::io::XmlAttribute>("id");
   attribute->setValue("002");
   child->addAttributeToEnd(attribute);
-  text = std::make_shared<ls::std::io::XmlNode>("text");
+  text = ::std::make_shared<ls::std::io::XmlNode>("text");
   text->setValue("Hello again!");
   child->addChildToEnd(text);
   root->addChildToEnd(child);

+ 2 - 2
test/classes/io/xml/TestDataFactory.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2022-05-14
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -22,7 +22,7 @@ namespace ls_std_io_test
       TestDataFactory() = default;
       ~TestDataFactory() = default;
 
-      static std::shared_ptr<ls::std::io::XmlNode> createXmlContent();
+      static ::std::shared_ptr<ls::std::io::XmlNode> createXmlContent();
   };
 }
 

+ 4 - 4
test/classes/io/xml/XmlParserTestWrapper.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-10-18
- * Changed:         2022-05-14
+ * Changed:         2022-05-20
  *
  * */
 
@@ -12,12 +12,12 @@
 ls_std_io_test::XmlParserTestWrapper::XmlParserTestWrapper() : ls::std::io::XmlParser(nullptr)
 {}
 
-std::pair<std::string, std::string> ls_std_io_test::XmlParserTestWrapper::readAttribute(const ls::std::core::type::byte_field &_data)
+::std::pair<::std::string, ::std::string> ls_std_io_test::XmlParserTestWrapper::readAttribute(const ls::std::core::type::byte_field &_data)
 {
   return ls::std::io::XmlParser::_readAttribute_(_data);
 }
 
-std::list<std::pair<std::string, std::string>> ls_std_io_test::XmlParserTestWrapper::readAttributes(ls::std::core::type::byte_field _data)
+::std::list<::std::pair<::std::string, ::std::string>> ls_std_io_test::XmlParserTestWrapper::readAttributes(ls::std::core::type::byte_field _data)
 {
-  return ls::std::io::XmlParser::_readAttributes_(std::move(_data));
+  return ls::std::io::XmlParser::_readAttributes_(::std::move(_data));
 }

+ 3 - 3
test/classes/io/xml/XmlParserTestWrapper.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-10-18
- * Changed:         2022-05-16
+ * Changed:         2022-05-20
  *
  * */
 
@@ -21,8 +21,8 @@ namespace ls_std_io_test
       XmlParserTestWrapper();
       ~XmlParserTestWrapper() override = default;
 
-      static std::pair<std::string, std::string> readAttribute(const ls::std::core::type::byte_field &_data);
-      static std::list<std::pair<std::string, std::string>> readAttributes(ls::std::core::type::byte_field _data);
+      static ::std::pair<::std::string, ::std::string> readAttribute(const ls::std::core::type::byte_field &_data);
+      static ::std::list<::std::pair<::std::string, ::std::string>> readAttributes(ls::std::core::type::byte_field _data);
   };
 }
 

+ 6 - 6
test/classes/logic/TestDataFactory.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-16
- * Changed:         2022-05-15
+ * Changed:         2022-05-20
  *
  * */
 
@@ -13,11 +13,11 @@ ls::std::logic::StateMachine ls_std_logic_test::TestDataFactory::createStateMach
 {
   ls::std::logic::StateMachine stateMachine{"test_machine"};
 
-  std::shared_ptr<ls::std::logic::State> stateA = std::make_shared<ls::std::logic::State>("A");
-  std::shared_ptr<ls::std::logic::State> stateB = std::make_shared<ls::std::logic::State>("B");
-  std::shared_ptr<ls::std::logic::State> stateC = std::make_shared<ls::std::logic::State>("C");
-  std::shared_ptr<ls::std::logic::State> stateD = std::make_shared<ls::std::logic::State>("D");
-  std::shared_ptr<ls::std::logic::State> stateE = std::make_shared<ls::std::logic::State>("E");
+  ::std::shared_ptr<ls::std::logic::State> stateA = ::std::make_shared<ls::std::logic::State>("A");
+  ::std::shared_ptr<ls::std::logic::State> stateB = ::std::make_shared<ls::std::logic::State>("B");
+  ::std::shared_ptr<ls::std::logic::State> stateC = ::std::make_shared<ls::std::logic::State>("C");
+  ::std::shared_ptr<ls::std::logic::State> stateD = ::std::make_shared<ls::std::logic::State>("D");
+  ::std::shared_ptr<ls::std::logic::State> stateE = ::std::make_shared<ls::std::logic::State>("E");
 
   // add states