BsConsoleTestOutput.h 743 B

1234567891011121314151617181920212223242526
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "Testing/BsTestOutput.h"
  5. #include "Prerequisites/BsPrerequisitesUtil.h"
  6. namespace bs
  7. {
  8. /** @addtogroup Testing
  9. * @{
  10. */
  11. /** Outputs unit test failures to stdout. */
  12. class BS_UTILITY_EXPORT ConsoleTestOutput : public TestOutput
  13. {
  14. public:
  15. /** @copydoc TestOutput::outputFail */
  16. void outputFail(const String& desc,
  17. const String& function,
  18. const String& file,
  19. long line) final override;
  20. };
  21. /** @} */
  22. }