| 1 |
// Copyright (c) Microsoft. All rights reserved. |
| 2 |
// Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| 3 |
|
| 4 |
#include "ctest.h" |
| 5 |
|
| 6 |
CTEST_BEGIN_TEST_SUITE(TestSuiteCleanupTests2) |
| 7 |
|
| 8 |
/*when CTEST_SUITE_CLEANUP asserts then no tests should be considered as passed. Note: there is 1 test in this suite*/ |
| 9 |
CTEST_SUITE_CLEANUP() |
| 10 |
{ |
| 11 |
CTEST_ASSERT_FAIL(); |
| 12 |
} |
| 13 |
|
| 14 |
CTEST_FUNCTION(some_test_function_that_does_nothing) |
| 15 |
{ |
| 16 |
|
| 17 |
} |
| 18 |
|
| 19 |
|
| 20 |
CTEST_END_TEST_SUITE(TestSuiteCleanupTests2) |