Home
last modified time | relevance | path

Searched defs:expectedValue (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKLocalizedFieldParser.java98 …d test_parse_textField(String pattern, String text, int pos, int expectedPos, long expectedValue) { in test_parse_textField()
149 …rse_textLocalDate(String pattern, String text, int pos, int expectedPos, LocalDate expectedValue) { in test_parse_textLocalDate()
186 …rse_WeekBasedYear(String pattern, String text, int pos, int expectedPos, LocalDate expectedValue) { in test_parse_WeekBasedYear()
DTCKDateTimeParseResolver.java832 … public void test_resolveClockHourOfAmPm(ResolverStyle style, long value, Integer expectedValue) { in test_resolveClockHourOfAmPm()
875 public void test_resolveAmPm(ResolverStyle style, long value, Integer expectedValue) { in test_resolveAmPm()
/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryMappedFileTest.java241 short expectedValue = (short) ((bytes[0] << 8) | bytes[1]); in testReadShort_bigEndian() local
263 short expectedValue = (short) ((bytes[1] << 8) | bytes[0]); in testReadShort_littleEndian() local
303 int expectedValue = (bytes[0] << 24) | (bytes[1] << 16) | (bytes[2] << 8) | bytes[3]; in testReadInt_bigEndian() local
325 int expectedValue = (bytes[3] << 24) | (bytes[2] << 16) | (bytes[1] << 8) | bytes[0]; in testReadInt_littleEndian() local
609 private static void assertReadIntSucceeds(BufferIterator iterator, int expectedValue) { in assertReadIntSucceeds()
625 private static void assertReadShortSucceeds(BufferIterator iterator, short expectedValue) { in assertReadShortSucceeds()
642 private static void assertReadByteSucceeds(BufferIterator iterator, byte expectedValue) { in assertReadByteSucceeds()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestFractionPrinterParser.java245 int expectedValue = fixParsedValue(maxWidth, value); in test_reverseParse() local
256 int expectedValue = fixParsedValue(maxWidth, value); in test_reverseParse_noDecimalPoint() local
263 int expectedValue = fixParsedValue(maxWidth, value); in test_reverseParse_followedByNonDigit() local
281 int expectedValue = fixParsedValue(maxWidth, value); in test_reverseParse_preceededByNonDigit() local
DTestNumberParser.java167 …nStyle signStyle, int subsequentWidth, String text, int pos, int expectedPos, long expectedValue) { in test_parse_fresh()
180 assertEquals(parsed.getLong(DAY_OF_MONTH), expectedValue); in test_parse_fresh() local
187 …nStyle signStyle, int subsequentWidth, String text, int pos, int expectedPos, long expectedValue) { in test_parse_textField()
200 assertEquals(parsed.getLong(DAY_OF_WEEK), expectedValue); in test_parse_textField() local
/libcore/luni/src/test/java/libcore/java/util/
DAbstractListTest.java85 Integer expectedValue = list.get(2); in spliterator_modification_failFast() local
DLinkedHashMapTest.java393 Object expectedValue = expected.getValue(); in check_eldest_comparibleWithIterationOrder() local
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DUnsafe.java67 java.lang.Object obj, long offset, int expectedValue, int newValue); in compareAndSwapInt()
71 java.lang.Object obj, long offset, long expectedValue, long newValue); in compareAndSwapLong()
77 java.lang.Object expectedValue, in compareAndSwapObject()
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java135 int expectedValue, int newValue); in compareAndSwapInt()
151 long expectedValue, long newValue); in compareAndSwapLong()
167 Object expectedValue, Object newValue); in compareAndSwapObject()