Home
last modified time | relevance | path

Searched refs:testValue (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/test/java/lang/invoke/MethodHandles/
DTestDropReturn.java45 public void testDropReturn(Class<?> cls, Object testValue) throws Throwable { in testDropReturn() argument
48 Object x = mh.invoke(testValue); in testDropReturn()
49 assertEquals(x, testValue); in testDropReturn()
53 mh.invoke(testValue); // should at least work in testDropReturn()
DTestTableSwitch.java70 public static Object testValue(Class<?> type) { in testValue() method in TestTableSwitch
110 for (Object testValue : testValues) { in testArguments()
111 args[insertPos++] = testValue; in testArguments()
141 Object defaultReturnValue = testValue(type); in testNonVoidHandles()
147 Object returnValue = testValue(type); in testNonVoidHandles()
160 testArguments.add(testValue(additionalType)); in testNonVoidHandles()
/libcore/ojluni/src/test/java/net/SocketOptions/
DOptionsTest.java43 TestClass(SocketOption<?> option, Object testValue) { in TestClass() argument
45 this.testValue = testValue; in TestClass()
47 static TestClass create(SocketOption<?> option, Object testValue) { in create() argument
48 return new TestClass(option, testValue); in create()
51 Object testValue; field in OptionsTest.TestClass
101 c.setOption((SocketOption)test.option, test.testValue); in doSocketTests()
123 c.setOption((SocketOption)test.option, test.testValue); in doDgSocketTests()
142 c.setOption((SocketOption)test.option, test.testValue); in doMcSocketTests()
163 c.setOption((SocketOption)test.option, test.testValue); in doServerSocketTests()
/libcore/ojluni/src/test/java/lang/Double/
DParseHexFloatingPointTest.java288 long testValue = base | (j<<4) | k; in significandAlignmentTests() local
311 Long.toHexString((m >=0) ?(testValue<<m):(testValue>>(-m))) + in significandAlignmentTests()
/libcore/ojluni/src/test/java/math/BigDecimal/
DSquareRootTests.java159 BigDecimal testValue = BigDecimal.valueOf(1, 2*scale); in evenPowersOfTenTests() local
166 result = testValue.sqrt(MathContext.DECIMAL64), in evenPowersOfTenTests()
171 result = testValue.sqrt(oneDigitExactly), in evenPowersOfTenTests()
/libcore/ojluni/src/test/java/util/Arrays/
DCopyMethods.java169 static Object testValue(int i, Class<?> c) { in testValue() method in CopyMethods
182 Array.set(a, i, testValue(i, c)); in makeArray()
210 Object tv = (i >= firstNull) ? nullValue : testValue(i+offset, c); in checkArray()