Home
last modified time | relevance | path

Searched refs:testCase (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/math/
DCSVTest.java51 String[] testCase = line.split(","); in TestCSVInputs() local
52 runTest(testCase); in TestCSVInputs()
65 protected void runTest(String[] testCase) throws Exception { in runTest() argument
66 String function = testCase[0]; in runTest()
67 double expectedOutput = Double.parseDouble(testCase[1]); in runTest()
68 double input = Double.parseDouble(testCase[2]); in runTest()
71 double input2 = Double.parseDouble(testCase[3]); in runTest()
72 if (testCase.length > 4) { in runTest()
73 extra = testCase[4]; in runTest()
77 if (testCase.length > 3) { in runTest()
[all …]
/libcore/luni/src/test/java/libcore/libcore/util/
DHexEncodingTest.java43 for (Object[] testCase : testCases) { in testEncodeByte()
44 Number toEncode = (Number) testCase[0]; in testEncodeByte()
45 String expected = (String) testCase[1]; in testEncodeByte()
60 for (Object[] testCase : testCases) { in testEncodeBytes()
61 byte[] bytes = (byte[]) testCase[0]; in testEncodeBytes()
62 String encodedLower = lower((String) testCase[1]); in testEncodeBytes()
63 String encodedUpper = upper((String) testCase[1]); in testEncodeBytes()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMErrorMonitor.java57 public void assertLowerSeverity(DOMTestCase testCase, String id, int severity) { in assertLowerSeverity() argument
62 testCase.fail(id + error.getMessage()); in assertLowerSeverity()
/libcore/luni/src/test/java/libcore/java/lang/
DOldObjectTest.java140 int testCase = CASE_WAIT; field in OldObjectTest.TestThread1
143 testCase = option; in TestThread1()
149 switch(testCase) { in run()
DOldRuntimeTest.java288 void checkExec(int testCase, String [] envp, File file) { in checkExec() argument
299 switch(testCase) { in checkExec()
/libcore/ojluni/src/test/java/util/stream/
DTestDoubleSumAverage.java124 for(Map.Entry<Supplier<DoubleStream>, Double> testCase : testCases.entrySet()) { in testNonfiniteSum()
125 Supplier<DoubleStream> ds = testCase.getKey(); in testNonfiniteSum()
126 double expected = testCase.getValue(); in testNonfiniteSum()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
DModeTest.java31 public void testCase() throws PatternSyntaxException { in testCase() method in ModeTest
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPatternSyntaxExceptionTest.java91 public void testCase() { in testCase() method in PatternSyntaxExceptionTest