Skip to content

Commit

Permalink
Paths removed from all test files.
Browse files Browse the repository at this point in the history
git-svn-id: https://cxxtest.svn.sourceforge.net/svnroot/cxxtest/trunk@236 2f8b185b-e3eb-40a7-945f-4de83c84e57e
  • Loading branch information
atomgalaxy committed Dec 21, 2011
1 parent 397653a commit 5f9ae15
Show file tree
Hide file tree
Showing 31 changed files with 876 additions and 876 deletions.
108 changes: 54 additions & 54 deletions test/abort.out
Original file line number Diff line number Diff line change
@@ -1,111 +1,111 @@
Running 35 tests
In LessThanEquals::testLessThanEquals:
test/LessThanEquals.h:16: Error: Expected (1 <= 0), found (1 > 0)
LessThanEquals.h:16: Error: Expected (1 <= 0), found (1 > 0)
In Relation::testPredicate:
test/Relation.h:19: Error: Expected MyNegative( 1 ), found !MyNegative( 1 )
Relation.h:19: Error: Expected MyNegative( 1 ), found !MyNegative( 1 )
In Relation::testRelation:
test/Relation.h:29: Error: Expected MyLess<int>( 2, 1 ), found !MyLess<int>( 2, 1 )
Relation.h:29: Error: Expected MyLess<int>( 2, 1 ), found !MyLess<int>( 2, 1 )
In DefaultTraits::testSmallDefaultTraits:
test/DefaultTraits.h:21: Error: Test failed: { 00 01 02 03 04 05 06 07 }
DefaultTraits.h:21: Error: Test failed: { 00 01 02 03 04 05 06 07 }
In DefaultTraits::testBigDefaultTraits:
test/DefaultTraits.h:35: Error: Test failed: { 98 99 9A 9B 9C 9D 9E 9F ... }
DefaultTraits.h:35: Error: Test failed: { 98 99 9A 9B 9C 9D 9E 9F ... }
In DoubleCall::testAssertEqualsWithSideEffects:
test/DoubleCall.h:21: Error: Expected (increment() == 3), found (1 != 3)
DoubleCall.h:21: Error: Expected (increment() == 3), found (1 != 3)
In DoubleCall::testAssertDiffersWithSideEffects:
test/DoubleCall.h:26: Error: Expected (increment() != 1), found (1)
DoubleCall.h:26: Error: Expected (increment() != 1), found (1)
In DoubleCall::testAssertDeltaWithSideEffects:
test/DoubleCall.h:31: Error: Expected (increment() == 2.0) up to 0.5 (0.5000), found (1 != 2.0000)
DoubleCall.h:31: Error: Expected (increment() == 2.0) up to 0.5 (0.5000), found (1 != 2.0000)
In SameData::testAssertSameData:
test/SameData.h:23: Error: Expected DATA_SIZE (24) bytes to be equal at (x) and (y), found:
{ 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 }
differs from
{ FF FE FD FC FB FA F9 F8 F7 F6 F5 F4 F3 F2 F1 F0 EF EE ED EC EB EA E9 E8 }
SameData.h:23: Error: Expected DATA_SIZE (24) bytes to be equal at (x) and (y), found:
{ 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 }
differs from
{ FF FE FD FC FB FA F9 F8 F7 F6 F5 F4 F3 F2 F1 F0 EF EE ED EC EB EA E9 E8 }
In SameData::testAssertMessageSameData:
test/SameData.h:28: Error: Test failed: Not same data
test/SameData.h:28: Error: Expected DATA_SIZE (24) bytes to be equal at (x) and (y), found:
{ 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 }
differs from
{ FF FE FD FC FB FA F9 F8 F7 F6 F5 F4 F3 F2 F1 F0 EF EE ED EC EB EA E9 E8 }
SameData.h:28: Error: Test failed: Not same data
SameData.h:28: Error: Expected DATA_SIZE (24) bytes to be equal at (x) and (y), found:
{ 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 }
differs from
{ FF FE FD FC FB FA F9 F8 F7 F6 F5 F4 F3 F2 F1 F0 EF EE ED EC EB EA E9 E8 }
In SameData::testSafeAssertSameData:
test/SameData.h:33: Error: Expected DATA_SIZE (24) bytes to be equal at (x) and (y), found:
{ 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 }
differs from
{ FF FE FD FC FB FA F9 F8 F7 F6 F5 F4 F3 F2 F1 F0 EF EE ED EC EB EA E9 E8 }
SameData.h:33: Error: Expected DATA_SIZE (24) bytes to be equal at (x) and (y), found:
{ 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 }
differs from
{ FF FE FD FC FB FA F9 F8 F7 F6 F5 F4 F3 F2 F1 F0 EF EE ED EC EB EA E9 E8 }
In SameData::testSafeAssertMessageSameData:
test/SameData.h:38: Error: Test failed: Not same data
test/SameData.h:38: Error: Expected DATA_SIZE (24) bytes to be equal at (x) and (y), found:
{ 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 }
differs from
{ FF FE FD FC FB FA F9 F8 F7 F6 F5 F4 F3 F2 F1 F0 EF EE ED EC EB EA E9 E8 }
SameData.h:38: Error: Test failed: Not same data
SameData.h:38: Error: Expected DATA_SIZE (24) bytes to be equal at (x) and (y), found:
{ 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 }
differs from
{ FF FE FD FC FB FA F9 F8 F7 F6 F5 F4 F3 F2 F1 F0 EF EE ED EC EB EA E9 E8 }
.
In SameFiles::testAssertFileShorter:
test/SameFiles.h:18: Error: File 'SameFiles.h' ended before file 'SameFilesLonger.h' (line 42)
SameFiles.h:18: Error: File 'SameFiles.h' ended before file 'SameFilesLonger.h' (line 42)
= }
= };
=
<
=
<

