Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

build 19

- fixes nullptr regression (I had accidentally left in some dev changes)
Commit
9d7b77956c8165f1c5c95497beeaaa8e12f93dcb
Author
Phil Nash ·
Parents
859760abb44f

Files · Download .tar.gz

Changes

 README.md                                            |  2 +-
 include/internal/catch_compiler_capabilities.h       |  1 -
 include/internal/catch_version.hpp                   |  2 +-
 projects/SelfTest/Baselines/console.std.approved.txt |  2 +-
 projects/SelfTest/Baselines/console.sw.approved.txt  | 14 +-------------
 projects/SelfTest/Baselines/junit.sw.approved.txt    |  3 +--
 projects/SelfTest/Baselines/xml.sw.approved.txt      | 15 ++-------------
 single_include/catch.hpp                             |  7 +++----
 8 files changed, 10 insertions(+), 36 deletions(-)

diff --git a/README.md b/README.md
index 03506b64..4b321812 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 ![catch logo](catch-logo-small.png)
 
-*v1.0 build 18 (master branch)*
+*v1.0 build 19 (master branch)*
 
 Build status (on Travis CI) [![Build Status](https://travis-ci.org/philsquared/Catch.png)](https://travis-ci.org/philsquared/Catch)
 
diff --git a/include/internal/catch_compiler_capabilities.h b/include/internal/catch_compiler_capabilities.h
index 0644f9c0..905d7317 100644
--- a/include/internal/catch_compiler_capabilities.h
+++ b/include/internal/catch_compiler_capabilities.h
@@ -11,7 +11,6 @@
 // Much of the following code is based on Boost (1.53)
 
 #ifdef __clang__
-#define CATCH_CONFIG_CPP11_NULLPTR
 
 #if __has_feature(cxx_nullptr)
 
diff --git a/include/internal/catch_version.hpp b/include/internal/catch_version.hpp
index 1ce459cc..62ce4115 100644
--- a/include/internal/catch_version.hpp
+++ b/include/internal/catch_version.hpp
@@ -13,7 +13,7 @@
 namespace Catch {
 
     // These numbers are maintained by a script
-    Version libraryVersion( 1, 0, 18, "master" );
+    Version libraryVersion( 1, 0, 19, "master" );
 }
 
 #endif // TWOBLUECUBES_CATCH_VERSION_HPP_INCLUDED
diff --git a/projects/SelfTest/Baselines/console.std.approved.txt b/projects/SelfTest/Baselines/console.std.approved.txt
index 54d3ee6f..7ff5146f 100644
--- a/projects/SelfTest/Baselines/console.std.approved.txt
+++ b/projects/SelfTest/Baselines/console.std.approved.txt
@@ -750,5 +750,5 @@ with expansion:
   "first" == "second"
 
 ===============================================================================
-122 test cases - 36 failed (675 assertions - 91 failed)
+121 test cases - 36 failed (674 assertions - 91 failed)
 
diff --git a/projects/SelfTest/Baselines/console.sw.approved.txt b/projects/SelfTest/Baselines/console.sw.approved.txt
index fac8f544..6d696ef3 100644
--- a/projects/SelfTest/Baselines/console.sw.approved.txt
+++ b/projects/SelfTest/Baselines/console.sw.approved.txt
@@ -6367,18 +6367,6 @@ PASSED:
 with expansion:
   __null == 0
 
--------------------------------------------------------------------------------
-null_ptr
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
-  REQUIRE( ptr.get() == std::__1::__get_nullptr_t() )
-with expansion:
-  __null == nullptr
-
 -------------------------------------------------------------------------------
 X/level/0/a
 -------------------------------------------------------------------------------
@@ -7143,5 +7131,5 @@ with expansion:
   true
 
 ===============================================================================
-122 test cases - 51 failed (694 assertions - 110 failed)
+121 test cases - 51 failed (693 assertions - 110 failed)
 
diff --git a/projects/SelfTest/Baselines/junit.sw.approved.txt b/projects/SelfTest/Baselines/junit.sw.approved.txt
index ee3d8013..675a7be1 100644
--- a/projects/SelfTest/Baselines/junit.sw.approved.txt
+++ b/projects/SelfTest/Baselines/junit.sw.approved.txt
@@ -1,5 +1,5 @@
 <testsuites>
-  <testsuite name="~_" errors="10" failures="100" tests="694" hostname="tbd" time="{duration}" timestamp="tbd">
+  <testsuite name="~_" errors="10" failures="100" tests="693" hostname="tbd" time="{duration}" timestamp="tbd">
     <testcase classname="global" name="Some simple comparisons between doubles" time="{duration}"/>
     <testcase classname="global" name="Approximate comparisons with different epsilons" time="{duration}"/>
     <testcase classname="global" name="Approximate comparisons with floats" time="{duration}"/>
@@ -514,7 +514,6 @@ TrickyTests.cpp:<line number>
     <testcase classname="global" name="non streamable - with conv. op" time="{duration}"/>
     <testcase classname="global" name="Comparing function pointers" time="{duration}"/>
     <testcase classname="global" name="pointer to class" time="{duration}"/>
-    <testcase classname="global" name="null_ptr" time="{duration}"/>
     <testcase classname="global" name="X/level/0/a" time="{duration}"/>
     <testcase classname="global" name="X/level/0/b" time="{duration}"/>
     <testcase classname="global" name="X/level/1/a" time="{duration}"/>
diff --git a/projects/SelfTest/Baselines/xml.sw.approved.txt b/projects/SelfTest/Baselines/xml.sw.approved.txt
index 39f32771..65477307 100644
--- a/projects/SelfTest/Baselines/xml.sw.approved.txt
+++ b/projects/SelfTest/Baselines/xml.sw.approved.txt
@@ -6650,17 +6650,6 @@ there&quot;
       </Expression>
       <OverallResult success="true"/>
     </TestCase>
-    <TestCase name="null_ptr">
-      <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" >
-        <Original>
-          ptr.get() == std::__1::__get_nullptr_t()
-        </Original>
-        <Expanded>
-          __null == nullptr
-        </Expanded>
-      </Expression>
-      <OverallResult success="true"/>
-    </TestCase>
     <TestCase name="X/level/0/a">
       <OverallResult success="true"/>
     </TestCase>
@@ -7413,7 +7402,7 @@ there&quot;
       </Section>
       <OverallResult success="true"/>
     </TestCase>
-    <OverallResults successes="584" failures="110"/>
+    <OverallResults successes="583" failures="110"/>
   </Group>
-  <OverallResults successes="584" failures="110"/>
+  <OverallResults successes="583" failures="110"/>
 </Catch>
diff --git a/single_include/catch.hpp b/single_include/catch.hpp
index 7e5881ee..3fbd9eb4 100644
--- a/single_include/catch.hpp
+++ b/single_include/catch.hpp
@@ -1,6 +1,6 @@
 /*
- *  CATCH v1.0 build 18 (master branch)
- *  Generated: 2013-12-14 14:32:59.401645
+ *  CATCH v1.0 build 19 (master branch)
+ *  Generated: 2013-12-14 22:52:16.692380
  *  ----------------------------------------------------------
  *  This file has been merged from multiple headers. Please don't edit it directly
  *  Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
@@ -44,7 +44,6 @@
 // Much of the following code is based on Boost (1.53)
 
 #ifdef __clang__
-#define CATCH_CONFIG_CPP11_NULLPTR
 
 #if __has_feature(cxx_nullptr)
 
@@ -6167,7 +6166,7 @@ namespace Catch {
 namespace Catch {
 
     // These numbers are maintained by a script
-    Version libraryVersion( 1, 0, 18, "master" );
+    Version libraryVersion( 1, 0, 19, "master" );
 }
 
 // #included from: catch_text.hpp