Lines Matching refs:string
6 StringCharAccessTest::StringCharAccessTest(std::string name)
20 BString string("A simple string");
24 CPPUNIT_ASSERT(string[0] == 'A');
25 CPPUNIT_ASSERT(string[1] == ' ');
29 string.SetByteAt(0, 'a');
30 CPPUNIT_ASSERT(strcmp(string.String(), "a simple string") == 0);
34 CPPUNIT_ASSERT(string.ByteAt(-10) == 0);
35 CPPUNIT_ASSERT(string.ByteAt(200) == 0);
36 CPPUNIT_ASSERT(string.ByteAt(1) == ' ');
37 CPPUNIT_ASSERT(string.ByteAt(7) == 'e');