Debian Codegraph @

src/external/catch2/tests/SelfTest/Baselines/console.swa4.approved.txt

raw
1 Filters: "*" ~[!nonportable] ~[!benchmark] ~[approvals]
2 Randomness seeded to: 1
3
4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 <exe-name> is a Catch2 v<version> host application.
6 Run with -? for options
7
8 -------------------------------------------------------------------------------
9 # A test name that starts with a #
10 -------------------------------------------------------------------------------
11 Misc.tests.cpp:<line number>
12 ...............................................................................
13
14 Misc.tests.cpp:<line number>: PASSED:
15 with message:
16 yay
17
18 -------------------------------------------------------------------------------
19 #1027: Bitfields can be captured
20 -------------------------------------------------------------------------------
21 Compilation.tests.cpp:<line number>
22 ...............................................................................
23
24 Compilation.tests.cpp:<line number>: PASSED:
25 REQUIRE( y.v == 0 )
26 with expansion:
27 0 == 0
28
29 Compilation.tests.cpp:<line number>: PASSED:
30 REQUIRE( 0 == y.v )
31 with expansion:
32 0 == 0
33
34 -------------------------------------------------------------------------------
35 #1147
36 -------------------------------------------------------------------------------
37 Compilation.tests.cpp:<line number>
38 ...............................................................................
39
40 Compilation.tests.cpp:<line number>: PASSED:
41 REQUIRE( t1 == t2 )
42 with expansion:
43 {?} == {?}
44
45 Compilation.tests.cpp:<line number>: PASSED:
46 REQUIRE( t1 != t2 )
47 with expansion:
48 {?} != {?}
49
50 Compilation.tests.cpp:<line number>: PASSED:
51 REQUIRE( t1 < t2 )
52 with expansion:
53 {?} < {?}
54
55 Compilation.tests.cpp:<line number>: PASSED:
56 REQUIRE( t1 > t2 )
57 with expansion:
58 {?} > {?}
59
60 Compilation.tests.cpp:<line number>: PASSED:
61 REQUIRE( t1 <= t2 )
62 with expansion:
63 {?} <= {?}
64
65 Compilation.tests.cpp:<line number>: PASSED:
66 REQUIRE( t1 >= t2 )
67 with expansion:
68 {?} >= {?}
69
70 -------------------------------------------------------------------------------
71 #1175 - Hidden Test
72 -------------------------------------------------------------------------------
73 Misc.tests.cpp:<line number>
74 ...............................................................................
75
76 Misc.tests.cpp:<line number>: PASSED:
77
78 -------------------------------------------------------------------------------
79 #1238
80 -------------------------------------------------------------------------------
81 Compilation.tests.cpp:<line number>
82 ...............................................................................
83
84 Compilation.tests.cpp:<line number>: PASSED:
85 REQUIRE( std::memcmp(uarr, "123", sizeof(uarr)) == 0 )
86 with expansion:
87 0 == 0
88 with messages:
89 uarr := "123"
90 sarr := "456"
91
92 Compilation.tests.cpp:<line number>: PASSED:
93 REQUIRE( std::memcmp(sarr, "456", sizeof(sarr)) == 0 )
94 with expansion:
95 0 == 0
96 with messages:
97 uarr := "123"
98 sarr := "456"
99
100 -------------------------------------------------------------------------------
101 #1245
102 -------------------------------------------------------------------------------
103 Compilation.tests.cpp:<line number>
104 ...............................................................................
105
106 Compilation.tests.cpp:<line number>: PASSED:
107
108 -------------------------------------------------------------------------------
109 #1319: Sections can have description (even if it is not saved
110 SectionName
111 -------------------------------------------------------------------------------
112 Compilation.tests.cpp:<line number>
113 ...............................................................................
114
115 Compilation.tests.cpp:<line number>: PASSED:
116
117 -------------------------------------------------------------------------------
118 #1403
119 -------------------------------------------------------------------------------
120 Compilation.tests.cpp:<line number>
121 ...............................................................................
122
123 Compilation.tests.cpp:<line number>: PASSED:
124 REQUIRE( h1 == h2 )
125 with expansion:
126 [1403 helper] == [1403 helper]
127
128 -------------------------------------------------------------------------------
129 #1455 - INFO and WARN can start with a linebreak
130 -------------------------------------------------------------------------------
131 Message.tests.cpp:<line number>
132 ...............................................................................
133
134 Message.tests.cpp:<line number>: warning:
135
136 This info message starts with a linebreak
137
138 This warning message starts with a linebreak
139
140
141 No assertions in test case '#1455 - INFO and WARN can start with a linebreak'
142
143 This would not be caught previously
144 Nor would this
145 -------------------------------------------------------------------------------
146 #1514: stderr/stdout is not captured in tests aborted by an exception
147 -------------------------------------------------------------------------------
148 Tricky.tests.cpp:<line number>
149 ...............................................................................
150
151 Tricky.tests.cpp:<line number>: FAILED:
152 explicitly with message:
153 1514
154
155 -------------------------------------------------------------------------------
156 #1548
157 -------------------------------------------------------------------------------
158 Compilation.tests.cpp:<line number>
159 ...............................................................................
160
161 Compilation.tests.cpp:<line number>: PASSED:
162 REQUIRE( std::is_same<TypeList<int>, TypeList<int>>::value )
163 with expansion:
164 true
165
166 -------------------------------------------------------------------------------
167 #1905 -- test spec parser properly clears internal state between compound tests
168 -------------------------------------------------------------------------------
169 TestSpec.tests.cpp:<line number>
170 ...............................................................................
171
172 TestSpec.tests.cpp:<line number>: PASSED:
173 REQUIRE( spec.matches(*fakeTestCase("spec . char")) )
174 with expansion:
175 true
176
177 TestSpec.tests.cpp:<line number>: PASSED:
178 REQUIRE( spec.matches(*fakeTestCase("spec , char")) )
179 with expansion:
180 true
181
182 TestSpec.tests.cpp:<line number>: PASSED:
183 REQUIRE_FALSE( spec.matches(*fakeTestCase(R"(spec \, char)")) )
184 with expansion:
185 !false
186
187 -------------------------------------------------------------------------------
188 #1912 -- test spec parser handles escaping
189 Various parentheses
190 -------------------------------------------------------------------------------
191 TestSpec.tests.cpp:<line number>
192 ...............................................................................
193
194 TestSpec.tests.cpp:<line number>: PASSED:
195 REQUIRE( spec.matches(*fakeTestCase(R"(spec {a} char)")) )
196 with expansion:
197 true
198
199 TestSpec.tests.cpp:<line number>: PASSED:
200 REQUIRE( spec.matches(*fakeTestCase(R"(spec [a] char)")) )
201 with expansion:
202 true
203
204 TestSpec.tests.cpp:<line number>: PASSED:
205 REQUIRE_FALSE( spec.matches(*fakeTestCase("differs but has similar tag", "[a]")) )
206 with expansion:
207 !false
208
209 -------------------------------------------------------------------------------
210 #1912 -- test spec parser handles escaping
211 backslash in test name
212 -------------------------------------------------------------------------------
213 TestSpec.tests.cpp:<line number>
214 ...............................................................................
215
216 TestSpec.tests.cpp:<line number>: PASSED:
217 REQUIRE( spec.matches(*fakeTestCase(R"(spec \ char)")) )
218 with expansion:
219 true
220
221 -------------------------------------------------------------------------------
222 #1913 - GENERATE inside a for loop should not keep recreating the generator
223 -------------------------------------------------------------------------------
224 Generators.tests.cpp:<line number>
225 ...............................................................................
226
227 Generators.tests.cpp:<line number>: PASSED:
228 REQUIRE( counter < 7 )
229 with expansion:
230 3 < 7
231
232 -------------------------------------------------------------------------------
233 #1913 - GENERATE inside a for loop should not keep recreating the generator
234 -------------------------------------------------------------------------------
235 Generators.tests.cpp:<line number>
236 ...............................................................................
237
238 Generators.tests.cpp:<line number>: PASSED:
239 REQUIRE( counter < 7 )
240 with expansion:
241 6 < 7
242
243 -------------------------------------------------------------------------------
244 #1913 - GENERATEs can share a line
245 -------------------------------------------------------------------------------
246 Generators.tests.cpp:<line number>
247 ...............................................................................
248
249 Generators.tests.cpp:<line number>: PASSED:
250 REQUIRE( i != j )
251 with expansion:
252 1 != 3
253
254 -------------------------------------------------------------------------------
255 #1913 - GENERATEs can share a line
256 -------------------------------------------------------------------------------
257 Generators.tests.cpp:<line number>
258 ...............................................................................
259
260 Generators.tests.cpp:<line number>: PASSED:
261 REQUIRE( i != j )
262 with expansion:
263 1 != 4
264
265 -------------------------------------------------------------------------------
266 #1913 - GENERATEs can share a line
267 -------------------------------------------------------------------------------
268 Generators.tests.cpp:<line number>
269 ...............................................................................
270
271 Generators.tests.cpp:<line number>: PASSED:
272 REQUIRE( i != j )
273 with expansion:
274 2 != 3
275
276 -------------------------------------------------------------------------------
277 #1913 - GENERATEs can share a line
278 -------------------------------------------------------------------------------
279 Generators.tests.cpp:<line number>
280 ...............................................................................
281
282 Generators.tests.cpp:<line number>: PASSED:
283 REQUIRE( i != j )
284 with expansion:
285 2 != 4
286
287 -------------------------------------------------------------------------------
288 #1938 - GENERATE after a section
289 A
290 -------------------------------------------------------------------------------
291 PartTracker.tests.cpp:<line number>
292 ...............................................................................
293
294 PartTracker.tests.cpp:<line number>: PASSED:
295 with message:
296 A
297
298 -------------------------------------------------------------------------------
299 #1938 - GENERATE after a section
300 B
301 -------------------------------------------------------------------------------
302 PartTracker.tests.cpp:<line number>
303 ...............................................................................
304
305 PartTracker.tests.cpp:<line number>: PASSED:
306 REQUIRE( m )
307 with expansion:
308 1
309
310 -------------------------------------------------------------------------------
311 #1938 - GENERATE after a section
312 B
313 -------------------------------------------------------------------------------
314 PartTracker.tests.cpp:<line number>
315 ...............................................................................
316
317 PartTracker.tests.cpp:<line number>: PASSED:
318 REQUIRE( m )
319 with expansion:
320 2
321
322 -------------------------------------------------------------------------------
323 #1938 - GENERATE after a section
324 B
325 -------------------------------------------------------------------------------
326 PartTracker.tests.cpp:<line number>
327 ...............................................................................
328
329 PartTracker.tests.cpp:<line number>: PASSED:
330 REQUIRE( m )
331 with expansion:
332 3
333
334 -------------------------------------------------------------------------------
335 #1938 - Section followed by flat generate
336 A
337 -------------------------------------------------------------------------------
338 PartTracker.tests.cpp:<line number>
339 ...............................................................................
340
341 PartTracker.tests.cpp:<line number>: PASSED:
342 REQUIRE( 1 )
343
344 -------------------------------------------------------------------------------
345 #1938 - Section followed by flat generate
346 -------------------------------------------------------------------------------
347 PartTracker.tests.cpp:<line number>
348 ...............................................................................
349
350 PartTracker.tests.cpp:<line number>: PASSED:
351 REQUIRE( m )
352 with expansion:
353 2
354
355 -------------------------------------------------------------------------------
356 #1938 - Section followed by flat generate
357 -------------------------------------------------------------------------------
358 PartTracker.tests.cpp:<line number>
359 ...............................................................................
360
361 PartTracker.tests.cpp:<line number>: PASSED:
362 REQUIRE( m )
363 with expansion:
364 3
365
366 -------------------------------------------------------------------------------
367 #1938 - flat generate
368 -------------------------------------------------------------------------------
369 PartTracker.tests.cpp:<line number>
370 ...............................................................................
371
372 PartTracker.tests.cpp:<line number>: PASSED:
373 REQUIRE( m )
374 with expansion:
375 1
376
377 -------------------------------------------------------------------------------
378 #1938 - flat generate
379 -------------------------------------------------------------------------------
380 PartTracker.tests.cpp:<line number>
381 ...............................................................................
382
383 PartTracker.tests.cpp:<line number>: PASSED:
384 REQUIRE( m )
385 with expansion:
386 2
387
388 -------------------------------------------------------------------------------
389 #1938 - flat generate
390 -------------------------------------------------------------------------------
391 PartTracker.tests.cpp:<line number>
392 ...............................................................................
393
394 PartTracker.tests.cpp:<line number>: PASSED:
395 REQUIRE( m )
396 with expansion:
397 3
398
399 -------------------------------------------------------------------------------
400 #1938 - mixed sections and generates
401 A
402 -------------------------------------------------------------------------------
403 PartTracker.tests.cpp:<line number>
404 ...............................................................................
405
406 PartTracker.tests.cpp:<line number>: PASSED:
407 with message:
408 A
409
410 -------------------------------------------------------------------------------
411 #1938 - mixed sections and generates
412 -------------------------------------------------------------------------------
413 PartTracker.tests.cpp:<line number>
414 ...............................................................................
415
416 PartTracker.tests.cpp:<line number>: PASSED:
417 with messages:
418 i := 1
419 j := 3
420 k := 5
421
422 -------------------------------------------------------------------------------
423 #1938 - mixed sections and generates
424 B
425 -------------------------------------------------------------------------------
426 PartTracker.tests.cpp:<line number>
427 ...............................................................................
428
429 PartTracker.tests.cpp:<line number>: PASSED:
430 with message:
431 B
432
433 -------------------------------------------------------------------------------
434 #1938 - mixed sections and generates
435 -------------------------------------------------------------------------------
436 PartTracker.tests.cpp:<line number>
437 ...............................................................................
438
439 PartTracker.tests.cpp:<line number>: PASSED:
440 with messages:
441 i := 1
442 j := 3
443 k := 6
444
445 -------------------------------------------------------------------------------
446 #1938 - mixed sections and generates
447 B
448 -------------------------------------------------------------------------------
449 PartTracker.tests.cpp:<line number>
450 ...............................................................................
451
452 PartTracker.tests.cpp:<line number>: PASSED:
453 with message:
454 B
455
456 -------------------------------------------------------------------------------
457 #1938 - mixed sections and generates
458 -------------------------------------------------------------------------------
459 PartTracker.tests.cpp:<line number>
460 ...............................................................................
461
462 PartTracker.tests.cpp:<line number>: PASSED:
463 with messages:
464 i := 1
465 j := 4
466 k := 5
467
468 -------------------------------------------------------------------------------
469 #1938 - mixed sections and generates
470 -------------------------------------------------------------------------------
471 PartTracker.tests.cpp:<line number>
472 ...............................................................................
473
474 PartTracker.tests.cpp:<line number>: PASSED:
475 with messages:
476 i := 1
477 j := 4
478 k := 6
479
480 -------------------------------------------------------------------------------
481 #1938 - mixed sections and generates
482 A
483 -------------------------------------------------------------------------------
484 PartTracker.tests.cpp:<line number>
485 ...............................................................................
486
487 PartTracker.tests.cpp:<line number>: PASSED:
488 with message:
489 A
490
491 -------------------------------------------------------------------------------
492 #1938 - mixed sections and generates
493 -------------------------------------------------------------------------------
494 PartTracker.tests.cpp:<line number>
495 ...............................................................................
496
497 PartTracker.tests.cpp:<line number>: PASSED:
498 with messages:
499 i := 2
500 j := 3
501 k := 5
502
503 -------------------------------------------------------------------------------
504 #1938 - mixed sections and generates
505 B
506 -------------------------------------------------------------------------------
507 PartTracker.tests.cpp:<line number>
508 ...............................................................................
509
510 PartTracker.tests.cpp:<line number>: PASSED:
511 with message:
512 B
513
514 -------------------------------------------------------------------------------
515 #1938 - mixed sections and generates
516 -------------------------------------------------------------------------------
517 PartTracker.tests.cpp:<line number>
518 ...............................................................................
519
520 PartTracker.tests.cpp:<line number>: PASSED:
521 with messages:
522 i := 2
523 j := 3
524 k := 6
525
526 -------------------------------------------------------------------------------
527 #1938 - mixed sections and generates
528 B
529 -------------------------------------------------------------------------------
530 PartTracker.tests.cpp:<line number>
531 ...............................................................................
532
533 PartTracker.tests.cpp:<line number>: PASSED:
534 with message:
535 B
536
537 -------------------------------------------------------------------------------
538 #1938 - mixed sections and generates
539 -------------------------------------------------------------------------------
540 PartTracker.tests.cpp:<line number>
541 ...............................................................................
542
543 PartTracker.tests.cpp:<line number>: PASSED:
544 with messages:
545 i := 2
546 j := 4
547 k := 5
548
549 -------------------------------------------------------------------------------
550 #1938 - mixed sections and generates
551 -------------------------------------------------------------------------------
552 PartTracker.tests.cpp:<line number>
553 ...............................................................................
554
555 PartTracker.tests.cpp:<line number>: PASSED:
556 with messages:
557 i := 2
558 j := 4
559 k := 6
560
561 -------------------------------------------------------------------------------
562 #1938 - nested generate
563 -------------------------------------------------------------------------------
564 PartTracker.tests.cpp:<line number>
565 ...............................................................................
566
567 PartTracker.tests.cpp:<line number>: PASSED:
568 REQUIRE( m )
569 with expansion:
570 1
571
572 PartTracker.tests.cpp:<line number>: PASSED:
573 REQUIRE( n )
574 with expansion:
575 1
576
577 -------------------------------------------------------------------------------
578 #1938 - nested generate
579 -------------------------------------------------------------------------------
580 PartTracker.tests.cpp:<line number>
581 ...............................................................................
582
583 PartTracker.tests.cpp:<line number>: PASSED:
584 REQUIRE( m )
585 with expansion:
586 1
587
588 PartTracker.tests.cpp:<line number>: PASSED:
589 REQUIRE( n )
590 with expansion:
591 2
592
593 -------------------------------------------------------------------------------
594 #1938 - nested generate
595 -------------------------------------------------------------------------------
596 PartTracker.tests.cpp:<line number>
597 ...............................................................................
598
599 PartTracker.tests.cpp:<line number>: PASSED:
600 REQUIRE( m )
601 with expansion:
602 1
603
604 PartTracker.tests.cpp:<line number>: PASSED:
605 REQUIRE( n )
606 with expansion:
607 3
608
609 -------------------------------------------------------------------------------
610 #1938 - nested generate
611 -------------------------------------------------------------------------------
612 PartTracker.tests.cpp:<line number>
613 ...............................................................................
614
615 PartTracker.tests.cpp:<line number>: PASSED:
616 REQUIRE( m )
617 with expansion:
618 2
619
620 PartTracker.tests.cpp:<line number>: PASSED:
621 REQUIRE( n )
622 with expansion:
623 1
624
625 -------------------------------------------------------------------------------
626 #1938 - nested generate
627 -------------------------------------------------------------------------------
628 PartTracker.tests.cpp:<line number>
629 ...............................................................................
630
631 PartTracker.tests.cpp:<line number>: PASSED:
632 REQUIRE( m )
633 with expansion:
634 2
635
636 PartTracker.tests.cpp:<line number>: PASSED:
637 REQUIRE( n )
638 with expansion:
639 2
640
641 -------------------------------------------------------------------------------
642 #1938 - nested generate
643 -------------------------------------------------------------------------------
644 PartTracker.tests.cpp:<line number>
645 ...............................................................................
646
647 PartTracker.tests.cpp:<line number>: PASSED:
648 REQUIRE( m )
649 with expansion:
650 2
651
652 PartTracker.tests.cpp:<line number>: PASSED:
653 REQUIRE( n )
654 with expansion:
655 3
656
657 -------------------------------------------------------------------------------
658 #1938 - nested generate
659 -------------------------------------------------------------------------------
660 PartTracker.tests.cpp:<line number>
661 ...............................................................................
662
663 PartTracker.tests.cpp:<line number>: PASSED:
664 REQUIRE( m )
665 with expansion:
666 3
667
668 PartTracker.tests.cpp:<line number>: PASSED:
669 REQUIRE( n )
670 with expansion:
671 1
672
673 -------------------------------------------------------------------------------
674 #1938 - nested generate
675 -------------------------------------------------------------------------------
676 PartTracker.tests.cpp:<line number>
677 ...............................................................................
678
679 PartTracker.tests.cpp:<line number>: PASSED:
680 REQUIRE( m )
681 with expansion:
682 3
683
684 PartTracker.tests.cpp:<line number>: PASSED:
685 REQUIRE( n )
686 with expansion:
687 2
688
689 -------------------------------------------------------------------------------
690 #1938 - nested generate
691 -------------------------------------------------------------------------------
692 PartTracker.tests.cpp:<line number>
693 ...............................................................................
694
695 PartTracker.tests.cpp:<line number>: PASSED:
696 REQUIRE( m )
697 with expansion:
698 3
699
700 PartTracker.tests.cpp:<line number>: PASSED:
701 REQUIRE( n )
702 with expansion:
703 3
704
705 -------------------------------------------------------------------------------
706 #1954 - 7 arg template test case sig compiles - 1, 1, 1, 1, 1, 0, 0
707 -------------------------------------------------------------------------------
708 Misc.tests.cpp:<line number>
709 ...............................................................................
710
711 Misc.tests.cpp:<line number>: PASSED:
712
713 -------------------------------------------------------------------------------
714 #1954 - 7 arg template test case sig compiles - 5, 1, 1, 1, 1, 0, 0
715 -------------------------------------------------------------------------------
716 Misc.tests.cpp:<line number>
717 ...............................................................................
718
719 Misc.tests.cpp:<line number>: PASSED:
720
721 -------------------------------------------------------------------------------
722 #1954 - 7 arg template test case sig compiles - 5, 3, 1, 1, 1, 0, 0
723 -------------------------------------------------------------------------------
724 Misc.tests.cpp:<line number>
725 ...............................................................................
726
727 Misc.tests.cpp:<line number>: PASSED:
728
729 -------------------------------------------------------------------------------
730 #2152 - ULP checks between differently signed values were wrong - double
731 -------------------------------------------------------------------------------
732 Matchers.tests.cpp:<line number>
733 ...............................................................................
734
735 Matchers.tests.cpp:<line number>: PASSED:
736 CHECK_THAT( smallest_non_zero, WithinULP( -smallest_non_zero, 2 ) )
737 with expansion:
738 0.0 is within 2 ULPs of -4.9406564584124654e-324 ([-1.4821969375237396e-323,
739 4.9406564584124654e-324])
740
741 Matchers.tests.cpp:<line number>: PASSED:
742 CHECK_THAT( smallest_non_zero, !WithinULP( -smallest_non_zero, 1 ) )
743 with expansion:
744 0.0 not is within 1 ULPs of -4.9406564584124654e-324 ([-9.8813129168249309e-
745 324, -0.0000000000000000e+00])
746
747 -------------------------------------------------------------------------------
748 #2152 - ULP checks between differently signed values were wrong - float
749 -------------------------------------------------------------------------------
750 Matchers.tests.cpp:<line number>
751 ...............................................................................
752
753 Matchers.tests.cpp:<line number>: PASSED:
754 CHECK_THAT( smallest_non_zero, WithinULP( -smallest_non_zero, 2 ) )
755 with expansion:
756 0.0f is within 2 ULPs of -1.40129846e-45f ([-4.20389539e-45, 1.40129846e-45])
757
758 Matchers.tests.cpp:<line number>: PASSED:
759 CHECK_THAT( smallest_non_zero, !WithinULP( -smallest_non_zero, 1 ) )
760 with expansion:
761 0.0f not is within 1 ULPs of -1.40129846e-45f ([-2.80259693e-45, -0.
762 00000000e+00])
763
764 -------------------------------------------------------------------------------
765 #2615 - Throwing in constructor generator fails test case but does not abort
766 -------------------------------------------------------------------------------
767 Generators.tests.cpp:<line number>
768 ...............................................................................
769
770 Generators.tests.cpp:<line number>: FAILED:
771 {Unknown expression after the reported line}
772 due to unexpected exception with message:
773 failure to init
774
775 -------------------------------------------------------------------------------
776 #3001: Enum-based bitfields can be captured
777 -------------------------------------------------------------------------------
778 Compilation.tests.cpp:<line number>
779 ...............................................................................
780
781 Compilation.tests.cpp:<line number>: PASSED:
782 REQUIRE( bf.e == 1 )
783 with expansion:
784 1 == 1
785
786 Compilation.tests.cpp:<line number>: PASSED:
787 REQUIRE( 1 == bf.e )
788 with expansion:
789 1 == 1
790
791 -------------------------------------------------------------------------------
792 #748 - captures with unexpected exceptions
793 outside assertions
794 -------------------------------------------------------------------------------
795 Exception.tests.cpp:<line number>
796 ...............................................................................
797
798 Exception.tests.cpp:<line number>: FAILED:
799 {Unknown expression after the reported line}
800 due to unexpected exception with message:
801 expected exception
802
803 -------------------------------------------------------------------------------
804 #748 - captures with unexpected exceptions
805 inside REQUIRE_NOTHROW
806 -------------------------------------------------------------------------------
807 Exception.tests.cpp:<line number>
808 ...............................................................................
809
810 Exception.tests.cpp:<line number>: FAILED:
811 REQUIRE_NOTHROW( thisThrows() )
812 due to unexpected exception with messages:
813 answer := 42
814 expected exception
815
816 -------------------------------------------------------------------------------
817 #748 - captures with unexpected exceptions
818 inside REQUIRE_THROWS
819 -------------------------------------------------------------------------------
820 Exception.tests.cpp:<line number>
821 ...............................................................................
822
823 Exception.tests.cpp:<line number>: PASSED:
824 REQUIRE_THROWS( thisThrows() )
825 with message:
826 answer := 42
827
828 -------------------------------------------------------------------------------
829 #809
830 -------------------------------------------------------------------------------
831 Compilation.tests.cpp:<line number>
832 ...............................................................................
833
834 Compilation.tests.cpp:<line number>: PASSED:
835 REQUIRE( 42 == f )
836 with expansion:
837 42 == {?}
838
839 -------------------------------------------------------------------------------
840 #833
841 -------------------------------------------------------------------------------
842 Compilation.tests.cpp:<line number>
843 ...............................................................................
844
845 Compilation.tests.cpp:<line number>: PASSED:
846 REQUIRE( a == t )
847 with expansion:
848 3 == 3
849
850 Compilation.tests.cpp:<line number>: PASSED:
851 CHECK( a == t )
852 with expansion:
853 3 == 3
854
855 Compilation.tests.cpp:<line number>: PASSED:
856 REQUIRE_THROWS( throws_int(true) )
857
858 Compilation.tests.cpp:<line number>: PASSED:
859 CHECK_THROWS_AS( throws_int(true), int )
860
861 Compilation.tests.cpp:<line number>: PASSED:
862 REQUIRE_NOTHROW( throws_int(false) )
863
864 Compilation.tests.cpp:<line number>: PASSED:
865 REQUIRE_THAT( "aaa", Catch::Matchers::EndsWith("aaa") )
866 with expansion:
867 "aaa" ends with: "aaa"
868
869 Compilation.tests.cpp:<line number>: PASSED:
870 REQUIRE( templated_tests<int>(3) )
871 with expansion:
872 true
873
874 -------------------------------------------------------------------------------
875 #835 -- errno should not be touched by Catch2
876 -------------------------------------------------------------------------------
877 Misc.tests.cpp:<line number>
878 ...............................................................................
879
880 Misc.tests.cpp:<line number>: FAILED:
881 CHECK( f() == 0 )
882 with expansion:
883 1 == 0
884
885 Misc.tests.cpp:<line number>: PASSED:
886 REQUIRE( errno_after == 1 )
887 with expansion:
888 1 == 1
889
890 -------------------------------------------------------------------------------
891 #872
892 -------------------------------------------------------------------------------
893 Compilation.tests.cpp:<line number>
894 ...............................................................................
895
896 Compilation.tests.cpp:<line number>: PASSED:
897 REQUIRE( x == 4 )
898 with expansion:
899 {?} == 4
900 with message:
901 dummy := 0
902
903 -------------------------------------------------------------------------------
904 #961 -- Dynamically created sections should all be reported
905 Looped section 0
906 -------------------------------------------------------------------------------
907 Misc.tests.cpp:<line number>
908 ...............................................................................
909
910 Misc.tests.cpp:<line number>: PASSED:
911 with message:
912 Everything is OK
913
914 -------------------------------------------------------------------------------
915 #961 -- Dynamically created sections should all be reported
916 Looped section 1
917 -------------------------------------------------------------------------------
918 Misc.tests.cpp:<line number>
919 ...............................................................................
920
921 Misc.tests.cpp:<line number>: PASSED:
922 with message:
923 Everything is OK
924
925 -------------------------------------------------------------------------------
926 #961 -- Dynamically created sections should all be reported
927 Looped section 2
928 -------------------------------------------------------------------------------
929 Misc.tests.cpp:<line number>
930 ...............................................................................
931
932 Misc.tests.cpp:<line number>: PASSED:
933 with message:
934 Everything is OK
935
936 -------------------------------------------------------------------------------
937 #961 -- Dynamically created sections should all be reported
938 Looped section 3
939 -------------------------------------------------------------------------------
940 Misc.tests.cpp:<line number>
941 ...............................................................................
942
943 Misc.tests.cpp:<line number>: PASSED:
944 with message:
945 Everything is OK
946
947 -------------------------------------------------------------------------------
948 #961 -- Dynamically created sections should all be reported
949 Looped section 4
950 -------------------------------------------------------------------------------
951 Misc.tests.cpp:<line number>
952 ...............................................................................
953
954 Misc.tests.cpp:<line number>: PASSED:
955 with message:
956 Everything is OK
957
958 -------------------------------------------------------------------------------
959 'Not' checks that should fail
960 -------------------------------------------------------------------------------
961 Condition.tests.cpp:<line number>
962 ...............................................................................
963
964 Condition.tests.cpp:<line number>: FAILED:
965 CHECK( false != false )
966
967 Condition.tests.cpp:<line number>: FAILED:
968 CHECK( true != true )
969
970 ===============================================================================
971 test cases: 34 | 28 passed | 3 failed | 3 failed as expected
972 assertions: 104 | 96 passed | 4 failed | 4 failed as expected
973