/external/stlport/test/eh/ |
test_string.cpp | 30 typedef EH_STD::basic_string<char, EH_STD::char_traits<char>, eh_allocator(char) > TestString; 33 container_category(const TestString&) 39 TestString testString, testString2; 42 while ( testString.size() < ropeSize ) { 43 TestString::value_type x = TestString::value_type(random_number(random_base)) ; // initialize before use 44 testString.append(1, x ); 45 testString2.append(1, TestString::value_type() ); 47 WeakCheck( testString, test_insert_one<TestString>(testString) ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
hexadecimal.js | 44 var testString = "12345ABCDEFGHIJKLMNOPQRSTUVWXYZ67890"; 47 "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 48 String(["ABCDEFGHIJKLMNOPQRSTUVWXYZ"]), String(testString.match(new RegExp(testPattern)))); 52 testString = "12345AabcdefghijklmnopqrstuvwxyzZ67890"; 55 "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 56 String(["abcdefghijklmnopqrstuvwxyz"]), String(testString.match(new RegExp(testPattern)))); 60 testString = "abc !\"#$%&'()*+,-./0123ZBC"; 63 "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 64 String([" !\"#$%&'()*+,-./0123"]), String(testString.match(new RegExp(testPattern)))); 68 testString = "123456789:;<=>?@ABC" [all...] |
octal.js | 44 var testString = "12345ABCDEFGHIJKLMNOPQRSTUVWXYZ67890"; 47 "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 48 String(["ABCDEFGHIJKLMNOPQRSTUVWXYZ"]), String(testString.match(new RegExp(testPattern)))); 52 testString = "12345AabcdefghijklmnopqrstuvwxyzZ67890"; 55 "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 56 String(["abcdefghijklmnopqrstuvwxyz"]), String(testString.match(new RegExp(testPattern)))); 60 testString = "abc !\"#$%&'()*+,-./0123ZBC"; 63 "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 64 String([" !\"#$%&'()*+,-./0123"]), String(testString.match(new RegExp(testPattern)))); 68 testString = "123456789:;<=>?@ABC" [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldWriterTest.java | 40 String testString = "My Test String"; 42 tobj.append(testString); 43 assertEquals("Wrong stuff written!", testString, tobj.toString()); 45 tobj.append(testString); 53 String testString = "My Test String"; 55 testString = "0123456789abcdefghijABCDEFGHIJ"; 56 tobj.append(testString, 0, 5); 58 tobj.append(testString, 10, 15); 60 tobj.append(testString, 20, 30); 63 tobj.append(testString, 30, 31) [all...] |
OldStringReaderTest.java | 25 String testString = "This is a test string"; 30 sr = new StringReader(testString); 39 char[] buf = new char[testString.length()]; 40 sr = new StringReader(testString); 54 sr.read(buf, 1, testString.length());
|
OldCharArrayWriterTest.java | 94 String testString = "My Test String"; 99 writer.append(testString, -1, 0); 105 writer.append(testString, 0, -1); 111 writer.append(testString, 1, 0); 117 writer.append(testString, 1, testString.length() + 1); 123 writer.append(testString, 1, 3); 126 testString.substring(1, 3), writer.toString());
|
OldPipedOutputStreamTest.java | 74 static final String testString = "Lorem ipsum dolor sit amet,\n" + 77 static final int testLength = testString.length(); 161 out.write(testString.getBytes(), 0, 10); 165 testString.substring(0, 10), reader.read(10)); 172 out.write(testString.getBytes(), 0, 5); 181 out.write(testString.getBytes(), -1, 10); 188 out.write(testString.getBytes(), 0, -1); 195 out.write(testString.getBytes(), 5, testString.length()); 206 out.write(testString.getBytes(), 0, testString.length()) [all...] |
OldBufferedReaderTest.java | 34 String testString = "Test_All_Tests\nTest_java_io_BufferedInputStream\nTest_java_io_BufferedOutputStream\nTest_java_io_ByteArrayInputStream\nTest_java_io_ByteArrayOutputStream\nTest_java_io_DataInputStream\nTest_java_io_File\nTest_java_io_FileDescriptor\nTest_java_io_FileInputStream\nTest_java_io_FileNotFoundException\nTest_java_io_FileOutputStream\nTest_java_io_FilterInputStream\nTest_java_io_FilterOutputStream\nTest_java_io_InputStream\nTest_java_io_IOException\nTest_java_io_OutputStream\nTest_java_io_PrintStream\nTest_java_io_RandomAccessFile\nTest_java_io_SyncFailedException\nTest_java_lang_AbstractMethodError\nTest_java_lang_ArithmeticException\nTest_java_lang_ArrayIndexOutOfBoundsException\nTest_java_lang_ArrayStoreException\nTest_java_lang_Boolean\nTest_java_lang_Byte\nTest_java_lang_Character\nTest_java_lang_Class\nTest_java_lang_ClassCastException\nTest_java_lang_ClassCircularityError\nTest_java_lang_ClassFormatError\nTest_java_lang_ClassLoader\nTest_java_lang_ClassNotFoundException\nTest_java_lang_CloneNotSupportedException\nTest_java_lang_Double\nTest_java_lang_Error\nTest_java_lang_Exception\nTest_java_lang_ExceptionInInitializerError\nTest_java_lang_Float\nTest_java_lang_IllegalAccessError\nTest_java_lang_IllegalAccessException\nTest_java_lang_IllegalArgumentException\nTest_java_lang_IllegalMonitorStateException\nTest_java_lang_IllegalThreadStateException\nTest_java_lang_IncompatibleClassChangeError\nTest_java_lang_IndexOutOfBoundsException\nTest_java_lang_InstantiationError\nTest_java_lang_InstantiationException\nTest_java_lang_Integer\nTest_java_lang_InternalError\nTest_java_lang_InterruptedException\nTest_java_lang_LinkageError\nTest_java_lang_Long\nTest_java_lang_Math\nTest_java_lang_NegativeArraySizeException\nTest_java_lang_NoClassDefFoundError\nTest_java_lang_NoSuchFieldError\nTest_java_lang_NoSuchMethodError\nTest_java_lang_NullPointerException\nTest_java_lang_Number\nTest_java_lang_NumberFormatException\nTest_java_lang_Object\nTest_java_lang_OutOfMemoryError\nTest_java_lang_RuntimeException\nTest_java_lang_SecurityManager\nTest_java_lang_Short\nTest_java_lang_StackOverflowError\nTest_java_lang_String\nTest_java_lang_StringBuffer\nTest_java_lang_StringIndexOutOfBoundsException\nTest_java_lang_System\nTest_java_lang_Thread\nTest_java_lang_ThreadDeath\nTest_java_lang_ThreadGroup\nTest_java_lang_Throwable\nTest_java_lang_UnknownError\nTest_java_lang_UnsatisfiedLinkError\nTest_java_lang_VerifyError\nTest_java_lang_VirtualMachineError\nTest_java_lang_vm_Image\nTest_java_lang_vm_MemorySegment\nTest_java_lang_vm_ROMStoreException\nTest_java_lang_vm_VM\nTest_java_lang_Void\nTest_java_net_BindException\nTest_java_net_ConnectException\nTest_java_net_DatagramPacket\nTest_java_net_DatagramSocket\nTest_java_net_DatagramSocketImpl\nTest_java_net_InetAddress\nTest_java_net_NoRouteToHostException\nTest_java_net_PlainDatagramSocketImpl\nTest_java_net_PlainSocketImpl\nTest_java_net_Socket\nTest_java_net_SocketException\nTest_java_net_SocketImpl\nTest_java_net_SocketInputStream\nTest_java_net_SocketOutputStream\nTest_java_net_UnknownHostException\nTest_java_util_ArrayEnumerator\nTest_java_util_Date\nTest_java_util_EventObject\nTest_java_util_HashEnumerator\nTest_java_util_Hashtable\nTest_java_util_Properties\nTest_java_util_ResourceBundle\nTest_java_util_tm\nTest_java_util_Vector\n"; 38 br = new BufferedReader(new Support_StringReader(testString)); 45 br = new BufferedReader(new Support_StringReader(testString), 0); 49 br = new BufferedReader(new Support_StringReader(testString), 1024); 56 br = new BufferedReader(new Support_StringReader(testString)); 81 br = new BufferedReader(new Support_StringReader(testString)); 86 buf = new char[testString.length()]; 88 assertTrue("Failed to set mark properly", testString.substring(500, 94 br = new BufferedReader(new Support_StringReader(testString), 800); 134 br = new BufferedReader(new Support_StringReader(testString)); [all...] |
OldBufferedWriterTest.java | 33 public String testString = "Test_All_Tests\nTest_java_io_BufferedInputStream\nTest_java_io_BufferedOutputStream\nTest_java_io_ByteArrayInputStream\nTest_java_io_ByteArrayOutputStream\nTest_java_io_DataInputStream\nTest_java_io_File\nTest_java_io_FileDescriptor\nTest_java_io_FileInputStream\nTest_java_io_FileNotFoundException\nTest_java_io_FileOutputStream\nTest_java_io_FilterInputStream\nTest_java_io_FilterOutputStream\nTest_java_io_InputStream\nTest_java_io_IOException\nTest_java_io_OutputStream\nTest_java_io_PrintStream\nTest_java_io_RandomAccessFile\nTest_java_io_SyncFailedException\nTest_java_lang_AbstractMethodError\nTest_java_lang_ArithmeticException\nTest_java_lang_ArrayIndexOutOfBoundsException\nTest_java_lang_ArrayStoreException\nTest_java_lang_Boolean\nTest_java_lang_Byte\nTest_java_lang_Character\nTest_java_lang_Class\nTest_java_lang_ClassCastException\nTest_java_lang_ClassCircularityError\nTest_java_lang_ClassFormatError\nTest_java_lang_ClassLoader\nTest_java_lang_ClassNotFoundException\nTest_java_lang_CloneNotSupportedException\nTest_java_lang_Double\nTest_java_lang_Error\nTest_java_lang_Exception\nTest_java_lang_ExceptionInInitializerError\nTest_java_lang_Float\nTest_java_lang_IllegalAccessError\nTest_java_lang_IllegalAccessException\nTest_java_lang_IllegalArgumentException\nTest_java_lang_IllegalMonitorStateException\nTest_java_lang_IllegalThreadStateException\nTest_java_lang_IncompatibleClassChangeError\nTest_java_lang_IndexOutOfBoundsException\nTest_java_lang_InstantiationError\nTest_java_lang_InstantiationException\nTest_java_lang_Integer\nTest_java_lang_InternalError\nTest_java_lang_InterruptedException\nTest_java_lang_LinkageError\nTest_java_lang_Long\nTest_java_lang_Math\nTest_java_lang_NegativeArraySizeException\nTest_java_lang_NoClassDefFoundError\nTest_java_lang_NoSuchFieldError\nTest_java_lang_NoSuchMethodError\nTest_java_lang_NullPointerException\nTest_java_lang_Number\nTest_java_lang_NumberFormatException\nTest_java_lang_Object\nTest_java_lang_OutOfMemoryError\nTest_java_lang_RuntimeException\nTest_java_lang_SecurityManager\nTest_java_lang_Short\nTest_java_lang_StackOverflowError\nTest_java_lang_String\nTest_java_lang_StringBuffer\nTest_java_lang_StringIndexOutOfBoundsException\nTest_java_lang_System\nTest_java_lang_Thread\nTest_java_lang_ThreadDeath\nTest_java_lang_ThreadGroup\nTest_java_lang_Throwable\nTest_java_lang_UnknownError\nTest_java_lang_UnsatisfiedLinkError\nTest_java_lang_VerifyError\nTest_java_lang_VirtualMachineError\nTest_java_lang_vm_Image\nTest_java_lang_vm_MemorySegment\nTest_java_lang_vm_ROMStoreException\nTest_java_lang_vm_VM\nTest_java_lang_Void\nTest_java_net_BindException\nTest_java_net_ConnectException\nTest_java_net_DatagramPacket\nTest_java_net_DatagramSocket\nTest_java_net_DatagramSocketImpl\nTest_java_net_InetAddress\nTest_java_net_NoRouteToHostException\nTest_java_net_PlainDatagramSocketImpl\nTest_java_net_PlainSocketImpl\nTest_java_net_Socket\nTest_java_net_SocketException\nTest_java_net_SocketImpl\nTest_java_net_SocketInputStream\nTest_java_net_SocketOutputStream\nTest_java_net_UnknownHostException\nTest_java_util_ArrayEnumerator\nTest_java_util_Date\nTest_java_util_EventObject\nTest_java_util_HashEnumerator\nTest_java_util_Hashtable\nTest_java_util_Properties\nTest_java_util_ResourceBundle\nTest_java_util_tm\nTest_java_util_Vector\n"; 70 bw.write(testString); 75 assertFalse("Test 2: Write after close.", sw.toString().equals(testString)); 126 char[] testCharArray = testString.toCharArray(); 130 testString.substring(500, 1500))); 147 char[] charArray = testString.toCharArray(); 248 bw.write(testString); 251 testString)); 272 bw.write(testString, -1, 1); 279 bw.write(testString, 1, testString.length()) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
StringReaderTest.java | 25 String testString = "This is a test string"; 43 sr = new StringReader(testString); 58 sr = new StringReader(testString); 66 .equals(testString.substring(5, 7))); 75 sr = new StringReader(testString); 84 sr = new StringReader(testString); 96 sr = new StringReader(testString); 97 char[] buf = new char[testString.length()]; 98 int r = sr.read(buf, 0, testString.length()); 99 assertTrue("Failed to read chars", r == testString.length()) [all...] |
BufferedWriterTest.java | 34 public String testString = "Test_All_Tests\nTest_java_io_BufferedInputStream\nTest_java_io_BufferedOutputStream\nTest_java_io_ByteArrayInputStream\nTest_java_io_ByteArrayOutputStream\nTest_java_io_DataInputStream\nTest_java_io_File\nTest_java_io_FileDescriptor\nTest_java_io_FileInputStream\nTest_java_io_FileNotFoundException\nTest_java_io_FileOutputStream\nTest_java_io_FilterInputStream\nTest_java_io_FilterOutputStream\nTest_java_io_InputStream\nTest_java_io_IOException\nTest_java_io_OutputStream\nTest_java_io_PrintStream\nTest_java_io_RandomAccessFile\nTest_java_io_SyncFailedException\nTest_java_lang_AbstractMethodError\nTest_java_lang_ArithmeticException\nTest_java_lang_ArrayIndexOutOfBoundsException\nTest_java_lang_ArrayStoreException\nTest_java_lang_Boolean\nTest_java_lang_Byte\nTest_java_lang_Character\nTest_java_lang_Class\nTest_java_lang_ClassCastException\nTest_java_lang_ClassCircularityError\nTest_java_lang_ClassFormatError\nTest_java_lang_ClassLoader\nTest_java_lang_ClassNotFoundException\nTest_java_lang_CloneNotSupportedException\nTest_java_lang_Double\nTest_java_lang_Error\nTest_java_lang_Exception\nTest_java_lang_ExceptionInInitializerError\nTest_java_lang_Float\nTest_java_lang_IllegalAccessError\nTest_java_lang_IllegalAccessException\nTest_java_lang_IllegalArgumentException\nTest_java_lang_IllegalMonitorStateException\nTest_java_lang_IllegalThreadStateException\nTest_java_lang_IncompatibleClassChangeError\nTest_java_lang_IndexOutOfBoundsException\nTest_java_lang_InstantiationError\nTest_java_lang_InstantiationException\nTest_java_lang_Integer\nTest_java_lang_InternalError\nTest_java_lang_InterruptedException\nTest_java_lang_LinkageError\nTest_java_lang_Long\nTest_java_lang_Math\nTest_java_lang_NegativeArraySizeException\nTest_java_lang_NoClassDefFoundError\nTest_java_lang_NoSuchFieldError\nTest_java_lang_NoSuchMethodError\nTest_java_lang_NullPointerException\nTest_java_lang_Number\nTest_java_lang_NumberFormatException\nTest_java_lang_Object\nTest_java_lang_OutOfMemoryError\nTest_java_lang_RuntimeException\nTest_java_lang_SecurityManager\nTest_java_lang_Short\nTest_java_lang_StackOverflowError\nTest_java_lang_String\nTest_java_lang_StringBuffer\nTest_java_lang_StringIndexOutOfBoundsException\nTest_java_lang_System\nTest_java_lang_Thread\nTest_java_lang_ThreadDeath\nTest_java_lang_ThreadGroup\nTest_java_lang_Throwable\nTest_java_lang_UnknownError\nTest_java_lang_UnsatisfiedLinkError\nTest_java_lang_VerifyError\nTest_java_lang_VirtualMachineError\nTest_java_lang_vm_Image\nTest_java_lang_vm_MemorySegment\nTest_java_lang_vm_ROMStoreException\nTest_java_lang_vm_VM\nTest_java_lang_Void\nTest_java_net_BindException\nTest_java_net_ConnectException\nTest_java_net_DatagramPacket\nTest_java_net_DatagramSocket\nTest_java_net_DatagramSocketImpl\nTest_java_net_InetAddress\nTest_java_net_NoRouteToHostException\nTest_java_net_PlainDatagramSocketImpl\nTest_java_net_PlainSocketImpl\nTest_java_net_Socket\nTest_java_net_SocketException\nTest_java_net_SocketImpl\nTest_java_net_SocketInputStream\nTest_java_net_SocketOutputStream\nTest_java_net_UnknownHostException\nTest_java_util_ArrayEnumerator\nTest_java_util_Date\nTest_java_util_EventObject\nTest_java_util_HashEnumerator\nTest_java_util_Hashtable\nTest_java_util_Properties\nTest_java_util_ResourceBundle\nTest_java_util_tm\nTest_java_util_Vector\n"; 86 bw.write(testString); 91 assertTrue("Write after close", !sw.toString().equals(testString)); 147 char[] testCharArray = testString.toCharArray(); 151 testString.substring(500, 1500))); 189 char[] testCharArray = testString.toCharArray(); 226 bw.write(testString); 228 assertTrue("Incorrect string written", sw.toString().equals(testString)); 249 bWriter.write(testString, 0, 0); 250 bWriter.write(testString, testString.length(), 0) [all...] |
StringWriterTest.java | 177 String testString = "My Test String"; 179 stringWriter.append(testString); 180 assertEquals(String.valueOf(testString), stringWriter.toString()); 188 String testString = "My Test String"; 190 stringWriter.append(testString, 1, 3); 191 assertEquals(testString.substring(1, 3), stringWriter.toString());
|
WriterTest.java | 41 String testString = "My Test String"; 43 writer.append(testString); 44 assertEquals(testString, String.valueOf(writer.getContents())); 53 String testString = "My Test String"; 55 writer.append(testString, 1, 3); 56 assertEquals(testString.substring(1, 3), String.valueOf(writer
|
BufferedReaderTest.java | 36 String testString = "Test_All_Tests\nTest_java_io_BufferedInputStream\nTest_java_io_BufferedOutputStream\nTest_java_io_ByteArrayInputStream\nTest_java_io_ByteArrayOutputStream\nTest_java_io_DataInputStream\nTest_java_io_File\nTest_java_io_FileDescriptor\nTest_java_io_FileInputStream\nTest_java_io_FileNotFoundException\nTest_java_io_FileOutputStream\nTest_java_io_FilterInputStream\nTest_java_io_FilterOutputStream\nTest_java_io_InputStream\nTest_java_io_IOException\nTest_java_io_OutputStream\nTest_java_io_PrintStream\nTest_java_io_RandomAccessFile\nTest_java_io_SyncFailedException\nTest_java_lang_AbstractMethodError\nTest_java_lang_ArithmeticException\nTest_java_lang_ArrayIndexOutOfBoundsException\nTest_java_lang_ArrayStoreException\nTest_java_lang_Boolean\nTest_java_lang_Byte\nTest_java_lang_Character\nTest_java_lang_Class\nTest_java_lang_ClassCastException\nTest_java_lang_ClassCircularityError\nTest_java_lang_ClassFormatError\nTest_java_lang_ClassLoader\nTest_java_lang_ClassNotFoundException\nTest_java_lang_CloneNotSupportedException\nTest_java_lang_Double\nTest_java_lang_Error\nTest_java_lang_Exception\nTest_java_lang_ExceptionInInitializerError\nTest_java_lang_Float\nTest_java_lang_IllegalAccessError\nTest_java_lang_IllegalAccessException\nTest_java_lang_IllegalArgumentException\nTest_java_lang_IllegalMonitorStateException\nTest_java_lang_IllegalThreadStateException\nTest_java_lang_IncompatibleClassChangeError\nTest_java_lang_IndexOutOfBoundsException\nTest_java_lang_InstantiationError\nTest_java_lang_InstantiationException\nTest_java_lang_Integer\nTest_java_lang_InternalError\nTest_java_lang_InterruptedException\nTest_java_lang_LinkageError\nTest_java_lang_Long\nTest_java_lang_Math\nTest_java_lang_NegativeArraySizeException\nTest_java_lang_NoClassDefFoundError\nTest_java_lang_NoSuchFieldError\nTest_java_lang_NoSuchMethodError\nTest_java_lang_NullPointerException\nTest_java_lang_Number\nTest_java_lang_NumberFormatException\nTest_java_lang_Object\nTest_java_lang_OutOfMemoryError\nTest_java_lang_RuntimeException\nTest_java_lang_SecurityManager\nTest_java_lang_Short\nTest_java_lang_StackOverflowError\nTest_java_lang_String\nTest_java_lang_StringBuffer\nTest_java_lang_StringIndexOutOfBoundsException\nTest_java_lang_System\nTest_java_lang_Thread\nTest_java_lang_ThreadDeath\nTest_java_lang_ThreadGroup\nTest_java_lang_Throwable\nTest_java_lang_UnknownError\nTest_java_lang_UnsatisfiedLinkError\nTest_java_lang_VerifyError\nTest_java_lang_VirtualMachineError\nTest_java_lang_vm_Image\nTest_java_lang_vm_MemorySegment\nTest_java_lang_vm_ROMStoreException\nTest_java_lang_vm_VM\nTest_java_lang_Void\nTest_java_net_BindException\nTest_java_net_ConnectException\nTest_java_net_DatagramPacket\nTest_java_net_DatagramSocket\nTest_java_net_DatagramSocketImpl\nTest_java_net_InetAddress\nTest_java_net_NoRouteToHostException\nTest_java_net_PlainDatagramSocketImpl\nTest_java_net_PlainSocketImpl\nTest_java_net_Socket\nTest_java_net_SocketException\nTest_java_net_SocketImpl\nTest_java_net_SocketInputStream\nTest_java_net_SocketOutputStream\nTest_java_net_UnknownHostException\nTest_java_util_ArrayEnumerator\nTest_java_util_Date\nTest_java_util_EventObject\nTest_java_util_HashEnumerator\nTest_java_util_Hashtable\nTest_java_util_Properties\nTest_java_util_ResourceBundle\nTest_java_util_tm\nTest_java_util_Vector\n"; 92 br = new BufferedReader(new Support_StringReader(testString)); 107 br = new BufferedReader(new Support_StringReader(testString)); 112 buf = new char[testString.length()]; 114 assertTrue("Failed to set mark properly", testString.substring(500, 118 br = new BufferedReader(new Support_StringReader(testString), 800); 182 br = new BufferedReader(new Support_StringReader(testString)); 192 br = new BufferedReader(new Support_StringReader(testString)); 194 assertTrue("Char read improperly", testString.charAt(0) == r); 289 char[] buf = new char[testString.length()] [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
MemoryFileTest.java | 53 newFile.writeBytes(testString, 0, 0, testString.length); 57 file.readBytes(testString, 0, 0, testString.length); 75 byte[] buffer = new byte[testString.length]; 78 file.writeBytes(testString, 0, 2000, testString.length); 79 file.readBytes(buffer, 2000, 0, testString.length); 80 compareBuffers(testString, buffer, testString.length) [all...] |
/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/ |
PatternTest.java | 158 String testString; 163 testString = "A"; 165 mat = pat.matcher(testString); 169 testString = "A"; 171 mat = pat.matcher(testString); 175 testString = "B"; 177 mat = pat.matcher(testString); 181 testString = "B"; 183 mat = pat.matcher(testString); 187 testString = "B" [all...] |
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
PatternTest.java | 218 String testString; 223 testString = "A"; 225 mat = pat.matcher(testString); 229 testString = "A"; 231 mat = pat.matcher(testString); 235 testString = "B"; 237 mat = pat.matcher(testString); 241 testString = "B"; 243 mat = pat.matcher(testString); 247 testString = "B" [all...] |
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
ApnSettingTest.java | 57 String testString; 60 testString = "Vodafone IT,web.omnitel.it,,,,,,,,,222,10,,DUN"; 64 assertApnSettingEqual(expected_apn, ApnSetting.fromString(testString)); 67 testString = "[ApnSettingV2] Name,apn,,,,,,,,,123,45,,mms|*,IPV6,IP,true,14"; 71 assertApnSettingEqual(expected_apn, ApnSetting.fromString(testString)); 74 testString = "[ApnSettingV2] Name,apn, ,,,,,,,,123,45,,mms|*,IPV4V6, IP,true,14"; 78 assertApnSettingEqual(expected_apn, ApnSetting.fromString(testString)); 81 testString = "[ApnSettingV2] Name,apn,,,,,,,,,123, 45,,mms|*"; 82 assertEquals(null, ApnSetting.fromString(testString)); 84 testString = "Name,apn,,,,,,,,,123, 45," [all...] |
GsmAlphabetTest.java | 133 StringBuilder testString = new StringBuilder(300); 136 for (int i = 0; i < 9; i++, testString.append('@')) { 137 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0); 138 assertEquals(testString.toString(), 151 testString.append(c); 158 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0); 159 assertEquals(testString.toString(), 164 testString.append(sGsmExtendedChars); 173 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0); 174 assertEquals(testString.toString() [all...] |
/cts/tools/vm-tests/src/dot/junit/opcodes/invoke_super/d/ |
TSuper.java | 47 public void testString(String s) {
|
/cts/tools/vm-tests/src/dot/junit/opcodes/invoke_super_range/d/ |
TSuper.java | 47 public void testString(String s) {
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/ |
TSuper.java | 47 public void testString(String s) {
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/ |
TSuper.java | 47 public void testString(String s) {
|
/external/icu4c/test/intltest/ |
trnserr.cpp | 59 UnicodeString testString="A quick fox jumped over the lazy dog."; 73 len = testString.length(); 74 stoppedAt = t->transliterate(testString, 0, 100); 77 } else if (testString.length() != len) { 78 testString="A quick fox jumped over the lazy dog."; 81 stoppedAt = t->transliterate(testString, 100, testString.length()-1); 84 else if (testString.length() != len) { 85 testString="A quick fox jumped over the lazy dog."; 89 pos.limit = testString.length() [all...] |
/libcore/luni/src/test/java/libcore/java/util/regex/ |
OldMatcherTest.java | 111 String testString = "babbabbcccabbabbabbabbabb"; 113 Matcher mat = pat.matcher(testString); 122 String testString = "abb"; 124 Matcher mat = pat.matcher(testString); 140 String testString = "ab\nb"; 142 Matcher mat = pat.matcher(testString); 158 String testString = "cccabbabbabbabbabb"; 160 Matcher mat = pat.matcher(testString); 180 String testString = "cccabbabbabbabbabb"; 182 Matcher mat = pat.matcher(testString); [all...] |