Advertisement
Guest User

Untitled

a guest
Oct 10th, 2012
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. TEST_CASE(blah) {
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement