Searched refs:str1 (Results 1 – 5 of 5) sorted by relevance
/ndk/tests/device/test-stlport/unit/ |
D | collate_facets_test.cpp | 22 char const str1[] = "abcdef1"; in collate_facet() local 24 const size_t size1 = sizeof(str1) / sizeof(str1[0]) - 1; in collate_facet() 27 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); in collate_facet() 28 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); in collate_facet() 31 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); in collate_facet() 32 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); in collate_facet() 42 char const str1[] = "abcdef1"; in collate_facet() local 44 const size_t size1 = sizeof(str1) / sizeof(str1[0]) - 1; in collate_facet() 47 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); in collate_facet() 48 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); in collate_facet() [all …]
|
D | string_test.cpp | 266 string str1(short_str1); in short_string() local 267 str1 = long_str1; in short_string() 268 CPPUNIT_ASSERT(str1 == ref_long_str1); in short_string() 272 string str1(long_str1); in short_string() local 273 str1 = short_str1; in short_string() 274 CPPUNIT_ASSERT(str1 == ref_short_str1); in short_string() 503 string str1; in insert() local 506 str1.insert(pos, nb, '1'); in insert() 508 CPPUNIT_ASSERT( str1 == "11" ); in insert() 510 str0.insert(0, str1); in insert() [all …]
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | collate_facets_test.cpp | 22 char const str1[] = "abcdef1"; in collate_facet() local 24 const size_t size1 = sizeof(str1) / sizeof(str1[0]) - 1; in collate_facet() 27 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); in collate_facet() 28 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); in collate_facet() 31 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); in collate_facet() 32 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); in collate_facet() 42 char const str1[] = "abcdef1"; in collate_facet() local 44 const size_t size1 = sizeof(str1) / sizeof(str1[0]) - 1; in collate_facet() 47 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); in collate_facet() 48 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); in collate_facet() [all …]
|
D | string_test.cpp | 266 string str1(short_str1); in short_string() local 267 str1 = long_str1; in short_string() 268 CPPUNIT_ASSERT(str1 == ref_long_str1); in short_string() 272 string str1(long_str1); in short_string() local 273 str1 = short_str1; in short_string() 274 CPPUNIT_ASSERT(str1 == ref_short_str1); in short_string() 503 string str1; in insert() local 506 str1.insert(pos, nb, '1'); in insert() 508 CPPUNIT_ASSERT( str1 == "11" ); in insert() 510 str0.insert(0, str1); in insert() [all …]
|
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest_unittest.cc | 4654 static const ::std::string str1("A * in the middle"); in TEST() local 4655 static const ::std::string str2(str1); in TEST() 4656 EXPECT_EQ(str1, str2); in TEST() 4670 static ::std::string str3(str1); in TEST() 4672 EXPECT_FATAL_FAILURE(ASSERT_EQ(str1, str3), in TEST() 4721 const ::string str1("A * in the middle"); in TEST() local 4722 const ::string str2(str1); in TEST() 4723 ASSERT_EQ(str1, str2); in TEST() 4731 ::string str3(str1); in TEST() 4733 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(str1, str3), in TEST()
|