| 1 | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// |
| 2 | //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// |
| 3 | #pragma once |
| 4 | |
| 5 | #include "Testing/BsTestOutput.h" |
| 6 | #include "Prerequisites/BsPrerequisitesUtil.h" |
| 7 | |
| 8 | namespace bs |
| 9 | { |
| 10 | /** @addtogroup Testing |
| 11 | * @{ |
| 12 | */ |
| 13 | |
| 14 | /** Outputs unit test failures to stdout. */ |
| 15 | class BS_UTILITY_EXPORT ConsoleTestOutput : public TestOutput |
| 16 | { |
| 17 | public: |
| 18 | /** @copydoc TestOutput::outputFail */ |
| 19 | void outputFail(const String& desc, |
| 20 | const String& function, |
| 21 | const String& file, |
| 22 | long line) final override; |
| 23 | }; |
| 24 | |
| 25 | /** @} */ |
| 26 | } |
| 27 | |