Home
last modified time | relevance | path

Searched refs:test1 (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/test/java/text/CharacterIterator/
DCharacterIteratorTest.java81 CharacterIterator test1 = new StringCharacterIterator(testText); in TestConstructionAndEquality() local
85 CharacterIterator test5 = (CharacterIterator)test1.clone(); in TestConstructionAndEquality()
87 if (test1.equals(test2) || test1.equals(test3) || test1.equals(test4)) in TestConstructionAndEquality()
90 if (!test1.equals(test5)) in TestConstructionAndEquality()
93 if (test1.hashCode() == test2.hashCode() || test1.hashCode() == test3.hashCode() in TestConstructionAndEquality()
94 || test1.hashCode() == test4.hashCode()) in TestConstructionAndEquality()
97 if (test1.hashCode() != test5.hashCode()) in TestConstructionAndEquality()
100 test1.setIndex(5); in TestConstructionAndEquality()
101 if (!test1.equals(test2) || test1.equals(test5)) in TestConstructionAndEquality()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestLocalTime.java142 LocalTime test1 = LocalTime.of(i, 0); in factory_time_2ints_singletons() local
144 assertSame(test1, test2); in factory_time_2ints_singletons()
151 LocalTime test1 = LocalTime.of(i, 0, 0); in factory_time_3ints_singletons() local
153 assertSame(test1, test2); in factory_time_3ints_singletons()
160 LocalTime test1 = LocalTime.of(i, 0, 0, 0); in factory_time_4ints_singletons() local
162 assertSame(test1, test2); in factory_time_4ints_singletons()
169 LocalTime test1 = LocalTime.ofSecondOfDay(i * 60L * 60L); in factory_ofSecondOfDay_singletons() local
171 assertSame(test1, test2); in factory_ofSecondOfDay_singletons()
178 LocalTime test1 = LocalTime.ofNanoOfDay(i * 1000000000L * 60L * 60L); in factory_ofNanoOfDay_singletons() local
180 assertSame(test1, test2); in factory_ofNanoOfDay_singletons()
/libcore/support/src/test/java/tests/support/
DSupport_TestWebData.java30 public final static byte[] test1 = utfBytes(); field in Support_TestWebData
60 test1,
69 new Support_TestWebData(test1.length, 14000000, "test1", "text/html", false, 0),
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZoneOffset.java225 ZoneOffset test1 = ZoneOffset.of("-1800"); in test_factory_string_hours_minutes_noColon() local
226 doTestOffset(test1, -18, 0, 0); in test_factory_string_hours_minutes_noColon()
244 ZoneOffset test1 = ZoneOffset.of("-18:00"); in test_factory_string_hours_minutes_colon() local
245 doTestOffset(test1, -18, 0, 0); in test_factory_string_hours_minutes_colon()
267 ZoneOffset test1 = ZoneOffset.of("-180000"); in test_factory_string_hours_minutes_seconds_noColon() local
268 doTestOffset(test1, -18, 0, 0); in test_factory_string_hours_minutes_seconds_noColon()
290 ZoneOffset test1 = ZoneOffset.of("-18:00:00"); in test_factory_string_hours_minutes_seconds_colon() local
291 doTestOffset(test1, -18, 0, 0); in test_factory_string_hours_minutes_seconds_colon()
326 ZoneOffset test1 = ZoneOffset.ofHoursMinutes(-18, 0); in test_factory_int_hours_minutes() local
327 doTestOffset(test1, -18, 0, 0); in test_factory_int_hours_minutes()
[all …]
DTCKZoneId.java553 ZoneId test1 = ZoneId.of("Europe/London"); in test_equals() local
556 assertEquals(test1.equals(test2), false); in test_equals()
557 assertEquals(test2.equals(test1), false); in test_equals()
559 assertEquals(test1.equals(test1), true); in test_equals()
563 assertEquals(test1.hashCode() == test1.hashCode(), true); in test_equals()
/libcore/ojluni/src/test/java/lang/String/
DTransform.java37 test1(); in main()
43 static void test1() { in test1() method in Transform
DStringRepeat.java66 public void test1() { in test1() method in StringRepeat
/libcore/luni/src/test/java/libcore/java/net/
DOldURLClassLoaderTest.java84 File test1 = new File(tmp + "test0"); in test_findResourcesLjava_lang_String() local
85 test1.deleteOnExit(); in test_findResourcesLjava_lang_String()
86 FileOutputStream out = new FileOutputStream(test1); in test_findResourcesLjava_lang_String()
236 assertEquals("Returned incorrect resource", new String(Support_TestWebData.test1), in test_findResourceLjava_lang_String()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DInputStreamTest.java27 public void test1() throws IOException { in test1() method in InputStreamTest
/libcore/ojluni/src/test/java/util/Base64/
DTestBase64Golden.java59 test1(); in main()
157 private static void test1() throws Exception { in test1() method in TestBase64Golden
/libcore/ojluni/src/test/java/lang/StringBuffer/
DSupplementary.java40 test1(); // Test for codePointAt(int index) in main()
89 static void test1() { in test1() method in Supplementary
/libcore/ojluni/src/test/java/lang/StackWalker/
DStackWalkTest.java266 Test test1 = new Test(); in runTest() local
267 test1.call(stackDepth, 0, markAt); in runTest()
/libcore/ojluni/src/test/java/lang/StringBuilder/
DSupplementary.java41 test1(); // Test for codePointAt(int index) in main()
91 static void test1() { in test1() method in Supplementary
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoLocalDate.java315 ChronoLocalDate test1 = ChronoLocalDate.from(date); in test_from_TemporalAccessor() local
316 assertEquals(test1, date); in test_from_TemporalAccessor()
DTCKChronoLocalDateTime.java325 ChronoLocalDateTime<?> test1 = ChronoLocalDateTime.from(dateTime); in test_from_TemporalAccessor() local
326 assertEquals(test1, dateTime); in test_from_TemporalAccessor()
DTCKChronoZonedDateTime.java328 ChronoZonedDateTime<?> test1 = ChronoZonedDateTime.from(dateTime); in test_from_TemporalAccessor() local
329 assertEquals(test1, dateTime); in test_from_TemporalAccessor()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java1102 ZoneRules test1 = europeLondon(); in test_equals() local
1105 assertEquals(test1.equals(test2), false); in test_equals()
1106 assertEquals(test2.equals(test1), false); in test_equals()
1108 assertEquals(test1.equals(test1), true); in test_equals()
1112 assertEquals(test1.hashCode() == test1.hashCode(), true); in test_equals()
/libcore/support/src/test/java/tests/resources/x509/
Ddefault.cnf230 otherName.0 = 1.2.3.4;UTF8:test1
239 subjectAltName = otherName:1.2.3.4;UTF8:test1
/libcore/ojluni/src/test/java/lang/invoke/
DMethodHandlesGeneralTest.java1400 MethodHandle test1 = test; in testGuardWithTest() local
1401 if (test1.type().parameterCount() > testArgs) { in testGuardWithTest()
1402 int pc = test1.type().parameterCount(); in testGuardWithTest()
1403test1 = MethodHandles.insertArguments(test, testArgs, Arrays.copyOfRange(argList1, testArgs, pc)); in testGuardWithTest()
1405 MethodHandle mh = MethodHandles.guardWithTest(test1, target, fallback); in testGuardWithTest()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java441 assertEquals(Support_TestWebData.test1.length, uc.getContentLength());