/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestDateTimeBuilderCombinations.java | 105 public void test_derive(final TemporalField field1, final Number value1, in test_derive() argument 114 return field == field1 || field == field2 || field == field3 || field == field4; in test_derive() 118 if (field == field1) { in test_derive() 135 dtfb.appendValue(field1).appendLiteral('-'); in test_derive() 186 …public void test_normalized(final TemporalField field1, final Number value1, TemporalField expecte… in test_normalized() argument 191 return field == field1; in test_normalized() 195 if (field == field1) { in test_normalized() 201 DateTimeFormatter f = new DateTimeFormatterBuilder().appendValue(field1).toFormatter(); in test_normalized()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest.java | 677 Object field1, field2; field in SerializationStressTest.ResolveObjectTest 708 obj.field1 = new Vector(); in test_1_resolveObject() 709 obj.field2 = obj.field1; in test_1_resolveObject() 721 result.field1 instanceof Hashtable); in test_1_resolveObject() 723 result.field1 == result.field2); in test_1_resolveObject() 732 obj.field1 = "abc"; in test_2_resolveObject() 733 obj.field2 = obj.field1; in test_2_resolveObject() 744 assertEquals("String not resolved", "ABC", result.field1); in test_2_resolveObject() 746 result.field1 == result.field2); in test_2_resolveObject() 756 obj.field1 = new String(lchars); in test_3_resolveObject() [all …]
|
D | SerializationStressTest2.java | 181 private int field1, field2; field in SerializationStressTest2.OptionalDataNotRead 209 field1 = fields.get("field1", 0); in readObject() 216 public OptionalDataNotRead field1; field in SerializationStressTest2.NestedPutField 233 field1 = (OptionalDataNotRead) fields.get("field1", null); in readObject() 1247 ((NestedPutField) objLoaded).field1); in test_18_56_writeObject()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 152 public void test_resolveOneNoChange(TemporalField field1, long value1) { in test_resolveOneNoChange() argument 154 DateTimeFormatter f = new DateTimeFormatterBuilder().appendValue(field1).toFormatter(); in test_resolveOneNoChange() 159 assertEquals(accessor.isSupported(field1), true); in test_resolveOneNoChange() 160 assertEquals(accessor.getLong(field1), value1); in test_resolveOneNoChange() 189 …public void test_resolveTwoNoChange(TemporalField field1, long value1, TemporalField field2, long … in test_resolveTwoNoChange() argument 192 .appendValue(field1).appendLiteral(' ') in test_resolveTwoNoChange() 198 assertEquals(accessor.isSupported(field1), true); in test_resolveTwoNoChange() 200 assertEquals(accessor.getLong(field1), value1); in test_resolveTwoNoChange() 220 …public void test_resolveThreeNoChange(TemporalField field1, long value1, TemporalField field2, lon… in test_resolveThreeNoChange() argument 223 .appendValue(field1).appendLiteral(' ') in test_resolveThreeNoChange() [all …]
|
D | TCKDateTimeFormatters.java | 1496 Expected(TemporalField field1, long value1, TemporalField field2, long value2) { in Expected() argument 1497 fieldValues.put(field1, value1); in Expected()
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | UpdateFunctionalityTest.java | 144 String field1 = result.getString("field1"); in testUpdate2() local 147 field1); in testUpdate2() 150 DatabaseCreator.defaultString + id, field1); in testUpdate2()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldClassTest.java | 189 public int field1 = 1; field 195 public int field1 = 1; field 200 public int field1 = 1; field 204 public int field1 = 1; field 212 public int field1 = 2; field in OldClassTest.Cls1 219 public int field1 = 2; field in OldClassTest.Cls2
|