Excluded two more C++11 tests from Approval tests
diff --git a/projects/SelfTest/Baselines/console.std.approved.txt b/projects/SelfTest/Baselines/console.std.approved.txt
index 34d7b6a..0b8f1bd 100644
--- a/projects/SelfTest/Baselines/console.std.approved.txt
+++ b/projects/SelfTest/Baselines/console.std.approved.txt
@@ -830,6 +830,6 @@
"first" == "second"
===============================================================================
-test cases: 159 | 115 passed | 42 failed | 2 failed as expected
-assertions: 906 | 810 passed | 78 failed | 18 failed as expected
+test cases: 157 | 113 passed | 42 failed | 2 failed as expected
+assertions: 901 | 805 passed | 78 failed | 18 failed as expected
diff --git a/projects/SelfTest/Baselines/console.sw.approved.txt b/projects/SelfTest/Baselines/console.sw.approved.txt
index 79891bf..4d7177d 100644
--- a/projects/SelfTest/Baselines/console.sw.approved.txt
+++ b/projects/SelfTest/Baselines/console.sw.approved.txt
@@ -8679,50 +8679,6 @@
"1" == "1"
-------------------------------------------------------------------------------
-vec<vec<string,alloc>> -> toString
--------------------------------------------------------------------------------
-ToStringVector.cpp:<line number>
-...............................................................................
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(v) == "{ }" )
-with expansion:
- "{ }" == "{ }"
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(v) == "{ { \"hello\" }, { \"world\" } }" )
-with expansion:
- "{ { "hello" }, { "world" } }"
- ==
- "{ { "hello" }, { "world" } }"
-
--------------------------------------------------------------------------------
-vector<int,allocator> -> toString
--------------------------------------------------------------------------------
-ToStringVector.cpp:<line number>
-...............................................................................
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(vv) == "{ }" )
-with expansion:
- "{ }" == "{ }"
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(vv) == "{ 42 }" )
-with expansion:
- "{ 42 }" == "{ 42 }"
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(vv) == "{ 42, 250 }" )
-with expansion:
- "{ 42, 250 }" == "{ 42, 250 }"
-
--------------------------------------------------------------------------------
vector<int> -> toString
-------------------------------------------------------------------------------
ToStringVector.cpp:<line number>
@@ -8955,6 +8911,6 @@
PASSED:
===============================================================================
-test cases: 159 | 114 passed | 43 failed | 2 failed as expected
-assertions: 908 | 810 passed | 80 failed | 18 failed as expected
+test cases: 157 | 112 passed | 43 failed | 2 failed as expected
+assertions: 903 | 805 passed | 80 failed | 18 failed as expected
diff --git a/projects/SelfTest/Baselines/junit.sw.approved.txt b/projects/SelfTest/Baselines/junit.sw.approved.txt
index 2e712a6..1b4cd69 100644
--- a/projects/SelfTest/Baselines/junit.sw.approved.txt
+++ b/projects/SelfTest/Baselines/junit.sw.approved.txt
@@ -1,6 +1,6 @@
<?xml version="1.1" encoding="UTF-8"?>
<testsuites>
- <testsuite name="<exe-name>" errors="13" failures="68" tests="909" hostname="tbd" time="{duration}" timestamp="tbd">
+ <testsuite name="<exe-name>" errors="13" failures="68" tests="904" hostname="tbd" time="{duration}" timestamp="tbd">
<testcase classname="global" name="# A test name that starts with a #" time="{duration}"/>
<testcase classname="global" name="'Not' checks that should fail" time="{duration}">
<failure message="false != false" type="CHECK">
@@ -654,8 +654,6 @@
<testcase classname="global" name="toString( vectors<has_toString )" time="{duration}"/>
<testcase classname="global" name="toString(enum w/operator<<)" time="{duration}"/>
<testcase classname="global" name="toString(enum)" time="{duration}"/>
- <testcase classname="global" name="vec<vec<string,alloc>> -> toString" time="{duration}"/>
- <testcase classname="global" name="vector<int,allocator> -> toString" time="{duration}"/>
<testcase classname="global" name="vector<int> -> toString" time="{duration}"/>
<testcase classname="global" name="vector<string> -> toString" time="{duration}"/>
<testcase classname="vectors can be sized and resized" name="root" time="{duration}"/>
diff --git a/projects/SelfTest/Baselines/xml.sw.approved.txt b/projects/SelfTest/Baselines/xml.sw.approved.txt
index 3e7af57..1484d39 100644
--- a/projects/SelfTest/Baselines/xml.sw.approved.txt
+++ b/projects/SelfTest/Baselines/xml.sw.approved.txt
@@ -9143,54 +9143,6 @@
</Expression>
<OverallResult success="true"/>
</TestCase>
- <TestCase name="vec<vec<string,alloc>> -> toString">
- <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" >
- <Original>
- Catch::toString(v) == "{ }"
- </Original>
- <Expanded>
- "{ }" == "{ }"
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" >
- <Original>
- Catch::toString(v) == "{ { \"hello\" }, { \"world\" } }"
- </Original>
- <Expanded>
- "{ { "hello" }, { "world" } }"
-==
-"{ { "hello" }, { "world" } }"
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="vector<int,allocator> -> toString">
- <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" >
- <Original>
- Catch::toString(vv) == "{ }"
- </Original>
- <Expanded>
- "{ }" == "{ }"
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" >
- <Original>
- Catch::toString(vv) == "{ 42 }"
- </Original>
- <Expanded>
- "{ 42 }" == "{ 42 }"
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" >
- <Original>
- Catch::toString(vv) == "{ 42, 250 }"
- </Original>
- <Expanded>
- "{ 42, 250 }" == "{ 42, 250 }"
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
<TestCase name="vector<int> -> toString">
<Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" >
<Original>
@@ -9410,7 +9362,7 @@
</Section>
<OverallResult success="true"/>
</TestCase>
- <OverallResults successes="810" failures="81" expectedFailures="18"/>
+ <OverallResults successes="805" failures="81" expectedFailures="18"/>
</Group>
- <OverallResults successes="810" failures="80" expectedFailures="18"/>
+ <OverallResults successes="805" failures="80" expectedFailures="18"/>
</Catch>
diff --git a/projects/SelfTest/ToStringVector.cpp b/projects/SelfTest/ToStringVector.cpp
index c3a8d4e..cd071a9 100644
--- a/projects/SelfTest/ToStringVector.cpp
+++ b/projects/SelfTest/ToStringVector.cpp
@@ -52,7 +52,7 @@
};
}
-TEST_CASE( "vector<int,allocator> -> toString", "[toString][vector,allocator]" ) {
+TEST_CASE( "vector<int,allocator> -> toString", "[toString][vector,allocator][c++11][.]" ) {
std::vector<int,minimal_allocator<int> > vv;
REQUIRE( Catch::toString(vv) == "{ }" );
vv.push_back( 42 );
@@ -61,7 +61,7 @@
REQUIRE( Catch::toString(vv) == "{ 42, 250 }" );
}
-TEST_CASE( "vec<vec<string,alloc>> -> toString", "[toString][vector,allocator]" ) {
+TEST_CASE( "vec<vec<string,alloc>> -> toString", "[toString][vector,allocator][c++11][.]" ) {
typedef std::vector<std::string,minimal_allocator<std::string> > inner;
typedef std::vector<inner> vector;
vector v;