In SameFiles::testAssertFileLonger:
test/SameFiles.h:23: Error: File 'SameFiles.h' ended before file 'SameFilesLonger.h' (line 42)
SameFiles.h:23: Error: File 'SameFiles.h' ended before file 'SameFilesLonger.h' (line 42)
= }
= };
=
>
=
>

In SameFiles::testAssertMessageSameFiles:
test/SameFiles.h:28: Error: Test failed: Not same files
test/SameFiles.h:28: Error: Files 'SameFiles.h' and 'SameData.h' differ at line 4
SameFiles.h:28: Error: Test failed: Not same files
SameFiles.h:28: Error: Files 'SameFiles.h' and 'SameData.h' differ at line 4
= #include <cxxtest/TestSuite.h>
=
=
= //
< // This test suite demonstrates TS_ASSERT_SAME_ATA

> // This test suite demonstrates TS_ASSERT_SAME_//

.
In SameFiles::testSafeAssertMessageSameFiles:
test/SameFiles.h:38: Error: Test failed: Not same files
test/SameFiles.h:38: Error: Files 'SameFiles.h' and 'SameData.h' differ at line 4
SameFiles.h:38: Error: Test failed: Not same files
SameFiles.h:38: Error: Files 'SameFiles.h' and 'SameData.h' differ at line 4
= #include <cxxtest/TestSuite.h>
=
=
= //
< // This test suite demonstrates TS_ASSERT_SAME_ATA

> // This test suite demonstrates TS_ASSERT_SAME_//

In TestMessageMacros::testMessageMacros:
test/Tsm.h:15: Error: Test failed: String
test/Tsm.h:15: Error: Assertion failed: false
Tsm.h:15: Error: Test failed: String
Tsm.h:15: Error: Assertion failed: false
In TraitsTest::testIntegerTraits:
test/TraitsTest.h:13: Error: Test failed: 1
TraitsTest.h:13: Error: Test failed: 1
In TraitsTest::testFloatingPointTraits:
test/TraitsTest.h:25: Error: Test failed: 0.1234
TraitsTest.h:25: Error: Test failed: 0.1234
In TraitsTest::testBoolTraits:
test/TraitsTest.h:31: Error: Test failed: true
TraitsTest.h:31: Error: Test failed: true
In TraitsTest::testCharTraits:
test/TraitsTest.h:37: Error: Test failed: 'A'
TraitsTest.h:37: Error: Test failed: 'A'
In TraitsTest::testStringTraits:
test/TraitsTest.h:51: Error: Test failed: (char *) is displayed as-is
TraitsTest.h:51: Error: Test failed: (char *) is displayed as-is

