mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-30 01:03:30 +01:00
build 19
- fixes nullptr regression (I had accidentally left in some dev changes)
This commit is contained in:
parent
859760abb4
commit
9d7b77956c
@ -1,6 +1,6 @@
|
|||||||
![catch logo](catch-logo-small.png)
|
![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)
|
Build status (on Travis CI) [![Build Status](https://travis-ci.org/philsquared/Catch.png)](https://travis-ci.org/philsquared/Catch)
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
// Much of the following code is based on Boost (1.53)
|
// Much of the following code is based on Boost (1.53)
|
||||||
|
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
#define CATCH_CONFIG_CPP11_NULLPTR
|
|
||||||
|
|
||||||
#if __has_feature(cxx_nullptr)
|
#if __has_feature(cxx_nullptr)
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
namespace Catch {
|
namespace Catch {
|
||||||
|
|
||||||
// These numbers are maintained by a script
|
// 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
|
#endif // TWOBLUECUBES_CATCH_VERSION_HPP_INCLUDED
|
||||||
|
@ -750,5 +750,5 @@ with expansion:
|
|||||||
"first" == "second"
|
"first" == "second"
|
||||||
|
|
||||||
===============================================================================
|
===============================================================================
|
||||||
122 test cases - 36 failed (675 assertions - 91 failed)
|
121 test cases - 36 failed (674 assertions - 91 failed)
|
||||||
|
|
||||||
|
@ -6367,18 +6367,6 @@ PASSED:
|
|||||||
with expansion:
|
with expansion:
|
||||||
__null == 0
|
__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
|
X/level/0/a
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
@ -7143,5 +7131,5 @@ with expansion:
|
|||||||
true
|
true
|
||||||
|
|
||||||
===============================================================================
|
===============================================================================
|
||||||
122 test cases - 51 failed (694 assertions - 110 failed)
|
121 test cases - 51 failed (693 assertions - 110 failed)
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<testsuites>
|
<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="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 different epsilons" time="{duration}"/>
|
||||||
<testcase classname="global" name="Approximate comparisons with floats" 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="non streamable - with conv. op" time="{duration}"/>
|
||||||
<testcase classname="global" name="Comparing function pointers" time="{duration}"/>
|
<testcase classname="global" name="Comparing function pointers" time="{duration}"/>
|
||||||
<testcase classname="global" name="pointer to class" 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/a" time="{duration}"/>
|
||||||
<testcase classname="global" name="X/level/0/b" time="{duration}"/>
|
<testcase classname="global" name="X/level/0/b" time="{duration}"/>
|
||||||
<testcase classname="global" name="X/level/1/a" time="{duration}"/>
|
<testcase classname="global" name="X/level/1/a" time="{duration}"/>
|
||||||
|
@ -6650,17 +6650,6 @@ there"
|
|||||||
</Expression>
|
</Expression>
|
||||||
<OverallResult success="true"/>
|
<OverallResult success="true"/>
|
||||||
</TestCase>
|
</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">
|
<TestCase name="X/level/0/a">
|
||||||
<OverallResult success="true"/>
|
<OverallResult success="true"/>
|
||||||
</TestCase>
|
</TestCase>
|
||||||
@ -7413,7 +7402,7 @@ there"
|
|||||||
</Section>
|
</Section>
|
||||||
<OverallResult success="true"/>
|
<OverallResult success="true"/>
|
||||||
</TestCase>
|
</TestCase>
|
||||||
<OverallResults successes="584" failures="110"/>
|
<OverallResults successes="583" failures="110"/>
|
||||||
</Group>
|
</Group>
|
||||||
<OverallResults successes="584" failures="110"/>
|
<OverallResults successes="583" failures="110"/>
|
||||||
</Catch>
|
</Catch>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* CATCH v1.0 build 18 (master branch)
|
* CATCH v1.0 build 19 (master branch)
|
||||||
* Generated: 2013-12-14 14:32:59.401645
|
* Generated: 2013-12-14 22:52:16.692380
|
||||||
* ----------------------------------------------------------
|
* ----------------------------------------------------------
|
||||||
* This file has been merged from multiple headers. Please don't edit it directly
|
* This file has been merged from multiple headers. Please don't edit it directly
|
||||||
* Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
|
* 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)
|
// Much of the following code is based on Boost (1.53)
|
||||||
|
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
#define CATCH_CONFIG_CPP11_NULLPTR
|
|
||||||
|
|
||||||
#if __has_feature(cxx_nullptr)
|
#if __has_feature(cxx_nullptr)
|
||||||
|
|
||||||
@ -6167,7 +6166,7 @@ namespace Catch {
|
|||||||
namespace Catch {
|
namespace Catch {
|
||||||
|
|
||||||
// These numbers are maintained by a script
|
// These numbers are maintained by a script
|
||||||
Version libraryVersion( 1, 0, 18, "master" );
|
Version libraryVersion( 1, 0, 19, "master" );
|
||||||
}
|
}
|
||||||
|
|
||||||
// #included from: catch_text.hpp
|
// #included from: catch_text.hpp
|
||||||
|
Loading…
Reference in New Issue
Block a user