Commit Graph

  • d258e49f7c (Hopefully) fixed infinite loop in sections (GitHub #39). Phil Nash 2011-06-21 08:43:48 +01:00
  • f721a96d24 regenerated to include Approx changes Phil Nash 2011-06-07 14:13:57 +01:00
  • 2fa72a47cd Added ability to build custom Approx instance Phil Nash 2011-06-06 08:21:21 +01:00
  • cae44d8ace Made Approx a little more forgiving (to 100& epsilon of float) and added some more tests for it Phil Nash 2011-06-03 18:56:47 +01:00
  • f5668fafd9 Made #include paths from reporters relative (again) Phil Nash 2011-06-02 08:49:47 +01:00
  • 48112c2700 Fixed a potential ordering issue with output streambufs Phil Nash 2011-05-31 18:47:30 +01:00
  • 6b6143ccd4 Removed templates from Approx (just uses double) Phil Nash 2011-05-31 07:51:04 +01:00
  • 89d1e6c4f1 Tweaks to allow headers to be glued together. Added Python script to generate single header. Added new XCode project that runs self test against single header Phil Nash 2011-05-24 08:23:02 +01:00
  • 4b24490e1a Fixed Github Issue #32: "ResultBuilder& operator << should use toString" Phil Nash 2011-05-11 10:06:28 +01:00
  • 0ea29b7d28 Started adding tests for Approx Phil Nash 2011-04-28 08:28:03 +01:00
  • dfea75fc05 Allow epsilon and scale to be specified Phil Nash 2011-04-28 08:20:47 +01:00
  • d7b8b01f3e Updated to use Richard Harris' approximation formula Phil Nash 2011-04-28 08:11:00 +01:00
  • d7c203c3e9 Factored Approx out into own file Phil Nash 2011-04-28 08:03:28 +01:00
  • 95419e935c Merges objc top level headers into main headers (using #ifdef __OBJC__) Phil Nash 2011-04-26 19:00:25 +01:00
  • 38edb9fa95 Removed bool warning Phil Nash 2011-04-26 08:35:52 +01:00
  • 823ea3efd4 Re-org Phil Nash 2011-04-26 08:32:40 +01:00
  • 02c877f916 Updated self test with current test counts Phil Nash 2011-04-22 19:30:55 +01:00
  • db2eda9009 XML Reporter reports file/ line in Exception element Phil Nash 2011-04-22 19:22:14 +01:00
  • 02e597c2cc report file/ line of section of unexpected exception is thrown Phil Nash 2011-04-21 19:43:55 +01:00
  • 81e42ce139 capture file/ line of test case - for reporting on uncaught exceptions Phil Nash 2011-04-21 08:59:42 +01:00
  • 77d72fb852 Qualified Catch::toSting Phil Nash 2011-04-20 22:33:23 +01:00
  • 5d7b054f14 Improved custom exception handling Phil Nash 2011-04-20 19:09:41 +01:00
  • 9430a2c4c8 First cut of custom exception support Phil Nash 2011-04-20 15:40:40 +01:00
  • d4117b9208 Added name option to cmd line help Phil Nash 2011-04-19 18:53:48 +01:00
  • b1d9fa82b6 Fixed bug in xml reporter that didn't accumulate success status correctly Phil Nash 2011-04-19 18:53:24 +01:00
  • 06134ba167 Make FixtureWrapper class name unique using the preprocessor instead of a specialisations Phil Nash 2011-04-12 18:44:58 +01:00
  • b3db552cfa Allow name to be provided for overall test run Phil Nash 2011-04-12 08:07:39 +01:00
  • 0bc42c5659 change root element of xml reporter to Catch Phil Nash 2011-04-12 07:39:45 +01:00
  • c8b279e76c change root element of xml reporter to Catch Phil Nash 2011-04-12 07:38:23 +01:00
  • 0f2e5d65b7 Cleaned up some of the contributed tests Phil Nash 2011-04-11 08:32:55 +01:00
  • 0f478a5b10 Some reporter refinements Phil Nash 2011-04-11 08:30:47 +01:00
  • 381fffe07d Extract what() message from std::exceptions in _NO_THROW() Phil Nash 2011-04-08 19:44:22 +01:00
  • 3e512bd316 Added boolean test for ptr expressions Phil Nash 2011-04-08 19:38:50 +01:00
  • 46b4909c08 Added Malcolm Noyes' test cases Phil Nash 2011-04-06 22:26:16 +01:00
  • 01db6c4471 Moved Approx into its own namespace to avoid ADL issues with operator == Phil Nash 2011-04-04 07:56:44 +01:00
  • 3c08431c92 Updated test counts Phil Nash 2011-04-01 08:15:58 +01:00
  • 4e58d7c6be Removed tests for unsigned ints against signed negative ints Phil Nash 2011-04-01 08:15:45 +01:00
  • 751c8bd7f7 Removed special case logic around comparisons between unsigned ints and negative signed ints (as it was non-standard) Phil Nash 2011-04-01 08:15:08 +01:00
  • 24b352f6b8 Allow warnings about comparisons between signed and unsigned ints to get through Phil Nash 2011-04-01 08:14:32 +01:00
  • 07f228a525 Merge https://github.com/ctt/Catch into SingleEvaluation Phil Nash 2011-03-29 19:16:45 +01:00
  • 5545627fb5 Merge branch 'SingleEvaluation' of https://github.com/ctt/Catch into SingleEvaluation Phil Nash 2011-03-29 19:15:49 +01:00
  • 5de646c728 iPhone test runner adds OC_TEST_CASEs Phil Nash 2011-03-29 08:29:01 +01:00
  • 84b394ec45 debug stream fixes Phil Nash 2011-03-29 08:05:47 +01:00
  • a1e5e9ffa2 Added isDebuggerActive for non Windows and Mac platforms. ctt 2011-03-28 19:37:18 -07:00
  • 4d43cae983 Added isDebuggerActive for non Windows and Mac platforms. ctt 2011-03-28 19:29:23 -07:00
  • 7a4b215dd3 string reporting is more consistent Phil Nash 2011-03-25 19:39:11 +00:00
  • f5f130c070 Refined multiline stdout Phil Nash 2011-03-25 19:09:41 +00:00
  • 8431fa1ec5 Send to debugger console by default if running within debugger (only support on Windows at the moment) Phil Nash 2011-03-24 19:23:28 +00:00
  • 62e23ac5a8 some investigation stuff Phil Nash 2011-03-22 19:16:01 +00:00
  • f8f592fafa Updated test count Phil Nash 2011-03-21 18:00:49 +00:00
  • 43c11398e7 Fixed VC++ warning Phil Nash 2011-03-21 18:00:19 +00:00
  • e9e6b90219 Support output to debug window in Windows Phil Nash 2011-03-21 12:36:58 +00:00
  • 7f52eda048 extracted showHelp() function Phil Nash 2011-03-21 12:36:21 +00:00
  • 4d613f1f9e Added XCode 4 related extension to be ignored Phil Nash 2011-03-21 12:21:50 +00:00
  • 0571f797c0 Split Main impl into layered functions to offer more customisation points Phil Nash 2011-03-21 12:21:25 +00:00
  • 18553e09fd Fixed warning in 32 bit builds Phil Nash 2011-03-21 08:09:47 +00:00
  • 7dfd830a3a Allow { NULL <op> T }to work Phil Nash 2011-03-18 19:08:33 +00:00
  • ef611c65d9 Pointer comparisons and compare to NULL Phil Nash 2011-03-18 14:39:58 +00:00
  • 1e15669f2a Added missing #include for <limits> Phil Nash 2011-03-15 22:41:27 +00:00
  • 5cab62bc82 Updated test counts following addition of more test cases Phil Nash 2011-03-15 22:39:06 +00:00
  • f6758c2967 Added special case logic for signed/ unsigned comparisons involving negative numbers and added test cases to cover them Phil Nash 2011-03-15 22:22:19 +00:00
  • cc0ed3a988 reports test case if stdout/ stderr written to, even if it succeeded Phil Nash 2011-03-15 18:56:11 +00:00
  • f9cc21a174 Suppress spurious "not all control paths return a value" warning in Visual Studio Phil Nash 2011-03-15 18:49:07 +00:00
  • 6d11d56fea Correctness fixes (for VS) Phil Nash 2011-03-15 18:43:13 +00:00
  • f4548505e2 Always output final summary - even if no errors Phil Nash 2011-03-15 18:42:22 +00:00
  • 3eb41eed6d Refactored duplicated code between acceptExpression() and acceptResult() Phil Nash 2011-03-15 18:01:44 +00:00
  • 4890a1d80a StopOnFailure now works again Phil Nash 2011-03-14 19:21:35 +00:00
  • b87bff21cd Added newlines to warn & info - and always output cout & cerr Phil Nash 2011-03-14 08:50:25 +00:00
  • c27e6dc838 Tidied exception check macros Phil Nash 2011-03-14 08:49:42 +00:00
  • 0dc4508d72 Fixed exception check regression Phil Nash 2011-03-14 08:45:55 +00:00
  • b826243956 Removed complex expression tests (they shouldn't compile now) Phil Nash 2011-03-11 19:46:18 +00:00
  • f35e0cbc6a Removed complex expression state (as it shouldn't compile now anyway) Phil Nash 2011-03-11 19:45:36 +00:00
  • 13bfe477c7 Improvements to self test to give finer grained feedback Phil Nash 2011-03-11 19:44:59 +00:00
  • 2e444861c9 Fixed some issues caused by single evaluation work Phil Nash 2011-03-10 19:18:14 +00:00
  • e0e74774e2 More Single Evaluation work Phil Nash 2011-03-10 14:09:32 +00:00
  • b708789ee9 First cut of single-evaluation fix Phil Nash 2011-03-09 19:45:05 +00:00
  • c57ff75cdb Renamed file Phil Nash 2011-03-09 09:38:33 +00:00
  • e6ce1a39bb Second attempt at signed/ unsigned Phil Nash 2011-03-09 09:33:33 +00:00
  • 0130dfac41 First attempt at solving signed/ unsigned issue with int literals Phil Nash 2011-03-09 09:32:03 +00:00
  • 01234172a9 Small defensive tweak on checking expression Phil Nash 2011-03-01 09:55:17 +00:00
  • e401601ac1 Added CAPTURE() macro Phil Nash 2011-02-28 19:01:04 +00:00
  • 088d700315 Fixed lazy reporting for nested sections Phil Nash 2011-02-28 08:18:52 +00:00
  • 7fe330f078 Made dummy BreakIntoDebugger() macro an inline function to avoid compiler warning Phil Nash 2011-02-24 09:55:11 +00:00
  • a691e69dae Merge branch 'master' of https://github.com/mattrubin/Catch Phil Nash 2011-02-24 09:45:57 +00:00
  • 8087f5738c Fixed null string reporting issue Phil Nash 2011-02-23 20:02:18 +00:00
  • 331188f6b3 Added generator copy ctor to fix bug when NRVO is not used. Some exception handling improvements, too Phil Nash 2011-02-23 09:06:05 +00:00
  • 6bfc1b6016 Fixed self test Phil Nash 2011-02-21 18:50:35 +00:00
  • 65e4111c31 Added more focussed meta test for sections and fixed bug in outstanding section detection Phil Nash 2011-02-21 18:48:00 +00:00
  • a243a23363 More complete fix for nested sections Phil Nash 2011-02-21 08:50:05 +00:00
  • 55c63af8ae Fixed a compiler error when on a Mac with DEBUG not defined, which resulted in an undefined BreakIntoDebugger() Matt Rubin 2011-02-19 16:03:42 -08:00
  • 70e7d7f16b Further improved nested sections Phil Nash 2011-02-17 20:15:20 +00:00
  • a8c31c725d Quick fix for nested sections - doesn't cover all cases yet Phil Nash 2011-02-17 19:40:46 +00:00
  • ab30ab6b76 Added attribution for __debugbreak() Phil Nash 2011-02-16 19:22:29 +00:00
  • 73acd945cd Fixed more warnings and applied workaround for getting to std::numeric_limits without clashing with Windows' min() and max() macros. Phil Nash 2011-02-16 19:02:09 +00:00
  • dea778138e Renamed DebugBreak to avoid collision and implemented in terms of __debugbreak() on Windows Phil Nash 2011-02-16 18:58:15 +00:00
  • 7d65a8c612 Improved reporting from self-test and basic reporter in general Phil Nash 2011-02-09 19:26:59 +00:00
  • 3bad3d6956 Refactored self-test - doesn't need so many supporting classes Phil Nash 2011-02-09 09:08:10 +00:00
  • c8f12e1175 First cut of iOS test runner Phil Nash 2011-02-08 18:48:45 +00:00
  • 9e33fdd465 First draft of iOS test runner Phil Nash 2011-02-08 18:48:34 +00:00
  • 58e9a8bafd Some clean-up Phil Nash 2011-02-08 08:42:05 +00:00