mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-23 08:33:50 +00:00
Allow test flags to be specified, so we don't need TEST_STRESS.
This commit is contained in:
parent
00ec14561b
commit
85a0c1c59f
4 changed files with 23 additions and 27 deletions
|
|
@ -38,16 +38,6 @@
|
|||
GTEST_TEST_(test_fixture, test_name, test_fixture##Fixture, \
|
||||
::testing::internal::GetTypeId<test_fixture##Fixture>())
|
||||
|
||||
/// Define a stress test. The test name is suffixed with Stress, so it will be
|
||||
/// excluded from normal unit test runs.
|
||||
#define TEST_STRESS(test_case_name, test_name)\
|
||||
TEST(test_case_name##Stress, test_name)
|
||||
|
||||
/// Define a stress test with a fixture.
|
||||
#define TEST_STRESS_FIX(test_fixture, test_name)\
|
||||
GTEST_TEST_(test_fixture##Stress, test_name, test_fixture##Fixture, \
|
||||
::testing::internal::GetTypeId<test_fixture##Fixture>())
|
||||
|
||||
#endif // TORQUE_TESTS_ENABLED
|
||||
|
||||
#endif // _UNIT_TESTING_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue