mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Added files for multiply inclusions of test cases
This commit is contained in:
parent
8da845810d
commit
502da4b38d
13
projects/SelfTest/CompileTimePerfTests/10.tests.cpp
Normal file
13
projects/SelfTest/CompileTimePerfTests/10.tests.cpp
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// Include set of usage tests multiple times - for compile-time performance testing
|
||||||
|
// (do not run)
|
||||||
|
|
||||||
|
#include "All.tests.cpp"
|
||||||
|
#include "All.tests.cpp"
|
||||||
|
#include "All.tests.cpp"
|
||||||
|
#include "All.tests.cpp"
|
||||||
|
#include "All.tests.cpp"
|
||||||
|
#include "All.tests.cpp"
|
||||||
|
#include "All.tests.cpp"
|
||||||
|
#include "All.tests.cpp"
|
||||||
|
#include "All.tests.cpp"
|
||||||
|
#include "All.tests.cpp"
|
13
projects/SelfTest/CompileTimePerfTests/100.tests.cpp
Normal file
13
projects/SelfTest/CompileTimePerfTests/100.tests.cpp
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// Include set of usage tests multiple times - for compile-time performance testing
|
||||||
|
// (do not run)
|
||||||
|
|
||||||
|
#include "10.tests.cpp"
|
||||||
|
#include "10.tests.cpp"
|
||||||
|
#include "10.tests.cpp"
|
||||||
|
#include "10.tests.cpp"
|
||||||
|
#include "10.tests.cpp"
|
||||||
|
#include "10.tests.cpp"
|
||||||
|
#include "10.tests.cpp"
|
||||||
|
#include "10.tests.cpp"
|
||||||
|
#include "10.tests.cpp"
|
||||||
|
#include "10.tests.cpp"
|
15
projects/SelfTest/CompileTimePerfTests/All.tests.cpp
Normal file
15
projects/SelfTest/CompileTimePerfTests/All.tests.cpp
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// include set of usage tests into one file for compiler performance test purposes
|
||||||
|
// This whole file can now be included multiple times in 10.tests.cpp, and *that*
|
||||||
|
// file included multiple times (in 100.tests.cpp)
|
||||||
|
|
||||||
|
// Note that the intention is only for these files to be compiled. They will
|
||||||
|
// fail at runtime due to the re-user of test case names
|
||||||
|
|
||||||
|
#include "../UsageTests/Approx.tests.cpp"
|
||||||
|
#include "../UsageTests/BDD.tests.cpp"
|
||||||
|
#include "../UsageTests/Class.tests.cpp"
|
||||||
|
#include "../UsageTests/Compilation.tests.cpp"
|
||||||
|
#include "../UsageTests/Condition.tests.cpp"
|
||||||
|
#include "../UsageTests/Exception.tests.cpp"
|
||||||
|
#include "../UsageTests/Matchers.tests.cpp"
|
||||||
|
#include "../UsageTests/Misc.tests.cpp"
|
Loading…
Reference in New Issue
Block a user