Changeset 277:7abfb55f1ecc in lemon for test
- Timestamp:
- 09/22/08 10:56:01 (16 years ago)
- Branch:
- default
- Children:
- 279:6307bbbf285b, 280:e7f8647ce760
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/error_test.cc
r223 r277 48 48 } 49 49 50 void fixme_disable() {51 LEMON_FIXME("fixme_disable() is fixme!");52 }53 54 50 void check_assertion_disable() { 55 51 no_assertion_text_disable(); 56 52 assertion_text_disable(); 57 fixme_disable();58 53 } 59 54 #undef LEMON_DISABLE_ASSERTS … … 79 74 } 80 75 81 void fixme_custom() {82 LEMON_FIXME("fixme_custom() is fixme!");83 }84 85 76 void check_assertion_custom() { 86 77 no_assertion_text_custom(); 87 78 assertion_text_custom(); 88 fixme_custom(); 89 check(cnt == 2, "The custom assert handler does not work"); 79 check(cnt == 1, "The custom assert handler does not work"); 90 80 } 91 81
Note: See TracChangeset
for help on using the changeset viewer.