MockFileExistenceEvaluator.hpp 789 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Co-Author: Claude Sonnet 4.6 (LLM)
  4. * Company: Lynar Studios
  5. * E-Mail: webmaster@lynarstudios.com
  6. * Created: 2023-02-21
  7. * Changed: 2026-06-23
  8. *
  9. * */
  10. #ifndef LS_STD_MOCK_FILE_EXISTENCE_EVALUATOR_HPP
  11. #define LS_STD_MOCK_FILE_EXISTENCE_EVALUATOR_HPP
  12. #include <ls-std/core/Class.hpp>
  13. #include <ls-std/core/interface/IEvaluator.hpp>
  14. namespace test::io
  15. {
  16. class MockFileExistenceEvaluator : public ls::standard::core::Class, public ls::standard::core::interface_type::IEvaluator
  17. {
  18. public:
  19. explicit MockFileExistenceEvaluator(bool _fileExists);
  20. ~MockFileExistenceEvaluator() noexcept override;
  21. void evaluate() override;
  22. private:
  23. bool fileExists{};
  24. };
  25. }
  26. #endif