mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
Remove duplicated test for #1027
This commit is contained in:
parent
68061bbed4
commit
33c58dad41
@ -1,6 +1,5 @@
|
|||||||
:test-result: PASS # A test name that starts with a #
|
:test-result: PASS # A test name that starts with a #
|
||||||
:test-result: PASS #1005: Comparing pointer to int and long (NULL can be either on various systems)
|
:test-result: PASS #1005: Comparing pointer to int and long (NULL can be either on various systems)
|
||||||
:test-result: PASS #1027
|
|
||||||
:test-result: PASS #1027: Bitfields can be captured
|
:test-result: PASS #1027: Bitfields can be captured
|
||||||
:test-result: PASS #1147
|
:test-result: PASS #1147
|
||||||
:test-result: PASS #1175 - Hidden Test
|
:test-result: PASS #1175 - Hidden Test
|
||||||
|
@ -3,8 +3,6 @@ Decomposition.tests.cpp:<line number>: passed: fptr == 0 for: 0 == 0
|
|||||||
Decomposition.tests.cpp:<line number>: passed: fptr == 0l for: 0 == 0
|
Decomposition.tests.cpp:<line number>: passed: fptr == 0l for: 0 == 0
|
||||||
Compilation.tests.cpp:<line number>: passed: y.v == 0 for: 0 == 0
|
Compilation.tests.cpp:<line number>: passed: y.v == 0 for: 0 == 0
|
||||||
Compilation.tests.cpp:<line number>: passed: 0 == y.v for: 0 == 0
|
Compilation.tests.cpp:<line number>: passed: 0 == y.v for: 0 == 0
|
||||||
Compilation.tests.cpp:<line number>: passed: y.v == 0 for: 0 == 0
|
|
||||||
Compilation.tests.cpp:<line number>: passed: 0 == y.v for: 0 == 0
|
|
||||||
Compilation.tests.cpp:<line number>: passed: t1 == t2 for: {?} == {?}
|
Compilation.tests.cpp:<line number>: passed: t1 == t2 for: {?} == {?}
|
||||||
Compilation.tests.cpp:<line number>: passed: t1 != t2 for: {?} != {?}
|
Compilation.tests.cpp:<line number>: passed: t1 != t2 for: {?} != {?}
|
||||||
Compilation.tests.cpp:<line number>: passed: t1 < t2 for: {?} < {?}
|
Compilation.tests.cpp:<line number>: passed: t1 < t2 for: {?} < {?}
|
||||||
|
@ -1380,6 +1380,6 @@ due to unexpected exception with message:
|
|||||||
Why would you throw a std::string?
|
Why would you throw a std::string?
|
||||||
|
|
||||||
===============================================================================
|
===============================================================================
|
||||||
test cases: 335 | 261 passed | 70 failed | 4 failed as expected
|
test cases: 334 | 260 passed | 70 failed | 4 failed as expected
|
||||||
assertions: 1897 | 1745 passed | 131 failed | 21 failed as expected
|
assertions: 1895 | 1743 passed | 131 failed | 21 failed as expected
|
||||||
|
|
||||||
|
@ -33,22 +33,6 @@ Decomposition.tests.cpp:<line number>: PASSED:
|
|||||||
with expansion:
|
with expansion:
|
||||||
0 == 0
|
0 == 0
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
|
||||||
#1027
|
|
||||||
-------------------------------------------------------------------------------
|
|
||||||
Compilation.tests.cpp:<line number>
|
|
||||||
...............................................................................
|
|
||||||
|
|
||||||
Compilation.tests.cpp:<line number>: PASSED:
|
|
||||||
REQUIRE( y.v == 0 )
|
|
||||||
with expansion:
|
|
||||||
0 == 0
|
|
||||||
|
|
||||||
Compilation.tests.cpp:<line number>: PASSED:
|
|
||||||
REQUIRE( 0 == y.v )
|
|
||||||
with expansion:
|
|
||||||
0 == 0
|
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
#1027: Bitfields can be captured
|
#1027: Bitfields can be captured
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
@ -14804,6 +14788,6 @@ Misc.tests.cpp:<line number>
|
|||||||
Misc.tests.cpp:<line number>: PASSED:
|
Misc.tests.cpp:<line number>: PASSED:
|
||||||
|
|
||||||
===============================================================================
|
===============================================================================
|
||||||
test cases: 335 | 245 passed | 86 failed | 4 failed as expected
|
test cases: 334 | 244 passed | 86 failed | 4 failed as expected
|
||||||
assertions: 1914 | 1745 passed | 148 failed | 21 failed as expected
|
assertions: 1912 | 1743 passed | 148 failed | 21 failed as expected
|
||||||
|
|
||||||
|
@ -33,22 +33,6 @@ Decomposition.tests.cpp:<line number>: PASSED:
|
|||||||
with expansion:
|
with expansion:
|
||||||
0 == 0
|
0 == 0
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
|
||||||
#1027
|
|
||||||
-------------------------------------------------------------------------------
|
|
||||||
Compilation.tests.cpp:<line number>
|
|
||||||
...............................................................................
|
|
||||||
|
|
||||||
Compilation.tests.cpp:<line number>: PASSED:
|
|
||||||
REQUIRE( y.v == 0 )
|
|
||||||
with expansion:
|
|
||||||
0 == 0
|
|
||||||
|
|
||||||
Compilation.tests.cpp:<line number>: PASSED:
|
|
||||||
REQUIRE( 0 == y.v )
|
|
||||||
with expansion:
|
|
||||||
0 == 0
|
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
#1027: Bitfields can be captured
|
#1027: Bitfields can be captured
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
@ -432,6 +416,6 @@ Condition.tests.cpp:<line number>: FAILED:
|
|||||||
CHECK( true != true )
|
CHECK( true != true )
|
||||||
|
|
||||||
===============================================================================
|
===============================================================================
|
||||||
test cases: 22 | 17 passed | 3 failed | 2 failed as expected
|
test cases: 21 | 16 passed | 3 failed | 2 failed as expected
|
||||||
assertions: 50 | 43 passed | 4 failed | 3 failed as expected
|
assertions: 48 | 41 passed | 4 failed | 3 failed as expected
|
||||||
|
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuitesloose text artifact
|
<testsuitesloose text artifact
|
||||||
>
|
>
|
||||||
<testsuite name="<exe-name>" errors="17" failures="132" tests="1915" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}">
|
<testsuite name="<exe-name>" errors="17" failures="132" tests="1913" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="filters" value="~[!nonportable]~[!benchmark]~[approvals] *"/>
|
<property name="filters" value="~[!nonportable]~[!benchmark]~[approvals] *"/>
|
||||||
<property name="random-seed" value="1"/>
|
<property name="random-seed" value="1"/>
|
||||||
</properties>
|
</properties>
|
||||||
<testcase classname="<exe-name>.global" name="# A test name that starts with a #" time="{duration}"/>
|
<testcase classname="<exe-name>.global" name="# A test name that starts with a #" time="{duration}"/>
|
||||||
<testcase classname="<exe-name>.global" name="#1005: Comparing pointer to int and long (NULL can be either on various systems)" time="{duration}"/>
|
<testcase classname="<exe-name>.global" name="#1005: Comparing pointer to int and long (NULL can be either on various systems)" time="{duration}"/>
|
||||||
<testcase classname="<exe-name>.global" name="#1027" time="{duration}"/>
|
|
||||||
<testcase classname="<exe-name>.global" name="#1027: Bitfields can be captured" time="{duration}"/>
|
<testcase classname="<exe-name>.global" name="#1027: Bitfields can be captured" time="{duration}"/>
|
||||||
<testcase classname="<exe-name>.global" name="#1147" time="{duration}"/>
|
<testcase classname="<exe-name>.global" name="#1147" time="{duration}"/>
|
||||||
<testcase classname="<exe-name>.global" name="#1175 - Hidden Test" time="{duration}"/>
|
<testcase classname="<exe-name>.global" name="#1175 - Hidden Test" time="{duration}"/>
|
||||||
|
@ -385,7 +385,6 @@ Class.tests.cpp:<line number>
|
|||||||
<testCase name="Template test case method with test types specified inside std::tuple - MyTypes - 2" duration="{duration}"/>
|
<testCase name="Template test case method with test types specified inside std::tuple - MyTypes - 2" duration="{duration}"/>
|
||||||
</file>
|
</file>
|
||||||
<file path="tests/<exe-name>/UsageTests/Compilation.tests.cpp">
|
<file path="tests/<exe-name>/UsageTests/Compilation.tests.cpp">
|
||||||
<testCase name="#1027" duration="{duration}"/>
|
|
||||||
<testCase name="#1027: Bitfields can be captured" duration="{duration}"/>
|
<testCase name="#1027: Bitfields can be captured" duration="{duration}"/>
|
||||||
<testCase name="#1147" duration="{duration}"/>
|
<testCase name="#1147" duration="{duration}"/>
|
||||||
<testCase name="#1238" duration="{duration}"/>
|
<testCase name="#1238" duration="{duration}"/>
|
||||||
|
@ -4,10 +4,6 @@ ok {test-number} - with 1 message: 'yay'
|
|||||||
ok {test-number} - fptr == 0 for: 0 == 0
|
ok {test-number} - fptr == 0 for: 0 == 0
|
||||||
# #1005: Comparing pointer to int and long (NULL can be either on various systems)
|
# #1005: Comparing pointer to int and long (NULL can be either on various systems)
|
||||||
ok {test-number} - fptr == 0l for: 0 == 0
|
ok {test-number} - fptr == 0l for: 0 == 0
|
||||||
# #1027
|
|
||||||
ok {test-number} - y.v == 0 for: 0 == 0
|
|
||||||
# #1027
|
|
||||||
ok {test-number} - 0 == y.v for: 0 == 0
|
|
||||||
# #1027: Bitfields can be captured
|
# #1027: Bitfields can be captured
|
||||||
ok {test-number} - y.v == 0 for: 0 == 0
|
ok {test-number} - y.v == 0 for: 0 == 0
|
||||||
# #1027: Bitfields can be captured
|
# #1027: Bitfields can be captured
|
||||||
@ -3820,5 +3816,5 @@ ok {test-number} - q3 == 23. for: 23.0 == 23.0
|
|||||||
ok {test-number} -
|
ok {test-number} -
|
||||||
# xmlentitycheck
|
# xmlentitycheck
|
||||||
ok {test-number} -
|
ok {test-number} -
|
||||||
1..1906
|
1..1904
|
||||||
|
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
##teamcity[testFinished name='# A test name that starts with a #' duration="{duration}"]
|
##teamcity[testFinished name='# A test name that starts with a #' duration="{duration}"]
|
||||||
##teamcity[testStarted name='#1005: Comparing pointer to int and long (NULL can be either on various systems)']
|
##teamcity[testStarted name='#1005: Comparing pointer to int and long (NULL can be either on various systems)']
|
||||||
##teamcity[testFinished name='#1005: Comparing pointer to int and long (NULL can be either on various systems)' duration="{duration}"]
|
##teamcity[testFinished name='#1005: Comparing pointer to int and long (NULL can be either on various systems)' duration="{duration}"]
|
||||||
##teamcity[testStarted name='#1027']
|
|
||||||
##teamcity[testFinished name='#1027' duration="{duration}"]
|
|
||||||
##teamcity[testStarted name='#1027: Bitfields can be captured']
|
##teamcity[testStarted name='#1027: Bitfields can be captured']
|
||||||
##teamcity[testFinished name='#1027: Bitfields can be captured' duration="{duration}"]
|
##teamcity[testFinished name='#1027: Bitfields can be captured' duration="{duration}"]
|
||||||
##teamcity[testStarted name='#1147']
|
##teamcity[testStarted name='#1147']
|
||||||
|
@ -24,25 +24,6 @@
|
|||||||
</Expression>
|
</Expression>
|
||||||
<OverallResult success="true"/>
|
<OverallResult success="true"/>
|
||||||
</TestCase>
|
</TestCase>
|
||||||
<TestCase name="#1027" filename="tests/<exe-name>/UsageTests/Compilation.tests.cpp" >
|
|
||||||
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/Compilation.tests.cpp" >
|
|
||||||
<Original>
|
|
||||||
y.v == 0
|
|
||||||
</Original>
|
|
||||||
<Expanded>
|
|
||||||
0 == 0
|
|
||||||
</Expanded>
|
|
||||||
</Expression>
|
|
||||||
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/Compilation.tests.cpp" >
|
|
||||||
<Original>
|
|
||||||
0 == y.v
|
|
||||||
</Original>
|
|
||||||
<Expanded>
|
|
||||||
0 == 0
|
|
||||||
</Expanded>
|
|
||||||
</Expression>
|
|
||||||
<OverallResult success="true"/>
|
|
||||||
</TestCase>
|
|
||||||
<TestCase name="#1027: Bitfields can be captured" filename="tests/<exe-name>/UsageTests/Compilation.tests.cpp" >
|
<TestCase name="#1027: Bitfields can be captured" filename="tests/<exe-name>/UsageTests/Compilation.tests.cpp" >
|
||||||
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/Compilation.tests.cpp" >
|
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/Compilation.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
@ -17775,7 +17756,7 @@ loose text artifact
|
|||||||
</Section>
|
</Section>
|
||||||
<OverallResult success="true"/>
|
<OverallResult success="true"/>
|
||||||
</TestCase>
|
</TestCase>
|
||||||
<OverallResults successes="1745" failures="149" expectedFailures="21"/>
|
<OverallResults successes="1743" failures="149" expectedFailures="21"/>
|
||||||
</Group>
|
</Group>
|
||||||
<OverallResults successes="1745" failures="148" expectedFailures="21"/>
|
<OverallResults successes="1743" failures="148" expectedFailures="21"/>
|
||||||
</Catch>
|
</Catch>
|
||||||
|
@ -61,10 +61,6 @@ namespace { namespace CompilationTests {
|
|||||||
return val == f.i;
|
return val == f.i;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct Y {
|
|
||||||
uint32_t v : 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
void throws_int(bool b) {
|
void throws_int(bool b) {
|
||||||
if (b) {
|
if (b) {
|
||||||
throw 1;
|
throw 1;
|
||||||
@ -142,9 +138,11 @@ namespace { namespace CompilationTests {
|
|||||||
REQUIRE (x == 4);
|
REQUIRE (x == 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_CASE("#1027: Bitfields can be captured") {
|
||||||
TEST_CASE("#1027") {
|
struct Y {
|
||||||
Y y{0};
|
uint32_t v : 1;
|
||||||
|
};
|
||||||
|
Y y{ 0 };
|
||||||
REQUIRE(y.v == 0);
|
REQUIRE(y.v == 0);
|
||||||
REQUIRE(0 == y.v);
|
REQUIRE(0 == y.v);
|
||||||
}
|
}
|
||||||
@ -216,15 +214,6 @@ namespace { namespace CompilationTests {
|
|||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
TEST_CASE( "#1027: Bitfields can be captured" ) {
|
|
||||||
struct Y {
|
|
||||||
uint32_t v : 1;
|
|
||||||
};
|
|
||||||
Y y{ 0 };
|
|
||||||
REQUIRE( y.v == 0 );
|
|
||||||
REQUIRE( 0 == y.v );
|
|
||||||
}
|
|
||||||
|
|
||||||
TEST_CASE("#1319: Sections can have description (even if it is not saved", "[compilation]") {
|
TEST_CASE("#1319: Sections can have description (even if it is not saved", "[compilation]") {
|
||||||
SECTION("SectionName", "This is a long form section description") {
|
SECTION("SectionName", "This is a long form section description") {
|
||||||
SUCCEED();
|
SUCCEED();
|
||||||
|
Loading…
Reference in New Issue
Block a user