SHOW:
|
|
- or go back to the newest paste.
1 | TEST_CASE(blah) { | |
2 | - | // fixture code |
2 | + | // fixture code |
3 | MyFixture fix; | |
4 | // other setup code | |
5 | SECTION(foo) { | |
6 | // First test relying on fixture code | |
7 | } | |
8 | SECTION(bar) { | |
9 | // Second test relying on fixture code | |
10 | fix.setupState(14); | |
11 | // do stuff in the new state | |
12 | } | |
13 | } |