blob: 3d3df678586e4b5b3ac80612be0855b498223087 [file] [log] [blame]
Phil Nash2f7a2962013-09-27 19:01:14 +01001
2~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3CatchSelfTest is a Catch v1.0 b10 host application.
4Run with -? for options
5
6-------------------------------------------------------------------------------
7./failing/TestClass/failingCase
8-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +01009Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +010010...............................................................................
11
Phil Nash1e749382013-09-30 07:39:06 +010012Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +010013 REQUIRE( s == "world" )
14with expansion:
15 "hello" == "world"
16
17-------------------------------------------------------------------------------
18./failing/Fixture/failingCase
19-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +010020Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +010021...............................................................................
22
Phil Nash1e749382013-09-30 07:39:06 +010023Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +010024 REQUIRE( m_a == 2 )
25with expansion:
26 1 == 2
27
28-------------------------------------------------------------------------------
29./failing/conditions/equality
30-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +010031Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +010032...............................................................................
33
Phil Nash1e749382013-09-30 07:39:06 +010034Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +010035 CHECK( data.int_seven == 6 )
36with expansion:
37 7 == 6
38
Phil Nash1e749382013-09-30 07:39:06 +010039Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +010040 CHECK( data.int_seven == 8 )
41with expansion:
42 7 == 8
43
Phil Nash1e749382013-09-30 07:39:06 +010044Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +010045 CHECK( data.int_seven == 0 )
46with expansion:
47 7 == 0
48
Phil Nash1e749382013-09-30 07:39:06 +010049Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +010050 CHECK( data.float_nine_point_one == Approx( 9.11f ) )
51with expansion:
52 9.1 == Approx( 9.11 )
53
Phil Nash1e749382013-09-30 07:39:06 +010054Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +010055 CHECK( data.float_nine_point_one == Approx( 9.0f ) )
56with expansion:
57 9.1 == Approx( 9 )
58
Phil Nash1e749382013-09-30 07:39:06 +010059Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +010060 CHECK( data.float_nine_point_one == Approx( 1 ) )
61with expansion:
62 9.1 == Approx( 1 )
63
Phil Nash1e749382013-09-30 07:39:06 +010064Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +010065 CHECK( data.float_nine_point_one == Approx( 0 ) )
66with expansion:
67 9.1 == Approx( 0 )
68
Phil Nash1e749382013-09-30 07:39:06 +010069Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +010070 CHECK( data.double_pi == Approx( 3.1415 ) )
71with expansion:
72 3.1415926535 == Approx( 3.1415 )
73
Phil Nash1e749382013-09-30 07:39:06 +010074Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +010075 CHECK( data.str_hello == "goodbye" )
76with expansion:
77 "hello" == "goodbye"
78
Phil Nash1e749382013-09-30 07:39:06 +010079Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +010080 CHECK( data.str_hello == "hell" )
81with expansion:
82 "hello" == "hell"
83
Phil Nash1e749382013-09-30 07:39:06 +010084Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +010085 CHECK( data.str_hello == "hello1" )
86with expansion:
87 "hello" == "hello1"
88
Phil Nash1e749382013-09-30 07:39:06 +010089Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +010090 CHECK( data.str_hello.size() == 6 )
91with expansion:
92 5 == 6
93
Phil Nash1e749382013-09-30 07:39:06 +010094Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +010095 CHECK( x == Approx( 1.301 ) )
96with expansion:
97 1.3 == Approx( 1.301 )
98
99-------------------------------------------------------------------------------
100./failing/conditions/inequality
101-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100102Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100103...............................................................................
104
Phil Nash1e749382013-09-30 07:39:06 +0100105Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100106 CHECK( data.int_seven != 7 )
107with expansion:
108 7 != 7
109
Phil Nash1e749382013-09-30 07:39:06 +0100110Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100111 CHECK( data.float_nine_point_one != Approx( 9.1f ) )
112with expansion:
113 9.1 != Approx( 9.1 )
114
Phil Nash1e749382013-09-30 07:39:06 +0100115Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100116 CHECK( data.double_pi != Approx( 3.1415926535 ) )
117with expansion:
118 3.1415926535 != Approx( 3.14159 )
119
Phil Nash1e749382013-09-30 07:39:06 +0100120Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100121 CHECK( data.str_hello != "hello" )
122with expansion:
123 "hello" != "hello"
124
Phil Nash1e749382013-09-30 07:39:06 +0100125Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100126 CHECK( data.str_hello.size() != 5 )
127with expansion:
128 5 != 5
129
130-------------------------------------------------------------------------------
131./failing/conditions/ordered
132-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100133Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100134...............................................................................
135
Phil Nash1e749382013-09-30 07:39:06 +0100136Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100137 CHECK( data.int_seven > 7 )
138with expansion:
139 7 > 7
140
Phil Nash1e749382013-09-30 07:39:06 +0100141Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100142 CHECK( data.int_seven < 7 )
143with expansion:
144 7 < 7
145
Phil Nash1e749382013-09-30 07:39:06 +0100146Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100147 CHECK( data.int_seven > 8 )
148with expansion:
149 7 > 8
150
Phil Nash1e749382013-09-30 07:39:06 +0100151Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100152 CHECK( data.int_seven < 6 )
153with expansion:
154 7 < 6
155
Phil Nash1e749382013-09-30 07:39:06 +0100156Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100157 CHECK( data.int_seven < 0 )
158with expansion:
159 7 < 0
160
Phil Nash1e749382013-09-30 07:39:06 +0100161Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100162 CHECK( data.int_seven < -1 )
163with expansion:
164 7 < -1
165
Phil Nash1e749382013-09-30 07:39:06 +0100166Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100167 CHECK( data.int_seven >= 8 )
168with expansion:
169 7 >= 8
170
Phil Nash1e749382013-09-30 07:39:06 +0100171Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100172 CHECK( data.int_seven <= 6 )
173with expansion:
174 7 <= 6
175
Phil Nash1e749382013-09-30 07:39:06 +0100176Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100177 CHECK( data.float_nine_point_one < 9 )
178with expansion:
179 9.1 < 9
180
Phil Nash1e749382013-09-30 07:39:06 +0100181Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100182 CHECK( data.float_nine_point_one > 10 )
183with expansion:
184 9.1 > 10
185
Phil Nash1e749382013-09-30 07:39:06 +0100186Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100187 CHECK( data.float_nine_point_one > 9.2 )
188with expansion:
189 9.1 > 9.2
190
Phil Nash1e749382013-09-30 07:39:06 +0100191Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100192 CHECK( data.str_hello > "hello" )
193with expansion:
194 "hello" > "hello"
195
Phil Nash1e749382013-09-30 07:39:06 +0100196Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100197 CHECK( data.str_hello < "hello" )
198with expansion:
199 "hello" < "hello"
200
Phil Nash1e749382013-09-30 07:39:06 +0100201Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100202 CHECK( data.str_hello > "hellp" )
203with expansion:
204 "hello" > "hellp"
205
Phil Nash1e749382013-09-30 07:39:06 +0100206Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100207 CHECK( data.str_hello > "z" )
208with expansion:
209 "hello" > "z"
210
Phil Nash1e749382013-09-30 07:39:06 +0100211Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100212 CHECK( data.str_hello < "hellm" )
213with expansion:
214 "hello" < "hellm"
215
Phil Nash1e749382013-09-30 07:39:06 +0100216Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100217 CHECK( data.str_hello < "a" )
218with expansion:
219 "hello" < "a"
220
Phil Nash1e749382013-09-30 07:39:06 +0100221Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100222 CHECK( data.str_hello >= "z" )
223with expansion:
224 "hello" >= "z"
225
Phil Nash1e749382013-09-30 07:39:06 +0100226Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100227 CHECK( data.str_hello <= "a" )
228with expansion:
229 "hello" <= "a"
230
231-------------------------------------------------------------------------------
232./failing/conditions/not
233-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100234Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100235...............................................................................
236
Phil Nash1e749382013-09-30 07:39:06 +0100237Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100238 CHECK( false != false )
239
Phil Nash1e749382013-09-30 07:39:06 +0100240Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100241 CHECK( true != true )
242
Phil Nash1e749382013-09-30 07:39:06 +0100243Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100244 CHECK( !true )
245with expansion:
246 false
247
Phil Nash1e749382013-09-30 07:39:06 +0100248Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100249 CHECK_FALSE( true )
250
Phil Nash1e749382013-09-30 07:39:06 +0100251Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100252 CHECK( !trueValue )
253with expansion:
254 false
255
Phil Nash1e749382013-09-30 07:39:06 +0100256Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100257 CHECK_FALSE( trueValue )
258with expansion:
259 !true
260
Phil Nash1e749382013-09-30 07:39:06 +0100261Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100262 CHECK( !(1 == 1) )
263with expansion:
264 false
265
Phil Nash1e749382013-09-30 07:39:06 +0100266Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100267 CHECK_FALSE( 1 == 1 )
268with expansion:
269 !(1 == 1)
270
271-------------------------------------------------------------------------------
272./failing/exceptions/explicit
273-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100274Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100275...............................................................................
276
Phil Nash1e749382013-09-30 07:39:06 +0100277Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100278 CHECK_THROWS_AS( thisThrows() )
279due to unexpected exception with message:
280 expected exception
281
Phil Nash1e749382013-09-30 07:39:06 +0100282Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100283 CHECK_THROWS_AS( thisDoesntThrow() )
284because no exception was thrown where one was expected:
285
Phil Nash1e749382013-09-30 07:39:06 +0100286Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100287 CHECK_NOTHROW( thisThrows() )
288due to unexpected exception with message:
289 expected exception
290
291-------------------------------------------------------------------------------
292./failing/exceptions/implicit
293-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100294Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100295...............................................................................
296
Phil Nash1e749382013-09-30 07:39:06 +0100297Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100298due to unexpected exception with message:
299 unexpected exception
300
301-------------------------------------------------------------------------------
302./failing/exceptions/implicit/2
303-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100304Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100305...............................................................................
306
Phil Nash1e749382013-09-30 07:39:06 +0100307Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100308 {Unknown expression after the reported line}
309due to unexpected exception with message:
310 unexpected exception
311
312-------------------------------------------------------------------------------
313./failing/exceptions/implicit/3
314 section name
315-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100316Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100317...............................................................................
318
Phil Nash1e749382013-09-30 07:39:06 +0100319Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100320due to unexpected exception with message:
321 unexpected exception
322
323-------------------------------------------------------------------------------
324./failing/exceptions/implicit/4
325-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100326Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100327...............................................................................
328
Phil Nash1e749382013-09-30 07:39:06 +0100329Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100330 CHECK( thisThrows() == 0 )
331due to unexpected exception with message:
332 expected exception
333
334-------------------------------------------------------------------------------
335./failing/exceptions/custom
336-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100337Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100338...............................................................................
339
Phil Nash1e749382013-09-30 07:39:06 +0100340Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100341due to unexpected exception with message:
342 custom exception
343
344-------------------------------------------------------------------------------
345./failing/exceptions/custom/nothrow
346-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100347Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100348...............................................................................
349
Phil Nash1e749382013-09-30 07:39:06 +0100350Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100351 REQUIRE_NOTHROW( throwCustom() )
352due to unexpected exception with message:
353 custom exception - not std
354
355-------------------------------------------------------------------------------
356./failing/exceptions/custom/throw
357-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100358Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100359...............................................................................
360
Phil Nash1e749382013-09-30 07:39:06 +0100361Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100362 REQUIRE_THROWS_AS( throwCustom() )
363due to unexpected exception with message:
364 custom exception - not std
365
366-------------------------------------------------------------------------------
367./failing/exceptions/custom/double
368-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100369Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100370...............................................................................
371
Phil Nash1e749382013-09-30 07:39:06 +0100372Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100373due to unexpected exception with message:
374 3.14
375
376-------------------------------------------------------------------------------
377./failing/message/info/1
378-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100379Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100380...............................................................................
381
Phil Nash1e749382013-09-30 07:39:06 +0100382Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100383 REQUIRE( a == 1 )
384with expansion:
385 2 == 1
386with messages:
387 this message should be logged
388 so should this
389
390-------------------------------------------------------------------------------
391./mixed/message/info/2
392-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100393Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100394...............................................................................
395
Phil Nash1e749382013-09-30 07:39:06 +0100396Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100397 CHECK( a == 1 )
398with expansion:
399 2 == 1
400with messages:
401 this message may be logged later
402 this message should be logged
403
Phil Nash1e749382013-09-30 07:39:06 +0100404Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100405 CHECK( a == 0 )
406with expansion:
407 2 == 0
408with message:
409 and this, but later
410
411-------------------------------------------------------------------------------
412./failing/message/fail
413-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100414Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100415...............................................................................
416
Phil Nash1e749382013-09-30 07:39:06 +0100417Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100418explicitly with message:
419 This is a failure
420
421-------------------------------------------------------------------------------
422./failing/message/sections
423 one
424-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100425Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100426...............................................................................
427
Phil Nash1e749382013-09-30 07:39:06 +0100428Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100429explicitly with message:
430 Message from section one
431
432-------------------------------------------------------------------------------
433./failing/message/sections
434 two
435-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100436Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100437...............................................................................
438
Phil Nash1e749382013-09-30 07:39:06 +0100439Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100440explicitly with message:
441 Message from section two
442
443Message from section one
444Message from section two
445-------------------------------------------------------------------------------
446./mixed/message/scoped
447-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100448Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100449...............................................................................
450
Phil Nash1e749382013-09-30 07:39:06 +0100451Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100452 REQUIRE( i < 10 )
453with expansion:
454 10 < 10
455with messages:
456 current counter 10
457 i := 10
458
459-------------------------------------------------------------------------------
460just failure
461-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100462Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100463...............................................................................
464
Phil Nash1e749382013-09-30 07:39:06 +0100465Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100466explicitly with message:
467 Previous info should not be seen
468
469-------------------------------------------------------------------------------
470./mixed/Misc/Sections/nested2
471 s1
472 s2
473-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100474Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100475...............................................................................
476
Phil Nash1e749382013-09-30 07:39:06 +0100477Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100478 REQUIRE( a == b )
479with expansion:
480 1 == 2
481
482-------------------------------------------------------------------------------
483./mixed/Misc/Sections/loops
484 s1
485-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100486Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100487...............................................................................
488
Phil Nash1e749382013-09-30 07:39:06 +0100489Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100490 CHECK( b > a )
491with expansion:
492 0 > 1
493
494-------------------------------------------------------------------------------
495./mixed/Misc/loops
496-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100497Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100498...............................................................................
499
Phil Nash1e749382013-09-30 07:39:06 +0100500Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100501 CHECK( ( fib[i] % 2 ) == 0 )
502with expansion:
503 1 == 0
504with message:
505 Testing if fib[0] (1) is even
506
Phil Nash1e749382013-09-30 07:39:06 +0100507Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100508 CHECK( ( fib[i] % 2 ) == 0 )
509with expansion:
510 1 == 0
511with message:
512 Testing if fib[1] (1) is even
513
Phil Nash1e749382013-09-30 07:39:06 +0100514Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100515 CHECK( ( fib[i] % 2 ) == 0 )
516with expansion:
517 1 == 0
518with message:
519 Testing if fib[3] (3) is even
520
Phil Nash1e749382013-09-30 07:39:06 +0100521Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100522 CHECK( ( fib[i] % 2 ) == 0 )
523with expansion:
524 1 == 0
525with message:
526 Testing if fib[4] (5) is even
527
Phil Nash1e749382013-09-30 07:39:06 +0100528Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100529 CHECK( ( fib[i] % 2 ) == 0 )
530with expansion:
531 1 == 0
532with message:
533 Testing if fib[6] (13) is even
534
Phil Nash1e749382013-09-30 07:39:06 +0100535Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100536 CHECK( ( fib[i] % 2 ) == 0 )
537with expansion:
538 1 == 0
539with message:
540 Testing if fib[7] (21) is even
541
542Some information
543An error
544-------------------------------------------------------------------------------
545./failing/info
546-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100547Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100548...............................................................................
549
Phil Nash1e749382013-09-30 07:39:06 +0100550Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100551 REQUIRE( false )
552with messages:
553 hi
554 i := 7
555
556-------------------------------------------------------------------------------
557./failing/checkedif
558-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100559Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100560...............................................................................
561
Phil Nash1e749382013-09-30 07:39:06 +0100562Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100563 CHECKED_IF( flag )
564with expansion:
565 false
566
Phil Nash1e749382013-09-30 07:39:06 +0100567Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100568 REQUIRE( testCheckedIf( false ) )
569with expansion:
570 false
571
572-------------------------------------------------------------------------------
573./failing/checkedelse
574-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100575Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100576...............................................................................
577
Phil Nash1e749382013-09-30 07:39:06 +0100578Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100579 CHECKED_ELSE( flag )
580with expansion:
581 false
582
Phil Nash1e749382013-09-30 07:39:06 +0100583Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100584 REQUIRE( testCheckedElse( false ) )
585with expansion:
586 false
587
588-------------------------------------------------------------------------------
589./manual/onechar
590-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100591Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100592...............................................................................
593
Phil Nash1e749382013-09-30 07:39:06 +0100594Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100595 REQUIRE( false )
596with message:
597 3
598
599-------------------------------------------------------------------------------
600./failing/matchers/Contains
601-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100602Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100603...............................................................................
604
Phil Nash1e749382013-09-30 07:39:06 +0100605Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100606 CHECK_THAT( testStringForMatching() Contains( "not there" ) )
607with expansion:
608 "this string contains 'abc' as a substring" contains: "not there"
609
610-------------------------------------------------------------------------------
611./failing/matchers/StartsWith
612-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100613Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100614...............................................................................
615
Phil Nash1e749382013-09-30 07:39:06 +0100616Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100617 CHECK_THAT( testStringForMatching() StartsWith( "string" ) )
618with expansion:
619 "this string contains 'abc' as a substring" starts with: "string"
620
621-------------------------------------------------------------------------------
622./failing/matchers/EndsWith
623-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100624Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100625...............................................................................
626
Phil Nash1e749382013-09-30 07:39:06 +0100627Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100628 CHECK_THAT( testStringForMatching() EndsWith( "this" ) )
629with expansion:
630 "this string contains 'abc' as a substring" ends with: "this"
631
632-------------------------------------------------------------------------------
633./failing/matchers/Equals
634-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100635Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100636...............................................................................
637
Phil Nash1e749382013-09-30 07:39:06 +0100638Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100639 CHECK_THAT( testStringForMatching() Equals( "something else" ) )
640with expansion:
641 "this string contains 'abc' as a substring" equals: "something else"
642
643-------------------------------------------------------------------------------
644./failing/CatchSectionInfiniteLoop
645-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100646Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100647...............................................................................
648
Phil Nash1e749382013-09-30 07:39:06 +0100649Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100650explicitly with message:
651 to infinity and beyond
652
653-------------------------------------------------------------------------------
654./failing/CatchSectionInfiniteLoop
655-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100656Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100657...............................................................................
658
Phil Nash1e749382013-09-30 07:39:06 +0100659Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100660explicitly with message:
661 to infinity and beyond
662
663-------------------------------------------------------------------------------
664./failing/CatchSectionInfiniteLoop
665-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100666Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100667...............................................................................
668
Phil Nash1e749382013-09-30 07:39:06 +0100669Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100670explicitly with message:
671 to infinity and beyond
672
673Message from section one
674Message from section two
675Some information
676An error
677Message from section one
678Message from section two
679Some information
680An error
681hello
682hello
683-------------------------------------------------------------------------------
684./failing/Tricky/non streamable type
685-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100686Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100687...............................................................................
688
Phil Nash1e749382013-09-30 07:39:06 +0100689Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100690 CHECK( &o1 == &o2 )
691with expansion:
692 0x<hex digits> == 0x<hex digits>
693
Phil Nash1e749382013-09-30 07:39:06 +0100694Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100695 CHECK( o1 == o2 )
696with expansion:
697 {?} == {?}
698
699-------------------------------------------------------------------------------
700./failing/string literals
701-------------------------------------------------------------------------------
Phil Nash1e749382013-09-30 07:39:06 +0100702Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp
Phil Nash2f7a2962013-09-27 19:01:14 +0100703...............................................................................
704
Phil Nash1e749382013-09-30 07:39:06 +0100705Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp: FAILED:
Phil Nash2f7a2962013-09-27 19:01:14 +0100706 REQUIRE( std::string( "first" ) == "second" )
707with expansion:
708 "first" == "second"
709
710===============================================================================
711121 test cases - 35 failed (744 assertions - 90 failed)
712