Share

Cgreen

Tracker: Patches

5 add pass and fail assertions - ID: 2742085
Last Update: Settings changed ( joaohf )

This is to enable expected exceptions patterns of this style:
try {
somethingThatShouldThrow();
fail();
}
catch(SpecificException& e) {
assert_string_equals(e.Message(), "invalid operation");
}


Matt Hargett ( matt_hargett ) - 2009-04-07 22:59

5

Closed

Accepted

João Henrique F. de Freitas

None

None

Public


Comment ( 1 )

Date: 2009-06-18 00:01
Sender: joaohfProject Admin

Hi,

can you provide some tests and put in tests/assertion_tests.c

Thanks


Attached File ( 1 )

Filename Description Download
cgreen.diff svn diff of changes Download

Changes ( 6 )

Field Old Value Date By
status_id Open 2009-06-20 12:36 joaohf
resolution_id None 2009-06-20 12:36 joaohf
allow_comments 1 2009-06-20 12:36 joaohf
close_date - 2009-06-20 12:36 joaohf
assigned_to nobody 2009-06-18 00:01 joaohf
File Added 321771: cgreen.diff 2009-04-07 22:59 matt_hargett