In TraitsTest::testStdStringTraits:
test/TraitsTest.h:57: Error: Test failed: "std::string is displayed with \"\""
TraitsTest.h:57: Error: Test failed: "std::string is displayed with \"\""
..
In MockTest::test_Unimplemented:
test/MockTest.h:33: Error: Test failed: T::one( void ) called with no T::Base_one object
MockTest.h:33: Error: Test failed: T::one( void ) called with no T::Base_one object
.
In MockTest::test_Mock_traits:
test/MockTest.h:40: Error: Test failed: T::getOpaque( int i ) called with no T::Base_getOpaque object
MockTest.h:40: Error: Test failed: T::getOpaque( int i ) called with no T::Base_getOpaque object
In MockTest::test_Override:
test/MockTest.h:33: Error: Test failed: T::one( void ) called with no T::Base_one object
MockTest.h:33: Error: Test failed: T::one( void ) called with no T::Base_one object
.
In MockTest::test_Unimplemented_supply:
test/MockTest.h:42: Error: Test failed: T::supplyOne( void ) called with no T::Base_supplyOne object
MockTest.h:42: Error: Test failed: T::supplyOne( void ) called with no T::Base_supplyOne object
.
In SameZero::test_TS_ASSERT_SAME_DATA_passed_zero:
test/SameZero.h:20: Error: Expected sizeof(data) (4) bytes to be equal at (data) and (0), found:
{ 00 01 02 03 }
differs from
(null)
SameZero.h:20: Error: Expected sizeof(data) (4) bytes to be equal at (data) and (0), found:
{ 00 01 02 03 }
differs from
(null)
Failed 28 of 35 tests
Success rate: 20%
Error level = 28
24 changes: 12 additions & 12 deletions test/bad.out
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
Running 7 tests
In BadTest::testEquality:
test/BadTest.h:15: Error: Expected (1 == 2), found (1 != 2)
test/BadTest.h:16: Error: Expected ('a' == 'A'), found ('a' != 'A')
test/BadTest.h:17: Error: Expected (1.0 == -12345678900000000000000000000000000000000000000000.1234), found (1.0000 != -1.2345E50)
BadTest.h:15: Error: Expected (1 == 2), found (1 != 2)
BadTest.h:16: Error: Expected ('a' == 'A'), found ('a' != 'A')
BadTest.h:17: Error: Expected (1.0 == -12345678900000000000000000000000000000000000000000.1234), found (1.0000 != -1.2345E50)
In BadTest::testAddition:
test/BadTest.h:23: Error: Expected (2 + 2 == 5), found (4 != 5)
BadTest.h:23: Error: Expected (2 + 2 == 5), found (4 != 5)
In BadTest::TestMultiplication:
test/BadTest.h:29: Error: Expected (4 * 4 == 44), found (16 != 44)
test/BadTest.h:30: Error: Expected (-2 * -2 != 4), found (4)
BadTest.h:29: Error: Expected (4 * 4 == 44), found (16 != 44)
BadTest.h:30: Error: Expected (-2 * -2 != 4), found (4)
In BadTest::testComparison:
test/BadTest.h:36: Error: Expected (-1 < -2), found (-1 >= -2)
BadTest.h:36: Error: Expected (-1 < -2), found (-1 >= -2)
In BadTest::testTheWorldIsCrazy:
test/BadTest.h:41: Error: Expected (true == false), found (true != false)
BadTest.h:41: Error: Expected (true == false), found (true != false)
In BadTest::test_Failure:
test/BadTest.h:46: Error: Test failed: Not implemented
test/BadTest.h:47: Error: Test failed: 1569779912
BadTest.h:46: Error: Test failed: Not implemented
BadTest.h:47: Error: Test failed: 1569779912
In BadTest::test_TS_WARN_macro:
test/BadTest.h:52: Warning: Just a friendly warning
test/BadTest.h:53: Warning: Warnings don't abort the test
BadTest.h:52: Warning: Just a friendly warning
BadTest.h:53: Warning: Warnings don't abort the test
.
Failed 6 of 7 tests
Success rate: 14%
Expand Down
2 changes: 1 addition & 1 deletion test/comments.out
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Running 1 test
In Comments::test_Something:
test/Comments.h:12: Warning: Something
Comments.h:12: Warning: Something
.OK!
Error level = 0
2 changes: 1 addition & 1 deletion test/comments2.out
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Running 1 test
In Comments::test_Something:
test/Comments2.h:12: Warning: Something
Comments2.h:12: Warning: Something
.OK!
Error level = 0
Loading

0 comments on commit 5f9ae15

Please sign in to comment.