- fixes nullptr regression (I had accidentally left in some dev changes)
This commit is contained in:
Phil Nash 2013-12-14 22:53:28 +00:00
parent 859760abb4
commit 9d7b77956c
8 changed files with 10 additions and 36 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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

View File

@ -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)

View File

@ -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)

View File

@ -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}"/>

View File

@ -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>

View File

@ -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