console.swa4.approved.txt 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936
  1. Filters: ~[!nonportable]~[!benchmark]~[approvals]
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. <exe-name> is a <version> host application.
  4. Run with -? for options
  5. Randomness seeded to: 1
  6. -------------------------------------------------------------------------------
  7. # A test name that starts with a #
  8. -------------------------------------------------------------------------------
  9. Misc.tests.cpp:<line number>
  10. ...............................................................................
  11. Misc.tests.cpp:<line number>: PASSED:
  12. with message:
  13. yay
  14. -------------------------------------------------------------------------------
  15. #1005: Comparing pointer to int and long (NULL can be either on various
  16. systems)
  17. -------------------------------------------------------------------------------
  18. Decomposition.tests.cpp:<line number>
  19. ...............................................................................
  20. Decomposition.tests.cpp:<line number>: PASSED:
  21. REQUIRE( fptr == 0 )
  22. with expansion:
  23. 0 == 0
  24. Decomposition.tests.cpp:<line number>: PASSED:
  25. REQUIRE( fptr == 0l )
  26. with expansion:
  27. 0 == 0
  28. -------------------------------------------------------------------------------
  29. #1027
  30. -------------------------------------------------------------------------------
  31. Compilation.tests.cpp:<line number>
  32. ...............................................................................
  33. Compilation.tests.cpp:<line number>: PASSED:
  34. REQUIRE( y.v == 0 )
  35. with expansion:
  36. 0 == 0
  37. Compilation.tests.cpp:<line number>: PASSED:
  38. REQUIRE( 0 == y.v )
  39. with expansion:
  40. 0 == 0
  41. -------------------------------------------------------------------------------
  42. #1027: Bitfields can be captured
  43. -------------------------------------------------------------------------------
  44. Compilation.tests.cpp:<line number>
  45. ...............................................................................
  46. Compilation.tests.cpp:<line number>: PASSED:
  47. REQUIRE( y.v == 0 )
  48. with expansion:
  49. 0 == 0
  50. Compilation.tests.cpp:<line number>: PASSED:
  51. REQUIRE( 0 == y.v )
  52. with expansion:
  53. 0 == 0
  54. -------------------------------------------------------------------------------
  55. #1147
  56. -------------------------------------------------------------------------------
  57. Compilation.tests.cpp:<line number>
  58. ...............................................................................
  59. Compilation.tests.cpp:<line number>: PASSED:
  60. REQUIRE( t1 == t2 )
  61. with expansion:
  62. {?} == {?}
  63. Compilation.tests.cpp:<line number>: PASSED:
  64. REQUIRE( t1 != t2 )
  65. with expansion:
  66. {?} != {?}
  67. Compilation.tests.cpp:<line number>: PASSED:
  68. REQUIRE( t1 < t2 )
  69. with expansion:
  70. {?} < {?}
  71. Compilation.tests.cpp:<line number>: PASSED:
  72. REQUIRE( t1 > t2 )
  73. with expansion:
  74. {?} > {?}
  75. Compilation.tests.cpp:<line number>: PASSED:
  76. REQUIRE( t1 <= t2 )
  77. with expansion:
  78. {?} <= {?}
  79. Compilation.tests.cpp:<line number>: PASSED:
  80. REQUIRE( t1 >= t2 )
  81. with expansion:
  82. {?} >= {?}
  83. -------------------------------------------------------------------------------
  84. #1175 - Hidden Test
  85. -------------------------------------------------------------------------------
  86. Misc.tests.cpp:<line number>
  87. ...............................................................................
  88. Misc.tests.cpp:<line number>: PASSED:
  89. -------------------------------------------------------------------------------
  90. #1238
  91. -------------------------------------------------------------------------------
  92. Compilation.tests.cpp:<line number>
  93. ...............................................................................
  94. Compilation.tests.cpp:<line number>: PASSED:
  95. REQUIRE( std::memcmp(uarr, "123", sizeof(uarr)) == 0 )
  96. with expansion:
  97. 0 == 0
  98. with messages:
  99. uarr := "123"
  100. sarr := "456"
  101. Compilation.tests.cpp:<line number>: PASSED:
  102. REQUIRE( std::memcmp(sarr, "456", sizeof(sarr)) == 0 )
  103. with expansion:
  104. 0 == 0
  105. with messages:
  106. uarr := "123"
  107. sarr := "456"
  108. -------------------------------------------------------------------------------
  109. #1245
  110. -------------------------------------------------------------------------------
  111. Compilation.tests.cpp:<line number>
  112. ...............................................................................
  113. Compilation.tests.cpp:<line number>: PASSED:
  114. -------------------------------------------------------------------------------
  115. #1403
  116. -------------------------------------------------------------------------------
  117. Compilation.tests.cpp:<line number>
  118. ...............................................................................
  119. Compilation.tests.cpp:<line number>: PASSED:
  120. REQUIRE( h1 == h2 )
  121. with expansion:
  122. [1403 helper] == [1403 helper]
  123. -------------------------------------------------------------------------------
  124. #1455 - INFO and WARN can start with a linebreak
  125. -------------------------------------------------------------------------------
  126. Message.tests.cpp:<line number>
  127. ...............................................................................
  128. Message.tests.cpp:<line number>: warning:
  129. This info message starts with a linebreak
  130. This warning message starts with a linebreak
  131. No assertions in test case '#1455 - INFO and WARN can start with a linebreak'
  132. This would not be caught previously
  133. Nor would this
  134. -------------------------------------------------------------------------------
  135. #1514: stderr/stdout is not captured in tests aborted by an exception
  136. -------------------------------------------------------------------------------
  137. Tricky.tests.cpp:<line number>
  138. ...............................................................................
  139. Tricky.tests.cpp:<line number>: FAILED:
  140. explicitly with message:
  141. 1514
  142. -------------------------------------------------------------------------------
  143. #1548
  144. -------------------------------------------------------------------------------
  145. Compilation.tests.cpp:<line number>
  146. ...............................................................................
  147. Compilation.tests.cpp:<line number>: PASSED:
  148. REQUIRE( std::is_same<TypeList<int>, TypeList<int>>::value )
  149. with expansion:
  150. true
  151. -------------------------------------------------------------------------------
  152. #1905 -- test spec parser properly clears internal state between compound tests
  153. -------------------------------------------------------------------------------
  154. CmdLine.tests.cpp:<line number>
  155. ...............................................................................
  156. CmdLine.tests.cpp:<line number>: PASSED:
  157. REQUIRE( spec.matches(fakeTestCase("spec . char")) )
  158. with expansion:
  159. true
  160. CmdLine.tests.cpp:<line number>: PASSED:
  161. REQUIRE( spec.matches(fakeTestCase("spec , char")) )
  162. with expansion:
  163. true
  164. CmdLine.tests.cpp:<line number>: PASSED:
  165. REQUIRE_FALSE( spec.matches(fakeTestCase(R"(spec \, char)")) )
  166. with expansion:
  167. !false
  168. -------------------------------------------------------------------------------
  169. #1912 -- test spec parser handles escaping
  170. Various parentheses
  171. -------------------------------------------------------------------------------
  172. CmdLine.tests.cpp:<line number>
  173. ...............................................................................
  174. CmdLine.tests.cpp:<line number>: PASSED:
  175. REQUIRE( spec.matches(fakeTestCase(R"(spec {a} char)")) )
  176. with expansion:
  177. true
  178. CmdLine.tests.cpp:<line number>: PASSED:
  179. REQUIRE( spec.matches(fakeTestCase(R"(spec [a] char)")) )
  180. with expansion:
  181. true
  182. CmdLine.tests.cpp:<line number>: PASSED:
  183. REQUIRE_FALSE( spec.matches(fakeTestCase("differs but has similar tag", "[a]")) )
  184. with expansion:
  185. !false
  186. -------------------------------------------------------------------------------
  187. #1912 -- test spec parser handles escaping
  188. backslash in test name
  189. -------------------------------------------------------------------------------
  190. CmdLine.tests.cpp:<line number>
  191. ...............................................................................
  192. CmdLine.tests.cpp:<line number>: PASSED:
  193. REQUIRE( spec.matches(fakeTestCase(R"(spec \ char)")) )
  194. with expansion:
  195. true
  196. -------------------------------------------------------------------------------
  197. #1913 - GENERATE inside a for loop should not keep recreating the generator
  198. -------------------------------------------------------------------------------
  199. Generators.tests.cpp:<line number>
  200. ...............................................................................
  201. Generators.tests.cpp:<line number>: PASSED:
  202. REQUIRE( counter < 7 )
  203. with expansion:
  204. 3 < 7
  205. -------------------------------------------------------------------------------
  206. #1913 - GENERATE inside a for loop should not keep recreating the generator
  207. -------------------------------------------------------------------------------
  208. Generators.tests.cpp:<line number>
  209. ...............................................................................
  210. Generators.tests.cpp:<line number>: PASSED:
  211. REQUIRE( counter < 7 )
  212. with expansion:
  213. 6 < 7
  214. -------------------------------------------------------------------------------
  215. #1913 - GENERATEs can share a line
  216. -------------------------------------------------------------------------------
  217. Generators.tests.cpp:<line number>
  218. ...............................................................................
  219. Generators.tests.cpp:<line number>: PASSED:
  220. REQUIRE( i != j )
  221. with expansion:
  222. 1 != 3
  223. -------------------------------------------------------------------------------
  224. #1913 - GENERATEs can share a line
  225. -------------------------------------------------------------------------------
  226. Generators.tests.cpp:<line number>
  227. ...............................................................................
  228. Generators.tests.cpp:<line number>: PASSED:
  229. REQUIRE( i != j )
  230. with expansion:
  231. 1 != 4
  232. -------------------------------------------------------------------------------
  233. #1913 - GENERATEs can share a line
  234. -------------------------------------------------------------------------------
  235. Generators.tests.cpp:<line number>
  236. ...............................................................................
  237. Generators.tests.cpp:<line number>: PASSED:
  238. REQUIRE( i != j )
  239. with expansion:
  240. 2 != 3
  241. -------------------------------------------------------------------------------
  242. #1913 - GENERATEs can share a line
  243. -------------------------------------------------------------------------------
  244. Generators.tests.cpp:<line number>
  245. ...............................................................................
  246. Generators.tests.cpp:<line number>: PASSED:
  247. REQUIRE( i != j )
  248. with expansion:
  249. 2 != 4
  250. -------------------------------------------------------------------------------
  251. #1938 - GENERATE after a section
  252. A
  253. -------------------------------------------------------------------------------
  254. PartTracker.tests.cpp:<line number>
  255. ...............................................................................
  256. PartTracker.tests.cpp:<line number>: PASSED:
  257. with message:
  258. A
  259. -------------------------------------------------------------------------------
  260. #1938 - GENERATE after a section
  261. B
  262. -------------------------------------------------------------------------------
  263. PartTracker.tests.cpp:<line number>
  264. ...............................................................................
  265. PartTracker.tests.cpp:<line number>: PASSED:
  266. REQUIRE( m )
  267. with expansion:
  268. 1
  269. -------------------------------------------------------------------------------
  270. #1938 - GENERATE after a section
  271. B
  272. -------------------------------------------------------------------------------
  273. PartTracker.tests.cpp:<line number>
  274. ...............................................................................
  275. PartTracker.tests.cpp:<line number>: PASSED:
  276. REQUIRE( m )
  277. with expansion:
  278. 2
  279. -------------------------------------------------------------------------------
  280. #1938 - GENERATE after a section
  281. B
  282. -------------------------------------------------------------------------------
  283. PartTracker.tests.cpp:<line number>
  284. ...............................................................................
  285. PartTracker.tests.cpp:<line number>: PASSED:
  286. REQUIRE( m )
  287. with expansion:
  288. 3
  289. -------------------------------------------------------------------------------
  290. #1938 - Section followed by flat generate
  291. A
  292. -------------------------------------------------------------------------------
  293. PartTracker.tests.cpp:<line number>
  294. ...............................................................................
  295. PartTracker.tests.cpp:<line number>: PASSED:
  296. REQUIRE( 1 )
  297. -------------------------------------------------------------------------------
  298. #1938 - Section followed by flat generate
  299. -------------------------------------------------------------------------------
  300. PartTracker.tests.cpp:<line number>
  301. ...............................................................................
  302. PartTracker.tests.cpp:<line number>: PASSED:
  303. REQUIRE( m )
  304. with expansion:
  305. 2
  306. -------------------------------------------------------------------------------
  307. #1938 - Section followed by flat generate
  308. -------------------------------------------------------------------------------
  309. PartTracker.tests.cpp:<line number>
  310. ...............................................................................
  311. PartTracker.tests.cpp:<line number>: PASSED:
  312. REQUIRE( m )
  313. with expansion:
  314. 3
  315. -------------------------------------------------------------------------------
  316. #1938 - flat generate
  317. -------------------------------------------------------------------------------
  318. PartTracker.tests.cpp:<line number>
  319. ...............................................................................
  320. PartTracker.tests.cpp:<line number>: PASSED:
  321. REQUIRE( m )
  322. with expansion:
  323. 1
  324. -------------------------------------------------------------------------------
  325. #1938 - flat generate
  326. -------------------------------------------------------------------------------
  327. PartTracker.tests.cpp:<line number>
  328. ...............................................................................
  329. PartTracker.tests.cpp:<line number>: PASSED:
  330. REQUIRE( m )
  331. with expansion:
  332. 2
  333. -------------------------------------------------------------------------------
  334. #1938 - flat generate
  335. -------------------------------------------------------------------------------
  336. PartTracker.tests.cpp:<line number>
  337. ...............................................................................
  338. PartTracker.tests.cpp:<line number>: PASSED:
  339. REQUIRE( m )
  340. with expansion:
  341. 3
  342. -------------------------------------------------------------------------------
  343. #1938 - mixed sections and generates
  344. A
  345. -------------------------------------------------------------------------------
  346. PartTracker.tests.cpp:<line number>
  347. ...............................................................................
  348. PartTracker.tests.cpp:<line number>: PASSED:
  349. with message:
  350. A
  351. -------------------------------------------------------------------------------
  352. #1938 - mixed sections and generates
  353. -------------------------------------------------------------------------------
  354. PartTracker.tests.cpp:<line number>
  355. ...............................................................................
  356. PartTracker.tests.cpp:<line number>: PASSED:
  357. with messages:
  358. i := 1
  359. j := 3
  360. k := 5
  361. -------------------------------------------------------------------------------
  362. #1938 - mixed sections and generates
  363. B
  364. -------------------------------------------------------------------------------
  365. PartTracker.tests.cpp:<line number>
  366. ...............................................................................
  367. PartTracker.tests.cpp:<line number>: PASSED:
  368. with message:
  369. B
  370. -------------------------------------------------------------------------------
  371. #1938 - mixed sections and generates
  372. -------------------------------------------------------------------------------
  373. PartTracker.tests.cpp:<line number>
  374. ...............................................................................
  375. PartTracker.tests.cpp:<line number>: PASSED:
  376. with messages:
  377. i := 1
  378. j := 3
  379. k := 6
  380. -------------------------------------------------------------------------------
  381. #1938 - mixed sections and generates
  382. B
  383. -------------------------------------------------------------------------------
  384. PartTracker.tests.cpp:<line number>
  385. ...............................................................................
  386. PartTracker.tests.cpp:<line number>: PASSED:
  387. with message:
  388. B
  389. -------------------------------------------------------------------------------
  390. #1938 - mixed sections and generates
  391. -------------------------------------------------------------------------------
  392. PartTracker.tests.cpp:<line number>
  393. ...............................................................................
  394. PartTracker.tests.cpp:<line number>: PASSED:
  395. with messages:
  396. i := 1
  397. j := 4
  398. k := 5
  399. -------------------------------------------------------------------------------
  400. #1938 - mixed sections and generates
  401. -------------------------------------------------------------------------------
  402. PartTracker.tests.cpp:<line number>
  403. ...............................................................................
  404. PartTracker.tests.cpp:<line number>: PASSED:
  405. with messages:
  406. i := 1
  407. j := 4
  408. k := 6
  409. -------------------------------------------------------------------------------
  410. #1938 - mixed sections and generates
  411. A
  412. -------------------------------------------------------------------------------
  413. PartTracker.tests.cpp:<line number>
  414. ...............................................................................
  415. PartTracker.tests.cpp:<line number>: PASSED:
  416. with message:
  417. A
  418. -------------------------------------------------------------------------------
  419. #1938 - mixed sections and generates
  420. -------------------------------------------------------------------------------
  421. PartTracker.tests.cpp:<line number>
  422. ...............................................................................
  423. PartTracker.tests.cpp:<line number>: PASSED:
  424. with messages:
  425. i := 2
  426. j := 3
  427. k := 5
  428. -------------------------------------------------------------------------------
  429. #1938 - mixed sections and generates
  430. B
  431. -------------------------------------------------------------------------------
  432. PartTracker.tests.cpp:<line number>
  433. ...............................................................................
  434. PartTracker.tests.cpp:<line number>: PASSED:
  435. with message:
  436. B
  437. -------------------------------------------------------------------------------
  438. #1938 - mixed sections and generates
  439. -------------------------------------------------------------------------------
  440. PartTracker.tests.cpp:<line number>
  441. ...............................................................................
  442. PartTracker.tests.cpp:<line number>: PASSED:
  443. with messages:
  444. i := 2
  445. j := 3
  446. k := 6
  447. -------------------------------------------------------------------------------
  448. #1938 - mixed sections and generates
  449. B
  450. -------------------------------------------------------------------------------
  451. PartTracker.tests.cpp:<line number>
  452. ...............................................................................
  453. PartTracker.tests.cpp:<line number>: PASSED:
  454. with message:
  455. B
  456. -------------------------------------------------------------------------------
  457. #1938 - mixed sections and generates
  458. -------------------------------------------------------------------------------
  459. PartTracker.tests.cpp:<line number>
  460. ...............................................................................
  461. PartTracker.tests.cpp:<line number>: PASSED:
  462. with messages:
  463. i := 2
  464. j := 4
  465. k := 5
  466. -------------------------------------------------------------------------------
  467. #1938 - mixed sections and generates
  468. -------------------------------------------------------------------------------
  469. PartTracker.tests.cpp:<line number>
  470. ...............................................................................
  471. PartTracker.tests.cpp:<line number>: PASSED:
  472. with messages:
  473. i := 2
  474. j := 4
  475. k := 6
  476. -------------------------------------------------------------------------------
  477. #1938 - nested generate
  478. -------------------------------------------------------------------------------
  479. PartTracker.tests.cpp:<line number>
  480. ...............................................................................
  481. PartTracker.tests.cpp:<line number>: PASSED:
  482. REQUIRE( m )
  483. with expansion:
  484. 1
  485. PartTracker.tests.cpp:<line number>: PASSED:
  486. REQUIRE( n )
  487. with expansion:
  488. 1
  489. -------------------------------------------------------------------------------
  490. #1938 - nested generate
  491. -------------------------------------------------------------------------------
  492. PartTracker.tests.cpp:<line number>
  493. ...............................................................................
  494. PartTracker.tests.cpp:<line number>: PASSED:
  495. REQUIRE( m )
  496. with expansion:
  497. 1
  498. PartTracker.tests.cpp:<line number>: PASSED:
  499. REQUIRE( n )
  500. with expansion:
  501. 2
  502. -------------------------------------------------------------------------------
  503. #1938 - nested generate
  504. -------------------------------------------------------------------------------
  505. PartTracker.tests.cpp:<line number>
  506. ...............................................................................
  507. PartTracker.tests.cpp:<line number>: PASSED:
  508. REQUIRE( m )
  509. with expansion:
  510. 1
  511. PartTracker.tests.cpp:<line number>: PASSED:
  512. REQUIRE( n )
  513. with expansion:
  514. 3
  515. -------------------------------------------------------------------------------
  516. #1938 - nested generate
  517. -------------------------------------------------------------------------------
  518. PartTracker.tests.cpp:<line number>
  519. ...............................................................................
  520. PartTracker.tests.cpp:<line number>: PASSED:
  521. REQUIRE( m )
  522. with expansion:
  523. 2
  524. PartTracker.tests.cpp:<line number>: PASSED:
  525. REQUIRE( n )
  526. with expansion:
  527. 1
  528. -------------------------------------------------------------------------------
  529. #1938 - nested generate
  530. -------------------------------------------------------------------------------
  531. PartTracker.tests.cpp:<line number>
  532. ...............................................................................
  533. PartTracker.tests.cpp:<line number>: PASSED:
  534. REQUIRE( m )
  535. with expansion:
  536. 2
  537. PartTracker.tests.cpp:<line number>: PASSED:
  538. REQUIRE( n )
  539. with expansion:
  540. 2
  541. -------------------------------------------------------------------------------
  542. #1938 - nested generate
  543. -------------------------------------------------------------------------------
  544. PartTracker.tests.cpp:<line number>
  545. ...............................................................................
  546. PartTracker.tests.cpp:<line number>: PASSED:
  547. REQUIRE( m )
  548. with expansion:
  549. 2
  550. PartTracker.tests.cpp:<line number>: PASSED:
  551. REQUIRE( n )
  552. with expansion:
  553. 3
  554. -------------------------------------------------------------------------------
  555. #1938 - nested generate
  556. -------------------------------------------------------------------------------
  557. PartTracker.tests.cpp:<line number>
  558. ...............................................................................
  559. PartTracker.tests.cpp:<line number>: PASSED:
  560. REQUIRE( m )
  561. with expansion:
  562. 3
  563. PartTracker.tests.cpp:<line number>: PASSED:
  564. REQUIRE( n )
  565. with expansion:
  566. 1
  567. -------------------------------------------------------------------------------
  568. #1938 - nested generate
  569. -------------------------------------------------------------------------------
  570. PartTracker.tests.cpp:<line number>
  571. ...............................................................................
  572. PartTracker.tests.cpp:<line number>: PASSED:
  573. REQUIRE( m )
  574. with expansion:
  575. 3
  576. PartTracker.tests.cpp:<line number>: PASSED:
  577. REQUIRE( n )
  578. with expansion:
  579. 2
  580. -------------------------------------------------------------------------------
  581. #1938 - nested generate
  582. -------------------------------------------------------------------------------
  583. PartTracker.tests.cpp:<line number>
  584. ...............................................................................
  585. PartTracker.tests.cpp:<line number>: PASSED:
  586. REQUIRE( m )
  587. with expansion:
  588. 3
  589. PartTracker.tests.cpp:<line number>: PASSED:
  590. REQUIRE( n )
  591. with expansion:
  592. 3
  593. -------------------------------------------------------------------------------
  594. #1954 - 7 arg template test case sig compiles - 1, 1, 1, 1, 1, 0, 0
  595. -------------------------------------------------------------------------------
  596. Misc.tests.cpp:<line number>
  597. ...............................................................................
  598. Misc.tests.cpp:<line number>: PASSED:
  599. -------------------------------------------------------------------------------
  600. #1954 - 7 arg template test case sig compiles - 5, 1, 1, 1, 1, 0, 0
  601. -------------------------------------------------------------------------------
  602. Misc.tests.cpp:<line number>
  603. ...............................................................................
  604. Misc.tests.cpp:<line number>: PASSED:
  605. -------------------------------------------------------------------------------
  606. #1954 - 7 arg template test case sig compiles - 5, 3, 1, 1, 1, 0, 0
  607. -------------------------------------------------------------------------------
  608. Misc.tests.cpp:<line number>
  609. ...............................................................................
  610. Misc.tests.cpp:<line number>: PASSED:
  611. -------------------------------------------------------------------------------
  612. #748 - captures with unexpected exceptions
  613. outside assertions
  614. -------------------------------------------------------------------------------
  615. Exception.tests.cpp:<line number>
  616. ...............................................................................
  617. Exception.tests.cpp:<line number>: FAILED:
  618. due to unexpected exception with messages:
  619. answer := 42
  620. expected exception
  621. -------------------------------------------------------------------------------
  622. #748 - captures with unexpected exceptions
  623. inside REQUIRE_NOTHROW
  624. -------------------------------------------------------------------------------
  625. Exception.tests.cpp:<line number>
  626. ...............................................................................
  627. Exception.tests.cpp:<line number>: FAILED:
  628. REQUIRE_NOTHROW( thisThrows() )
  629. due to unexpected exception with messages:
  630. answer := 42
  631. expected exception
  632. -------------------------------------------------------------------------------
  633. #748 - captures with unexpected exceptions
  634. inside REQUIRE_THROWS
  635. -------------------------------------------------------------------------------
  636. Exception.tests.cpp:<line number>
  637. ...............................................................................
  638. Exception.tests.cpp:<line number>: PASSED:
  639. REQUIRE_THROWS( thisThrows() )
  640. with message:
  641. answer := 42
  642. -------------------------------------------------------------------------------
  643. #809
  644. -------------------------------------------------------------------------------
  645. Compilation.tests.cpp:<line number>
  646. ...............................................................................
  647. Compilation.tests.cpp:<line number>: PASSED:
  648. REQUIRE( 42 == f )
  649. with expansion:
  650. 42 == {?}
  651. -------------------------------------------------------------------------------
  652. #833
  653. -------------------------------------------------------------------------------
  654. Compilation.tests.cpp:<line number>
  655. ...............................................................................
  656. Compilation.tests.cpp:<line number>: PASSED:
  657. REQUIRE( a == t )
  658. with expansion:
  659. 3 == 3
  660. Compilation.tests.cpp:<line number>: PASSED:
  661. CHECK( a == t )
  662. with expansion:
  663. 3 == 3
  664. Compilation.tests.cpp:<line number>: PASSED:
  665. REQUIRE_THROWS( throws_int(true) )
  666. Compilation.tests.cpp:<line number>: PASSED:
  667. CHECK_THROWS_AS( throws_int(true), int )
  668. Compilation.tests.cpp:<line number>: PASSED:
  669. REQUIRE_NOTHROW( throws_int(false) )
  670. Compilation.tests.cpp:<line number>: PASSED:
  671. REQUIRE_THAT( "aaa", Catch::EndsWith("aaa") )
  672. with expansion:
  673. "aaa" ends with: "aaa"
  674. Compilation.tests.cpp:<line number>: PASSED:
  675. REQUIRE( templated_tests<int>(3) )
  676. with expansion:
  677. true
  678. -------------------------------------------------------------------------------
  679. #835 -- errno should not be touched by Catch
  680. -------------------------------------------------------------------------------
  681. Misc.tests.cpp:<line number>
  682. ...............................................................................
  683. Misc.tests.cpp:<line number>: FAILED:
  684. CHECK( f() == 0 )
  685. with expansion:
  686. 1 == 0
  687. Misc.tests.cpp:<line number>: PASSED:
  688. REQUIRE( errno == 1 )
  689. with expansion:
  690. 1 == 1
  691. -------------------------------------------------------------------------------
  692. #872
  693. -------------------------------------------------------------------------------
  694. Compilation.tests.cpp:<line number>
  695. ...............................................................................
  696. Compilation.tests.cpp:<line number>: PASSED:
  697. REQUIRE( x == 4 )
  698. with expansion:
  699. {?} == 4
  700. with message:
  701. dummy := 0
  702. -------------------------------------------------------------------------------
  703. #961 -- Dynamically created sections should all be reported
  704. Looped section 0
  705. -------------------------------------------------------------------------------
  706. Misc.tests.cpp:<line number>
  707. ...............................................................................
  708. Misc.tests.cpp:<line number>: PASSED:
  709. with message:
  710. Everything is OK
  711. -------------------------------------------------------------------------------
  712. #961 -- Dynamically created sections should all be reported
  713. Looped section 1
  714. -------------------------------------------------------------------------------
  715. Misc.tests.cpp:<line number>
  716. ...............................................................................
  717. Misc.tests.cpp:<line number>: PASSED:
  718. with message:
  719. Everything is OK
  720. -------------------------------------------------------------------------------
  721. #961 -- Dynamically created sections should all be reported
  722. Looped section 2
  723. -------------------------------------------------------------------------------
  724. Misc.tests.cpp:<line number>
  725. ...............................................................................
  726. Misc.tests.cpp:<line number>: PASSED:
  727. with message:
  728. Everything is OK
  729. -------------------------------------------------------------------------------
  730. #961 -- Dynamically created sections should all be reported
  731. Looped section 3
  732. -------------------------------------------------------------------------------
  733. Misc.tests.cpp:<line number>
  734. ...............................................................................
  735. Misc.tests.cpp:<line number>: PASSED:
  736. with message:
  737. Everything is OK
  738. -------------------------------------------------------------------------------
  739. #961 -- Dynamically created sections should all be reported
  740. Looped section 4
  741. -------------------------------------------------------------------------------
  742. Misc.tests.cpp:<line number>
  743. ...............................................................................
  744. Misc.tests.cpp:<line number>: PASSED:
  745. with message:
  746. Everything is OK
  747. -------------------------------------------------------------------------------
  748. 'Not' checks that should fail
  749. -------------------------------------------------------------------------------
  750. Condition.tests.cpp:<line number>
  751. ...............................................................................
  752. Condition.tests.cpp:<line number>: FAILED:
  753. CHECK( false != false )
  754. Condition.tests.cpp:<line number>: FAILED:
  755. CHECK( true != true )
  756. ===============================================================================
  757. test cases: 31 | 26 passed | 3 failed | 2 failed as expected
  758. assertions: 100 | 93 passed | 4 failed | 3 failed as expected