Commit Graph

508 Commits

Author SHA1 Message Date
Malcolm Noyes a9e0efdcad merge from upstream 2013-12-18 10:57:16 +00:00
Phil Nash eb760f689b Build 20 2013-12-18 08:38:33 +00:00
Phil Nash 9e529853ee Fixes compiler error for some versions of GCC
- Manual application of PR #196 (couldn’t merge)
- See also #226
2013-12-18 08:37:23 +00:00
Malcolm Noyes 185129ed60 Suppress warning (unreferenced type) at W4 for VS native headers 2013-12-17 12:36:11 +00:00
Malcolm Noyes 132f23cfff Fix order of config override when no override of first test 2013-12-16 22:17:34 +00:00
Malcolm Noyes b019773537 merge from upstream 2013-12-16 11:31:14 +00:00
Phil Nash 557b3bdbe3 Made SUCCESS variadic too (optional stream) 2013-12-14 23:16:03 +00:00
Phil Nash 2851b4a55a Try again with nullptr compatibility check in GCC 2013-12-14 23:04:06 +00:00
Phil Nash 9d7b77956c build 19
- fixes nullptr regression (I had accidentally left in some dev changes)
2013-12-14 22:53:28 +00:00
Phil Nash 859760abb4 Build 18 2013-12-14 14:34:05 +00:00
Phil Nash 563429d9a3 Compile in CATCH_CONFIG_CPP11_NULLPTR for some compilers 2013-12-14 14:32:26 +00:00
Phil Nash b4625208d0 Test for FAIL that doesn’t take an argument 2013-12-14 14:30:58 +00:00
Phil Nash 274ed3ea76 Allow FAIL() to be empty 2013-12-12 23:02:31 +00:00
Malcolm Noyes a3a56158f0 merge from upstream 2013-12-11 20:57:42 +00:00
Phil Nash a6d74bd55a Build 17 2013-12-11 08:28:15 +00:00
Phil Nash 0b63e0d868 Fixed warnings for platforms that don’t implement CATCH_BREAK_INTO_DEBUGGER
- as discussed in #229
2013-12-11 08:26:56 +00:00
Malcolm Noyes f52050c336 Fix output for different versions of VS 2013-12-10 15:28:49 +00:00
Malcolm Noyes 8774268140 Fix cout/cerr outut to reporter 2013-12-10 13:25:31 +00:00
Phil Nash a1e87a4b7d trim test/ section names in xml reporter
- BDD-style test names have leading spaces for alignment in the console reporter
2013-12-10 08:20:46 +00:00
Malcolm Noyes e8c32e819c Add abiiity to stop after n tests. Add ordered list of tests to check sw4 2013-12-09 23:12:05 +00:00
Malcolm Noyes 760eed1ad6 merge from tags 2013-12-09 16:40:52 +00:00
Malcolm Noyes cc2f4ba981 Merge from mainline 2013-12-09 16:01:23 +00:00
Malcolm Noyes 36cb967220 Update to allow all self tests to be run and to allow running with tags 2013-12-09 14:18:35 +00:00
Phil Nash ef95020239 Stop overloading virtualise defined at multiple levels 2013-12-07 09:08:01 +00:00
Phil Nash de49ec4d7c Fixed broken single header following script change
- fixed the script (was missing #ifdefs)
- also fixed single include (Xcode) test project
- build 16
2013-12-04 20:25:14 +00:00
Phil Nash 87b20e8dab SourceLineInfo takes char*s instead of std::strings 2013-12-04 08:12:30 +00:00
Phil Nash 47a5ad3038 Normalised “hidden” tags 2013-12-04 07:58:39 +00:00
Phil Nash 3649fdf285 Build 15 2013-12-03 18:53:55 +00:00
Phil Nash c4a089c12b Refactored a lot of code from headers into impl headers only compiled into one TU
- also added noimpl option to single header script - which only generates the non impl code
2013-12-03 18:52:41 +00:00
Phil Nash 8ba6555acd Merge pull request #224 from PetterS/cygwinfix
Fix fileno not always present. fileno(stdout) = 1.
2013-11-26 15:33:37 -08:00
Petter Strandmark c032dfa41c Fix fileno not always present. fileno(stdout) = STDOUT_FILENO.
This was a problem when compiling on Cygwin with gcc 4.8.
2013-11-26 23:20:05 +01:00
Phil Nash 5ecb72b9bb Build 14 2013-11-26 20:57:45 +00:00
Phil Nash 782c2b5891 Added ability to load names of tests to run from a file
- use -f to specify filename. Blank lines and lines starting with # are ignored
- also added --list-test-names-only to list test names out to file in a form that can be immediate read in by -f
2013-11-26 20:57:34 +00:00
Malcolm Noyes c88413dd58 register all tests, begin work on running all tests for 'tag' 2013-11-22 11:47:21 +00:00
Malcolm Noyes 2a14dffe97 clean up comments 2013-11-22 07:38:50 +00:00
Phil Nash 200197f0b2 Merge branch 'master' of github.com:philsquared/Catch 2013-11-19 07:22:24 +00:00
Phil Nash 337dc25ed7 Converted all test case names to "modern" style (freeform text + tags) 2013-11-19 07:21:03 +00:00
Malcolm Noyes ec0ef84226 Merge remote-tracking branch 'upstream/master' 2013-11-18 20:39:06 +00:00
Adam Strzelecki d1e5480d95 std::auto_ptr is deprecated in c++11/c++0x
This will use std::unique_ptr on C++11 and remove deprecation warning.
2013-11-17 18:44:35 +01:00
Malcolm Noyes 907f514de7 Add support for Managed tests in VS2010 & VS2012. Add support for Native tests in VS2012 2013-11-17 14:18:02 +00:00
Malcolm Noyes 3a6ab65c82 Merge from origin 2013-11-14 20:12:14 +00:00
Malcolm Noyes 73f7f0ad1b Catch VS integration Part 2 - modify version, allow multiple includes 2013-11-14 19:49:49 +00:00
Phil Nash 8d44f2dbb2 build 13 2013-11-13 08:10:45 +00:00
Phil Nash 4f57c8c589 Print warnings if no assertions and not running with -s 2013-11-13 08:07:38 +00:00
Phil Nash 2f086ae255 If no assertions print custom message 2013-11-12 19:06:08 +00:00
Phil Nash ecb9432763 Simplified and tidied test case and tag listing 2013-11-12 18:59:34 +00:00
Malcolm Noyes e9a2230ad8 VS integration part 1 - allow catch_message.hpp to be included by more than 1 source file 2013-11-10 15:11:21 +00:00
Phil Nash 5320518dbc Build 12 2013-11-09 07:47:09 +00:00
Phil Nash 0712bbb251 Merge pull request #207 from Fraser999/list_tests_issue
List tests issue
2013-11-07 03:11:19 -08:00
Phil Nash c2b0c6fb08 Added missing #include for <vector> 2013-11-07 10:35:59 +00:00