XmlParserTestWrapper.hpp 742 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-10-18
  6. * Changed: 2023-02-23
  7. *
  8. * */
  9. #ifndef LS_STD_XML_PARSER_MOCK_HPP
  10. #define LS_STD_XML_PARSER_MOCK_HPP
  11. #include <ls-std/ls-std-io.hpp>
  12. namespace test::io
  13. {
  14. class XmlParserTestWrapper : public ls::std::io::XmlParser
  15. {
  16. public:
  17. XmlParserTestWrapper();
  18. ~XmlParserTestWrapper() noexcept override;
  19. static ::std::pair<::std::string, ::std::string> readAttribute(const ls::std::core::type::byte_field &_data);
  20. static ::std::list<::std::pair<::std::string, ::std::string>> readAttributes(ls::std::core::type::byte_field _data);
  21. };
  22. }
  23. #endif