Home
last modified time | relevance | path

Searched refs:test2 (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/
DTestLocalTime.java143 LocalTime test2 = LocalTime.of(i, 0); in factory_time_2ints_singletons() local
144 assertSame(test1, test2); in factory_time_2ints_singletons()
152 LocalTime test2 = LocalTime.of(i, 0, 0); in factory_time_3ints_singletons() local
153 assertSame(test1, test2); in factory_time_3ints_singletons()
161 LocalTime test2 = LocalTime.of(i, 0, 0, 0); in factory_time_4ints_singletons() local
162 assertSame(test1, test2); in factory_time_4ints_singletons()
170 LocalTime test2 = LocalTime.of(i, 0); in factory_ofSecondOfDay_singletons() local
171 assertSame(test1, test2); in factory_ofSecondOfDay_singletons()
179 LocalTime test2 = LocalTime.of(i, 0); in factory_ofNanoOfDay_singletons() local
180 assertSame(test1, test2); in factory_ofNanoOfDay_singletons()
/libcore/luni/src/test/etc/loading-test2-jar/
Dbuild.sh40 rm -rf loading-test2.jar
45 jar cf loading-test2.jar classes.dex -C resources .
48 mv classes.dex ${resourceDir}/loading-test2.dex
49 mv loading-test2.jar ${resourceDir}
DTarget2.java17 package test2; package
DREADME.txt1 This directory contains the source code for the loading-test2 jar and
/libcore/support/src/test/java/tests/support/
DSupport_TestWebData.java31 public final static byte[] test2 = newBinaryFile(8192); field in Support_TestWebData
61 test2,
70 new Support_TestWebData(test2.length, 14000002, "test2", "unknown/unknown", false,
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZoneOffset.java227 ZoneOffset test2 = ZoneOffset.of("+1800"); in test_factory_string_hours_minutes_noColon() local
228 doTestOffset(test2, 18, 0, 0); in test_factory_string_hours_minutes_noColon()
246 ZoneOffset test2 = ZoneOffset.of("+18:00"); in test_factory_string_hours_minutes_colon() local
247 doTestOffset(test2, 18, 0, 0); in test_factory_string_hours_minutes_colon()
269 ZoneOffset test2 = ZoneOffset.of("+180000"); in test_factory_string_hours_minutes_seconds_noColon() local
270 doTestOffset(test2, 18, 0, 0); in test_factory_string_hours_minutes_seconds_noColon()
292 ZoneOffset test2 = ZoneOffset.of("+18:00:00"); in test_factory_string_hours_minutes_seconds_colon() local
293 doTestOffset(test2, 18, 0, 0); in test_factory_string_hours_minutes_seconds_colon()
328 ZoneOffset test2 = ZoneOffset.ofHoursMinutes(18, 0); in test_factory_int_hours_minutes() local
329 doTestOffset(test2, 18, 0, 0); in test_factory_int_hours_minutes()
[all …]
DTCKZoneId.java554 ZoneId test2 = ZoneId.of("Europe/Paris"); in test_equals() local
556 assertEquals(test1.equals(test2), false); in test_equals()
557 assertEquals(test2.equals(test1), false); in test_equals()
560 assertEquals(test2.equals(test2), true); in test_equals()
561 assertEquals(test2.equals(test2b), true); in test_equals()
564 assertEquals(test2.hashCode() == test2.hashCode(), true); in test_equals()
565 assertEquals(test2.hashCode() == test2b.hashCode(), true); in test_equals()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DEnumTest.java237 MockEnum2 test2 = (MockEnum2) SerializationTest.copySerializable(mock2); in testSerializationSelf() local
238 assertEquals(mock2.i, test2.i); in testSerializationSelf()
239 assertEquals(mock2.str, test2.str); in testSerializationSelf()
240 assertEquals(mock2.samEnum, test2.samEnum); in testSerializationSelf()
/libcore/luni/src/test/java/libcore/java/net/
DOldURLClassLoaderTest.java93 File test2 = new File(tmp + "subdir/test0"); in test_findResourcesLjava_lang_String() local
94 test2.deleteOnExit(); in test_findResourcesLjava_lang_String()
95 out = new FileOutputStream(test2); in test_findResourcesLjava_lang_String()
/libcore/luni/src/test/etc/loading-test-jar/
Dbuild.sh46 javac -d classes2 ../loading-test2-jar/*.java
DTestMethods.java19 import test2.Target2;
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java1058 ZoneRules test2 = europeParis(); in test_equals() local
1060 assertEquals(test1.equals(test2), false); in test_equals()
1061 assertEquals(test2.equals(test1), false); in test_equals()
1064 assertEquals(test2.equals(test2), true); in test_equals()
1065 assertEquals(test2.equals(test2b), true); in test_equals()
1068 assertEquals(test2.hashCode() == test2.hashCode(), true); in test_equals()
1069 assertEquals(test2.hashCode() == test2b.hashCode(), true); in test_equals()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoLocalDate.java317 ChronoLocalDate test2 = ChronoLocalDate.from(date.atTime(LocalTime.of(12, 30))); in test_from_TemporalAccessor() local
318 assertEquals(test2, date); in test_from_TemporalAccessor()
DTCKChronoLocalDateTime.java327 ChronoLocalDateTime<?> test2 = ChronoLocalDateTime.from(dateTime.atZone(ZoneOffset.UTC)); in test_from_TemporalAccessor() local
328 assertEquals(test2, dateTime); in test_from_TemporalAccessor()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest.java977 WriteReplaceTestF test2 = new WriteReplaceTestF(3, 4); in test_2_writeReplace() local
978 oos.writeObject(test2); in test_2_writeReplace()
979 oos.writeObject(test2); in test_2_writeReplace()
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java205 void test2(int a, Object b); in test2() method
228 public void test2(int a, Object b) { in test2() method in OldClassTest.Cls3
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java442 assertEquals(Support_TestWebData.test2.length, uc2.getContentLength());
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetGetterTests.java610 Double test2 = new Double(23.2); in testGetIntInt() local