Home
last modified time | relevance | path

Searched refs:aString (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/libcore/libcore/internal/
DStringPoolTest.java37 String aString = stringPool.get(a, 0, 2); in testHashCollision() local
38 assertEquals(new String(a), aString); in testHashCollision()
42 assertNotSame(aString, stringPool.get(a, 0, 2)); in testHashCollision()
/libcore/ojluni/src/test/java/lang/StringBuffer/
DBufferForwarding.java74 CharSequence aString = A_STRING_VAL; in appendCharSequence() local
78 …assertEquals( /*actual*/ new StringBuilder().append(aString).toString(), /*expected*/ A_STRING_VAL… in appendCharSequence()
82 …assertEquals( /*actual*/ new StringBuilder(NON_EMPTY_VAL).append(aString).toString(), NON_EMPTY_VA… in appendCharSequence()
151 CharSequence aString = A_STRING_VAL; in insertintCharSequence() local
155 …assertEquals( new StringBuffer(initString).insert(2, aString).toString(), "01"+A_STRING_VAL+"2345"… in insertintCharSequence()
162 new StringBuffer(initString).insert(7, aString); in insertintCharSequence()
/libcore/ojluni/src/test/java/lang/StringBuilder/
DBuilderForwarding.java74 CharSequence aString = A_STRING_VAL; in appendCharSequence() local
78 …assertEquals( /*actual*/ new StringBuilder().append(aString).toString(), /*expected*/ A_STRING_VAL… in appendCharSequence()
82 …assertEquals( /*actual*/ new StringBuilder(NON_EMPTY_VAL).append(aString).toString(), NON_EMPTY_VA… in appendCharSequence()
176 CharSequence aString = A_STRING_VAL; in insertintCharSequence() local
180 …assertEquals( new StringBuilder(initString).insert(2, aString).toString(), "01"+A_STRING_VAL+"2345… in insertintCharSequence()
187 new StringBuilder(initString).insert(7, aString); in insertintCharSequence()
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DAnnotationTest.java312 @TestAnnotation3(aString = "")
314 @TestAnnotation3(aString = "")
319 @TestAnnotation3(aString = "asjdfk jkls dfjklsd fklsd jklds kflds jfkldsfjd"+"d")
321 @TestAnnotation3(aString = "asjdfk jkls dfjklsd fklsd jklds kflds jfkldsfj"+"dd")
324 @TestAnnotation3(aString = "a")
326 @TestAnnotation3(aString = "b")
DTestAnnotation3b.java25 String aString() default ""; in aString() method
DTestAnnotation3.java25 String aString() default ""; in aString() method
/libcore/luni/src/test/java/libcore/java/net/
DInetAddressTest.java418 String aString = aAddr.getHostAddress(); in test_getHostAddress() local
419 …assertTrue(aString.equals("fe80:0:0:0:211:25ff:fef8:7cb2") || aString.equals("fe80::211:25ff:fef8:… in test_getHostAddress()
437 aString = aAddr.getHostAddress(); in test_getHostAddress()
438 assertTrue(aString.equals("0:0:0:0:0:0:0:0") || aString.equals("::")); in test_getHostAddress()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest1.java49 String aString = INIT_STR_VALUE; field in SerializationStressTest1.SerializationTestSubclass1
711 st.aString = FOO; in test_18_13_writeObject()
724 ((SerializationTestSubclass1) objLoaded).aString in test_18_13_writeObject()
DObjectOutputStreamTest.java109 String aString = INIT_STR_VALUE; field in ObjectOutputStreamTest.SerializationTestSubclass1
/libcore/ojluni/src/main/java/java/security/
DProvider.java1915 String aString = aliases.isEmpty() in toString() local
1920 + " -> " + className + aString + attrs + "\r\n"; in toString()