/external/stlport/test/unit/ |
exception_test.cpp | 89 CPPUNIT_ASSERT( true ); 92 CPPUNIT_ASSERT( false ); 94 CPPUNIT_ASSERT( g_unexpected_called ); 118 CPPUNIT_ASSERT( uncaught_result == -1 ); 120 CPPUNIT_ASSERT( uncaught_result == 0 ); 131 CPPUNIT_ASSERT( uncaught_result == 1 ); 143 CPPUNIT_ASSERT( foo == e.what() ); 146 CPPUNIT_ASSERT(foo == clone.what() ); 149 CPPUNIT_ASSERT( false ); 156 CPPUNIT_ASSERT( foo == e.what() ) [all...] |
config_test.cpp | 43 CPPUNIT_ASSERT( pint == &int_val ); 45 CPPUNIT_ASSERT( int_val != 0 ); 47 CPPUNIT_ASSERT( int_val == 0 ); 60 CPPUNIT_ASSERT( *ptr == 0x01 || 63 CPPUNIT_ASSERT( *ptr == 0x04 ); 79 CPPUNIT_ASSERT( pvect1Front == &vect2.front() ); 80 CPPUNIT_ASSERT( pvect2Front == &vect1.front() ); 82 CPPUNIT_ASSERT( pvect1Front != &vect2.front() ); 83 CPPUNIT_ASSERT( pvect2Front != &vect1.front() ); 101 CPPUNIT_ASSERT( pvoid != 0 ) [all...] |
slist_test.cpp | 82 CPPUNIT_ASSERT(!strcmp(result.c_str(),"sstxlx")); 91 CPPUNIT_ASSERT(!strcmp(result.c_str(),"sstl")); 101 CPPUNIT_ASSERT(!strcmp(result.c_str(),"stl")); 110 CPPUNIT_ASSERT(!strcmp(result.c_str(),"lst")); 117 CPPUNIT_ASSERT( sl_char_ite != sl_int_ite ); 131 CPPUNIT_ASSERT( *slit == 1); 135 CPPUNIT_ASSERT( *slit == 3 ); 140 CPPUNIT_ASSERT( *slit == 2 ); 144 CPPUNIT_ASSERT( *slit == 3 ); 147 CPPUNIT_ASSERT( sl.front() == 3 ) [all...] |
binsert_test.cpp | 37 CPPUNIT_ASSERT(!strcmp(names[0],array[0])); 38 CPPUNIT_ASSERT(!strcmp(names[1],array[1])); 39 CPPUNIT_ASSERT(!strcmp(names[2],array[2])); 42 CPPUNIT_ASSERT(!strcmp(names[3],array[0])); 43 CPPUNIT_ASSERT(!strcmp(names[4],array[1])); 44 CPPUNIT_ASSERT(!strcmp(names[5],array[2])); 51 CPPUNIT_ASSERT(!strcmp(names[0],array[0])); 52 CPPUNIT_ASSERT(!strcmp(names[1],array[1])); 53 CPPUNIT_ASSERT(!strcmp(names[2],array[2]));
|
ostmit_test.cpp | 42 CPPUNIT_ASSERT(os.good()); 44 CPPUNIT_ASSERT(os.good()); 48 CPPUNIT_ASSERT(os.good()); 49 CPPUNIT_ASSERT(os.str() == "hello 1524");
|
type_traits_test.cpp | 166 CPPUNIT_ASSERT( type_to_value(_ZeroRet()) == 0 ); 168 CPPUNIT_ASSERT( type_to_value(_OneRet()) == 1 ); 170 CPPUNIT_ASSERT( type_to_value(_AnyRet()) == 1 ); 174 CPPUNIT_ASSERT( __type2bool<__true_type>::_Ret == 1 ); 175 CPPUNIT_ASSERT( __type2bool<__false_type>::_Ret == 0 ); 176 CPPUNIT_ASSERT( __type2bool<any_type>::_Ret == 1 ); 181 CPPUNIT_ASSERT( type_to_value(_NotTrueRet()) == 0 ); 183 CPPUNIT_ASSERT( type_to_value(_NotFalseRet()) == 1 ); 188 CPPUNIT_ASSERT( type_to_value(_TrueTrueRet()) == 1 ); 190 CPPUNIT_ASSERT( type_to_value(_TrueFalseRet()) == 0 ) [all...] |
hash_test.cpp | 86 CPPUNIT_ASSERT( !strcmp(m['x'].c_str(),"20") ); 88 CPPUNIT_ASSERT( !strcmp(m['x'].c_str(),"10") ); 90 CPPUNIT_ASSERT( !strcmp(m['z'].c_str(),"") ); 92 CPPUNIT_ASSERT( m.count('z')==1 ); 95 CPPUNIT_ASSERT(p.second); 98 CPPUNIT_ASSERT(!p.second); 106 CPPUNIT_ASSERT( ite == cite ); 107 CPPUNIT_ASSERT( !(ite != cite) ); 108 CPPUNIT_ASSERT( cite == ite ); 109 CPPUNIT_ASSERT( !(cite != ite) ) [all...] |
fstream_test.cpp | 101 CPPUNIT_ASSERT (f.good()); 102 // CPPUNIT_ASSERT( s.str() == "1\n2\nabcd\nghk lm\nabcd ef" ); 111 CPPUNIT_ASSERT( f.good() ); 112 CPPUNIT_ASSERT( i == 1 ); 115 CPPUNIT_ASSERT( f.good() ); 116 CPPUNIT_ASSERT( d == 2.0 ); 119 CPPUNIT_ASSERT( f.good() ); 120 CPPUNIT_ASSERT( str == "abcd" ); 123 CPPUNIT_ASSERT( f.good() ); 124 CPPUNIT_ASSERT( c == '\n' ) [all...] |
collate_facets_test.cpp | 19 CPPUNIT_ASSERT( has_facet<collate<char> >(locale::classic()) ); 27 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); 28 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); 31 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); 32 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); 39 CPPUNIT_ASSERT( has_facet<collate<char> >(loc) ); 47 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); 48 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); 51 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); 52 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
exception_test.cpp | 89 CPPUNIT_ASSERT( true ); 92 CPPUNIT_ASSERT( false ); 94 CPPUNIT_ASSERT( g_unexpected_called ); 118 CPPUNIT_ASSERT( uncaught_result == -1 ); 120 CPPUNIT_ASSERT( uncaught_result == 0 ); 131 CPPUNIT_ASSERT( uncaught_result == 1 ); 143 CPPUNIT_ASSERT( foo == e.what() ); 146 CPPUNIT_ASSERT(foo == clone.what() ); 149 CPPUNIT_ASSERT( false ); 156 CPPUNIT_ASSERT( foo == e.what() ) [all...] |
config_test.cpp | 43 CPPUNIT_ASSERT( pint == &int_val ); 45 CPPUNIT_ASSERT( int_val != 0 ); 47 CPPUNIT_ASSERT( int_val == 0 ); 60 CPPUNIT_ASSERT( *ptr == 0x01 || 63 CPPUNIT_ASSERT( *ptr == 0x04 ); 79 CPPUNIT_ASSERT( pvect1Front == &vect2.front() ); 80 CPPUNIT_ASSERT( pvect2Front == &vect1.front() ); 82 CPPUNIT_ASSERT( pvect1Front != &vect2.front() ); 83 CPPUNIT_ASSERT( pvect2Front != &vect1.front() ); 101 CPPUNIT_ASSERT( pvoid != 0 ) [all...] |
slist_test.cpp | 82 CPPUNIT_ASSERT(!strcmp(result.c_str(),"sstxlx")); 91 CPPUNIT_ASSERT(!strcmp(result.c_str(),"sstl")); 101 CPPUNIT_ASSERT(!strcmp(result.c_str(),"stl")); 110 CPPUNIT_ASSERT(!strcmp(result.c_str(),"lst")); 117 CPPUNIT_ASSERT( sl_char_ite != sl_int_ite ); 131 CPPUNIT_ASSERT( *slit == 1); 135 CPPUNIT_ASSERT( *slit == 3 ); 140 CPPUNIT_ASSERT( *slit == 2 ); 144 CPPUNIT_ASSERT( *slit == 3 ); 147 CPPUNIT_ASSERT( sl.front() == 3 ) [all...] |
binsert_test.cpp | 37 CPPUNIT_ASSERT(!strcmp(names[0],array[0])); 38 CPPUNIT_ASSERT(!strcmp(names[1],array[1])); 39 CPPUNIT_ASSERT(!strcmp(names[2],array[2])); 42 CPPUNIT_ASSERT(!strcmp(names[3],array[0])); 43 CPPUNIT_ASSERT(!strcmp(names[4],array[1])); 44 CPPUNIT_ASSERT(!strcmp(names[5],array[2])); 51 CPPUNIT_ASSERT(!strcmp(names[0],array[0])); 52 CPPUNIT_ASSERT(!strcmp(names[1],array[1])); 53 CPPUNIT_ASSERT(!strcmp(names[2],array[2]));
|
ostmit_test.cpp | 42 CPPUNIT_ASSERT(os.good()); 44 CPPUNIT_ASSERT(os.good()); 48 CPPUNIT_ASSERT(os.good()); 49 CPPUNIT_ASSERT(os.str() == "hello 1524");
|
fstream_test.cpp | 101 CPPUNIT_ASSERT (f.good()); 103 CPPUNIT_ASSERT (f.good()); 105 CPPUNIT_ASSERT (f.good()); 107 CPPUNIT_ASSERT (f.good()); 109 CPPUNIT_ASSERT (f.good()); 111 CPPUNIT_ASSERT (f.good()); 113 CPPUNIT_ASSERT (f.good()); 115 CPPUNIT_ASSERT (f.good()); 118 CPPUNIT_ASSERT (f.good()); 120 // CPPUNIT_ASSERT( s.str() == "1\n2\nabcd\nghk lm\nabcd ef" ) [all...] |
type_traits_test.cpp | 166 CPPUNIT_ASSERT( type_to_value(_ZeroRet()) == 0 ); 168 CPPUNIT_ASSERT( type_to_value(_OneRet()) == 1 ); 170 CPPUNIT_ASSERT( type_to_value(_AnyRet()) == 1 ); 174 CPPUNIT_ASSERT( __type2bool<__true_type>::_Ret == 1 ); 175 CPPUNIT_ASSERT( __type2bool<__false_type>::_Ret == 0 ); 176 CPPUNIT_ASSERT( __type2bool<any_type>::_Ret == 1 ); 181 CPPUNIT_ASSERT( type_to_value(_NotTrueRet()) == 0 ); 183 CPPUNIT_ASSERT( type_to_value(_NotFalseRet()) == 1 ); 188 CPPUNIT_ASSERT( type_to_value(_TrueTrueRet()) == 1 ); 190 CPPUNIT_ASSERT( type_to_value(_TrueFalseRet()) == 0 ) [all...] |
hash_test.cpp | 86 CPPUNIT_ASSERT( !strcmp(m['x'].c_str(),"20") ); 88 CPPUNIT_ASSERT( !strcmp(m['x'].c_str(),"10") ); 90 CPPUNIT_ASSERT( !strcmp(m['z'].c_str(),"") ); 92 CPPUNIT_ASSERT( m.count('z')==1 ); 95 CPPUNIT_ASSERT(p.second); 98 CPPUNIT_ASSERT(!p.second); 106 CPPUNIT_ASSERT( ite == cite ); 107 CPPUNIT_ASSERT( !(ite != cite) ); 108 CPPUNIT_ASSERT( cite == ite ); 109 CPPUNIT_ASSERT( !(cite != ite) ) [all...] |
/ndk/tests/device/test-stlport/unit/ |
exception_test.cpp | 89 CPPUNIT_ASSERT( true ); 92 CPPUNIT_ASSERT( false ); 94 CPPUNIT_ASSERT( g_unexpected_called ); 118 CPPUNIT_ASSERT( uncaught_result == -1 ); 120 CPPUNIT_ASSERT( uncaught_result == 0 ); 131 CPPUNIT_ASSERT( uncaught_result == 1 ); 143 CPPUNIT_ASSERT( foo == e.what() ); 146 CPPUNIT_ASSERT(foo == clone.what() ); 149 CPPUNIT_ASSERT( false ); 156 CPPUNIT_ASSERT( foo == e.what() ) [all...] |
config_test.cpp | 43 CPPUNIT_ASSERT( pint == &int_val ); 45 CPPUNIT_ASSERT( int_val != 0 ); 47 CPPUNIT_ASSERT( int_val == 0 ); 60 CPPUNIT_ASSERT( *ptr == 0x01 || 63 CPPUNIT_ASSERT( *ptr == 0x04 ); 79 CPPUNIT_ASSERT( pvect1Front == &vect2.front() ); 80 CPPUNIT_ASSERT( pvect2Front == &vect1.front() ); 82 CPPUNIT_ASSERT( pvect1Front != &vect2.front() ); 83 CPPUNIT_ASSERT( pvect2Front != &vect1.front() ); 101 CPPUNIT_ASSERT( pvoid != 0 ) [all...] |
slist_test.cpp | 82 CPPUNIT_ASSERT(!strcmp(result.c_str(),"sstxlx")); 91 CPPUNIT_ASSERT(!strcmp(result.c_str(),"sstl")); 101 CPPUNIT_ASSERT(!strcmp(result.c_str(),"stl")); 110 CPPUNIT_ASSERT(!strcmp(result.c_str(),"lst")); 117 CPPUNIT_ASSERT( sl_char_ite != sl_int_ite ); 131 CPPUNIT_ASSERT( *slit == 1); 135 CPPUNIT_ASSERT( *slit == 3 ); 140 CPPUNIT_ASSERT( *slit == 2 ); 144 CPPUNIT_ASSERT( *slit == 3 ); 147 CPPUNIT_ASSERT( sl.front() == 3 ) [all...] |
binsert_test.cpp | 37 CPPUNIT_ASSERT(!strcmp(names[0],array[0])); 38 CPPUNIT_ASSERT(!strcmp(names[1],array[1])); 39 CPPUNIT_ASSERT(!strcmp(names[2],array[2])); 42 CPPUNIT_ASSERT(!strcmp(names[3],array[0])); 43 CPPUNIT_ASSERT(!strcmp(names[4],array[1])); 44 CPPUNIT_ASSERT(!strcmp(names[5],array[2])); 51 CPPUNIT_ASSERT(!strcmp(names[0],array[0])); 52 CPPUNIT_ASSERT(!strcmp(names[1],array[1])); 53 CPPUNIT_ASSERT(!strcmp(names[2],array[2]));
|
ostmit_test.cpp | 42 CPPUNIT_ASSERT(os.good()); 44 CPPUNIT_ASSERT(os.good()); 48 CPPUNIT_ASSERT(os.good()); 49 CPPUNIT_ASSERT(os.str() == "hello 1524");
|
fstream_test.cpp | 101 CPPUNIT_ASSERT (f.good()); 103 CPPUNIT_ASSERT (f.good()); 105 CPPUNIT_ASSERT (f.good()); 107 CPPUNIT_ASSERT (f.good()); 109 CPPUNIT_ASSERT (f.good()); 111 CPPUNIT_ASSERT (f.good()); 113 CPPUNIT_ASSERT (f.good()); 115 CPPUNIT_ASSERT (f.good()); 118 CPPUNIT_ASSERT (f.good()); 120 // CPPUNIT_ASSERT( s.str() == "1\n2\nabcd\nghk lm\nabcd ef" ) [all...] |
type_traits_test.cpp | 166 CPPUNIT_ASSERT( type_to_value(_ZeroRet()) == 0 ); 168 CPPUNIT_ASSERT( type_to_value(_OneRet()) == 1 ); 170 CPPUNIT_ASSERT( type_to_value(_AnyRet()) == 1 ); 174 CPPUNIT_ASSERT( __type2bool<__true_type>::_Ret == 1 ); 175 CPPUNIT_ASSERT( __type2bool<__false_type>::_Ret == 0 ); 176 CPPUNIT_ASSERT( __type2bool<any_type>::_Ret == 1 ); 181 CPPUNIT_ASSERT( type_to_value(_NotTrueRet()) == 0 ); 183 CPPUNIT_ASSERT( type_to_value(_NotFalseRet()) == 1 ); 188 CPPUNIT_ASSERT( type_to_value(_TrueTrueRet()) == 1 ); 190 CPPUNIT_ASSERT( type_to_value(_TrueFalseRet()) == 0 ) [all...] |
hash_test.cpp | 86 CPPUNIT_ASSERT( !strcmp(m['x'].c_str(),"20") ); 88 CPPUNIT_ASSERT( !strcmp(m['x'].c_str(),"10") ); 90 CPPUNIT_ASSERT( !strcmp(m['z'].c_str(),"") ); 92 CPPUNIT_ASSERT( m.count('z')==1 ); 95 CPPUNIT_ASSERT(p.second); 98 CPPUNIT_ASSERT(!p.second); 106 CPPUNIT_ASSERT( ite == cite ); 107 CPPUNIT_ASSERT( !(ite != cite) ); 108 CPPUNIT_ASSERT( cite == ite ); 109 CPPUNIT_ASSERT( !(cite != ite) ) [all...] |