diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-13 15:08:46 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-13 15:08:46 -0600 |
commit | d497b1b0373d758ede3d877ab68c8d7c8ab29062 (patch) | |
tree | 00ebfc47087a5fd82949fc1abf08dd7e03c1c631 /indexlib/tests/stringarray-test.cpp | |
parent | 639f34ef2efdec6ff0d1f47d919ca070d027fb80 (diff) | |
download | tdepim-d497b1b0373d758ede3d877ab68c8d7c8ab29062.tar.gz tdepim-d497b1b0373d758ede3d877ab68c8d7c8ab29062.zip |
Fix inadvertent TQt changes
This closes Bug 752
Diffstat (limited to 'indexlib/tests/stringarray-test.cpp')
-rw-r--r-- | indexlib/tests/stringarray-test.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/indexlib/tests/stringarray-test.cpp b/indexlib/tests/stringarray-test.cpp index 110b82c9a..d0f5ecefa 100644 --- a/indexlib/tests/stringarray-test.cpp +++ b/indexlib/tests/stringarray-test.cpp @@ -17,21 +17,21 @@ void test_size() { test.add( "one" ); test.add( "one" ); test.add( "one" ); - //BOOST_CHECK_ETQUAL( test.size(), 4 ); + //BOOST_CHECK_EQUAL( test.size(), 4 ); cleanup(); } void test_put_recover() { stringarray test( fname ); - BOOST_CHECK_ETQUAL( test.add( "one" ), 0 ); - BOOST_CHECK_ETQUAL( test.add( "two" ), 1 ); - BOOST_CHECK_ETQUAL( test.add( "three" ), 2 ); - BOOST_CHECK_ETQUAL( test.add( "four" ), 3 ); + BOOST_CHECK_EQUAL( test.add( "one" ), 0 ); + BOOST_CHECK_EQUAL( test.add( "two" ), 1 ); + BOOST_CHECK_EQUAL( test.add( "three" ), 2 ); + BOOST_CHECK_EQUAL( test.add( "four" ), 3 ); - BOOST_CHECK_ETQUAL( test.get( 0 ), "one" ); - BOOST_CHECK_ETQUAL( test.get( 1 ), "two" ); - BOOST_CHECK_ETQUAL( test.get( 2 ), "three" ); - BOOST_CHECK_ETQUAL( test.get( 3 ), "four" ); + BOOST_CHECK_EQUAL( test.get( 0 ), "one" ); + BOOST_CHECK_EQUAL( test.get( 1 ), "two" ); + BOOST_CHECK_EQUAL( test.get( 2 ), "three" ); + BOOST_CHECK_EQUAL( test.get( 3 ), "four" ); cleanup(); } @@ -39,19 +39,19 @@ void test_put_recover() { void test_persistent() { { stringarray test( fname ); - BOOST_CHECK_ETQUAL( test.add( "one" ), 0 ); - BOOST_CHECK_ETQUAL( test.add( "two" ), 1 ); - BOOST_CHECK_ETQUAL( test.add( "three" ), 2 ); - BOOST_CHECK_ETQUAL( test.add( "four" ), 3 ); + BOOST_CHECK_EQUAL( test.add( "one" ), 0 ); + BOOST_CHECK_EQUAL( test.add( "two" ), 1 ); + BOOST_CHECK_EQUAL( test.add( "three" ), 2 ); + BOOST_CHECK_EQUAL( test.add( "four" ), 3 ); } { stringarray test( fname ); - //BOOST_CHECK_ETQUAL( test.size(), 4 ); - BOOST_CHECK_ETQUAL( test.get( 0 ), "one" ); - BOOST_CHECK_ETQUAL( test.get( 1 ), "two" ); - BOOST_CHECK_ETQUAL( test.get( 2 ), "three" ); - BOOST_CHECK_ETQUAL( test.get( 3 ), "four" ); + //BOOST_CHECK_EQUAL( test.size(), 4 ); + BOOST_CHECK_EQUAL( test.get( 0 ), "one" ); + BOOST_CHECK_EQUAL( test.get( 1 ), "two" ); + BOOST_CHECK_EQUAL( test.get( 2 ), "three" ); + BOOST_CHECK_EQUAL( test.get( 3 ), "four" ); } cleanup(); @@ -83,9 +83,9 @@ void erase() { test.add( "four" ); test.erase( 1 ); - BOOST_CHECK_ETQUAL( test.get( 0 ), "one" ); - BOOST_CHECK_ETQUAL( test.get( 1 ), "three" ); - BOOST_CHECK_ETQUAL( test.size(), 3u ); + BOOST_CHECK_EQUAL( test.get( 0 ), "one" ); + BOOST_CHECK_EQUAL( test.get( 1 ), "three" ); + BOOST_CHECK_EQUAL( test.size(), 3u ); cleanup(); } |