Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 205) sorted by relevance

123456789

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
DPattern2Test.java53 Matcher m; in testCursors() local
58 m = p.matcher("foobar"); in testCursors()
59 assertTrue(m.find()); in testCursors()
60 assertEquals(0, m.start()); in testCursors()
61 assertEquals(3, m.end()); in testCursors()
62 assertFalse(m.find()); in testCursors()
65 m.reset(); in testCursors()
66 assertTrue(m.find()); in testCursors()
67 assertEquals(0, m.start()); in testCursors()
68 assertEquals(3, m.end()); in testCursors()
[all …]
DModeTest.java32 Matcher m; in testCase() local
35 m = p.matcher("cAT123#dog345"); in testCase()
36 assertTrue(m.find()); in testCase()
37 assertEquals("dog", m.group(1)); in testCase()
38 assertFalse(m.find()); in testCase()
41 m = p.matcher("cAt123#doG345"); in testCase()
42 assertTrue(m.find()); in testCase()
43 assertEquals("cAt", m.group(1)); in testCase()
44 assertTrue(m.find()); in testCase()
45 assertEquals("doG", m.group(1)); in testCase()
[all …]
DMatcher2Test.java32 Matcher m = p.matcher("bar"); in test_toString() local
33 assertNotNull(m.toString()); in test_toString()
39 Matcher m = p.matcher("bar"); in testErrorConditions() local
40 assertFalse(m.matches()); in testErrorConditions()
43 m.start(); in testErrorConditions()
49 m.end(); in testErrorConditions()
55 m.group(); in testErrorConditions()
61 m.start(1); in testErrorConditions()
67 m.end(1); in testErrorConditions()
73 m.group(1); in testErrorConditions()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DModeTest.java32 Matcher m; in testCase() local
35 m = p.matcher("cAT123#dog345"); in testCase()
36 assertTrue(m.find()); in testCase()
37 assertEquals("dog", m.group(1)); in testCase()
38 assertFalse(m.find()); in testCase()
42 m = p.matcher("cAt123#doG345"); in testCase()
43 assertTrue(m.find()); in testCase()
44 assertEquals("cAt", m.group(1)); in testCase()
45 assertTrue(m.find()); in testCase()
46 assertEquals("doG", m.group(1)); in testCase()
[all …]
DPattern2Test.java133 Matcher m; in testCapturingGroups() local
137 m = p.matcher("aaaaaaaab"); in testCapturingGroups()
138 assertTrue(m.matches()); in testCapturingGroups()
139 assertEquals(1, m.groupCount()); in testCapturingGroups()
140 assertEquals("aaaaaaaa", m.group(1)); in testCapturingGroups()
143 m = p.matcher("ananas"); in testCapturingGroups()
144 assertTrue(m.matches()); in testCapturingGroups()
145 assertEquals(4, m.groupCount()); in testCapturingGroups()
146 assertEquals("ananas", m.group(0)); in testCapturingGroups()
147 assertEquals("anan", m.group(1)); in testCapturingGroups()
[all …]
DMatcher2Test.java30 Matcher m = p.matcher("bar"); in test_toString() local
31 assertNotNull(m.toString()); in test_toString()
37 Matcher m = p.matcher("bar"); in testErrorConditions() local
38 assertFalse(m.matches()); in testErrorConditions()
41 m.start(); in testErrorConditions()
47 m.end(); in testErrorConditions()
53 m.group(); in testErrorConditions()
59 m.start(1); in testErrorConditions()
65 m.end(1); in testErrorConditions()
71 m.group(1); in testErrorConditions()
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DMapDefaultMethodTester.java48 public static void test_getOrDefault(Map<String, String> m, boolean acceptsNullKey, in test_getOrDefault() argument
52 checkGetOrDefault("default", m, null, "default"); in test_getOrDefault()
54 checkGetOrDefault(null, m, null, null); in test_getOrDefault()
57 m.put("key", "value"); in test_getOrDefault()
59 checkGetOrDefault(null, m, "absentkey", null); in test_getOrDefault()
61 checkGetOrDefault(null, m, null, null); in test_getOrDefault()
64 checkGetOrDefault("default", m, "absentkey", "default"); in test_getOrDefault()
65 m.put("anotherkey", "anothervalue"); in test_getOrDefault()
66 checkGetOrDefault("default", m, "absentkey", "default"); in test_getOrDefault()
71 assertSame("default", m.getOrDefault(new Object(), "default")); in test_getOrDefault()
[all …]
DHashMapTest.java85 Map<String, Integer> m = new HashMap<>(); in test_spliterator_keySet() local
86 m.put("a", 1); in test_spliterator_keySet()
87 m.put("b", 2); in test_spliterator_keySet()
88 m.put("c", 3); in test_spliterator_keySet()
89 m.put("d", 4); in test_spliterator_keySet()
90 m.put("e", 5); in test_spliterator_keySet()
91 m.put("f", 6); in test_spliterator_keySet()
92 m.put("g", 7); in test_spliterator_keySet()
93 m.put("h", 8); in test_spliterator_keySet()
94 m.put("i", 9); in test_spliterator_keySet()
[all …]
DLinkedHashMapTest.java46 Map<String, String> m = new LinkedHashMap<String, String>(8, .75f, true); in test_getOrDefault() local
47 m.put("key", "value"); in test_getOrDefault()
48 m.put("key1", "value1"); in test_getOrDefault()
49 m.put("key2", "value2"); in test_getOrDefault()
50 m.getOrDefault("key1", "value"); in test_getOrDefault()
52 for (Map.Entry<String, String> e : m.entrySet()) { in test_getOrDefault()
68 Map<String, String> m = new LinkedHashMap<String, String>(8, .75f, true); in test_putIfAbsent() local
69 m.putIfAbsent("key", "value"); in test_putIfAbsent()
70 m.putIfAbsent("key1", "value1"); in test_putIfAbsent()
71 m.putIfAbsent("key2", "value2"); in test_putIfAbsent()
[all …]
/libcore/benchmarks/src/benchmarks/
DInvokeInterface.java27 MultiClass m = multi; in timeCall0Concrete() local
29 doCall0Concrete(m); in timeCall0Concrete()
34 MultiClass m = multi; in timeCall0Interface() local
36 doCall0Interface(m); in timeCall0Interface()
41 MultiClass m = multi; in timeCall1Interface() local
43 doCall1Interface(m); in timeCall1Interface()
48 MultiClass m = multi; in timeCall2Interface() local
50 doCall2Interface(m); in timeCall2Interface()
55 MultiClass m = multi; in timeCall3Interface() local
57 doCall3Interface(m); in timeCall3Interface()
[all …]
/libcore/luni/src/test/java/libcore/java/util/regex/
DOldAndroidRegexTest.java28 Matcher m = p.matcher("bcd"); in testMatches() local
29 assertTrue("Should match.", m.matches()); in testMatches()
33 m = p.matcher("abcdefg"); in testMatches()
34 assertFalse("Should not match.", m.matches()); in testMatches()
37 m = p.matcher("bcdefg"); in testMatches()
38 assertFalse("Should not match.", m.matches()); in testMatches()
41 m = p.matcher("abcd"); in testMatches()
42 assertFalse("Should not match.", m.matches()); in testMatches()
46 m = p.matcher("abc"); in testMatches()
47 assertTrue(m.matches()); in testMatches()
[all …]
/libcore/ojluni/src/main/java/java/security/spec/
DECFieldF2m.java42 private int m; field in ECFieldF2m
53 public ECFieldF2m(int m) { in ECFieldF2m() argument
54 if (m <= 0) { in ECFieldF2m()
57 this.m = m; in ECFieldF2m()
84 public ECFieldF2m(int m, BigInteger rp) { in ECFieldF2m() argument
86 this.m = m; in ECFieldF2m()
88 if (m <= 0) { in ECFieldF2m()
92 if (!this.rp.testBit(0) || !this.rp.testBit(m) || in ECFieldF2m()
98 BigInteger temp = this.rp.clearBit(0).clearBit(m); in ECFieldF2m()
133 public ECFieldF2m(int m, int[] ks) { in ECFieldF2m() argument
[all …]
/libcore/ojluni/src/main/java/java/util/
DTreeSet.java98 private transient NavigableMap<E,Object> m; field in TreeSet
106 TreeSet(NavigableMap<E,Object> m) { in TreeSet() argument
107 this.m = m; in TreeSet()
181 return m.navigableKeySet().iterator(); in iterator()
191 return m.descendingKeySet().iterator(); in descendingIterator()
198 return new TreeSet<>(m.descendingMap()); in descendingSet()
207 return m.size(); in size()
216 return m.isEmpty(); in isEmpty()
234 return m.containsKey(o); in contains()
255 return m.put(e, PRESENT)==null; in add()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentSkipListSet.java107 private final ConcurrentNavigableMap<E,Object> m; field in ConcurrentSkipListSet
114 m = new ConcurrentSkipListMap<E,Object>(); in ConcurrentSkipListSet()
126 m = new ConcurrentSkipListMap<E,Object>(comparator); in ConcurrentSkipListSet()
141 m = new ConcurrentSkipListMap<E,Object>(); in ConcurrentSkipListSet()
154 m = new ConcurrentSkipListMap<E,Object>(s.comparator()); in ConcurrentSkipListSet()
161 ConcurrentSkipListSet(ConcurrentNavigableMap<E,Object> m) { in ConcurrentSkipListSet() argument
162 this.m = m; in ConcurrentSkipListSet()
176 clone.setMap(new ConcurrentSkipListMap<E,Object>(m)); in clone()
202 return m.size(); in size()
210 return m.isEmpty(); in isEmpty()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DManifestTest.java63 Manifest m = jarFile.getManifest(); in getManifest() local
65 return m; in getManifest()
129 Manifest m = getManifest(ATT_JAR_NAME); in testStreamConstructor() local
131 m.write(baos); in testStreamConstructor()
134 assertEquals(m, mCopy); in testStreamConstructor()
168 Manifest m = getManifest(ATT_JAR_NAME); in testClear() local
169 m.clear(); in testClear()
170 assertTrue("Should have no entries", m.getEntries().isEmpty()); in testClear()
171 assertTrue("Should have no main attributes", m.getMainAttributes() in testClear()
179 Manifest m = getManifest(JAR_NAME); in testClone() local
[all …]
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DDoubleStreamTestScenario.java48 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument
49 DoubleStream s = m.apply(data.stream()); in STREAM_FOR_EACH_WITH_CLOSE()
60 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_TO_ARRAY() argument
61 for (double t : m.apply(data.stream()).toArray()) { in STREAM_TO_ARRAY()
69 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_ITERATOR() argument
70 … for (PrimitiveIterator.OfDouble seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); ) in STREAM_ITERATOR()
78 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR() argument
79 … for (Spliterator.OfDouble spl = m.apply(data.stream()).spliterator(); spl.tryAdvance(b); ) { in STREAM_SPLITERATOR()
87 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument
88 SpliteratorTestHelper.mixedTraverseAndSplit(b, m.apply(data.stream()).spliterator()); in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT()
[all …]
DIntStreamTestScenario.java48 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument
49 IntStream s = m.apply(data.stream()); in STREAM_FOR_EACH_WITH_CLOSE()
60 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_TO_ARRAY() argument
61 for (int t : m.apply(data.stream()).toArray()) { in STREAM_TO_ARRAY()
69 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_ITERATOR() argument
70 … for (PrimitiveIterator.OfInt seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); ) in STREAM_ITERATOR()
78 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR() argument
79 … for (Spliterator.OfInt spl = m.apply(data.stream()).spliterator(); spl.tryAdvance(b); ) { in STREAM_SPLITERATOR()
87 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument
88 SpliteratorTestHelper.mixedTraverseAndSplit(b, m.apply(data.stream()).spliterator()); in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT()
[all …]
DLongStreamTestScenario.java48 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument
49 LongStream s = m.apply(data.stream()); in STREAM_FOR_EACH_WITH_CLOSE()
60 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_TO_ARRAY() argument
61 for (long t : m.apply(data.stream()).toArray()) { in STREAM_TO_ARRAY()
69 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_ITERATOR() argument
70 … for (PrimitiveIterator.OfLong seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); ) in STREAM_ITERATOR()
78 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR() argument
79 … for (Spliterator.OfLong spl = m.apply(data.stream()).spliterator(); spl.tryAdvance(b); ) { in STREAM_SPLITERATOR()
87 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument
88 SpliteratorTestHelper.mixedTraverseAndSplit(b, m.apply(data.stream()).spliterator()); in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT()
[all …]
DStreamTestScenario.java47 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument
48 Stream<U> s = m.apply(data.stream()); in STREAM_FOR_EACH_WITH_CLOSE()
60 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_COLLECT() argument
61 for (U t : m.apply(data.stream()).collect(Collectors.toList())) { in STREAM_COLLECT()
70 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_TO_ARRAY() argument
71 for (Object t : m.apply(data.stream()).toArray()) { in STREAM_TO_ARRAY()
80 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_ITERATOR() argument
81 for (Iterator<U> seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); ) in STREAM_ITERATOR()
89 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR() argument
90 for (Spliterator<U> spl = m.apply(data.stream()).spliterator(); spl.tryAdvance(b); ) { } in STREAM_SPLITERATOR()
[all …]
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DIntStreamTestScenario.java51 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument
52 IntStream s = m.apply(data.stream()); in STREAM_FOR_EACH_WITH_CLOSE()
63 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_TO_ARRAY() argument
64 for (int t : m.apply(data.stream()).toArray()) { in STREAM_TO_ARRAY()
72 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_ITERATOR() argument
73 … for (PrimitiveIterator.OfInt seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); ) in STREAM_ITERATOR()
81 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR() argument
82 … for (Spliterator.OfInt spl = m.apply(data.stream()).spliterator(); spl.tryAdvance(b); ) { in STREAM_SPLITERATOR()
90 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument
91 SpliteratorTestHelper.mixedTraverseAndSplit(b, m.apply(data.stream()).spliterator()); in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT()
[all …]
DLongStreamTestScenario.java51 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument
52 LongStream s = m.apply(data.stream()); in STREAM_FOR_EACH_WITH_CLOSE()
63 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_TO_ARRAY() argument
64 for (long t : m.apply(data.stream()).toArray()) { in STREAM_TO_ARRAY()
72 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_ITERATOR() argument
73 … for (PrimitiveIterator.OfLong seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); ) in STREAM_ITERATOR()
81 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR() argument
82 … for (Spliterator.OfLong spl = m.apply(data.stream()).spliterator(); spl.tryAdvance(b); ) { in STREAM_SPLITERATOR()
90 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument
91 SpliteratorTestHelper.mixedTraverseAndSplit(b, m.apply(data.stream()).spliterator()); in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT()
[all …]
DDoubleStreamTestScenario.java52 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument
53 DoubleStream s = m.apply(data.stream()); in STREAM_FOR_EACH_WITH_CLOSE()
64 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_TO_ARRAY() argument
65 for (double t : m.apply(data.stream()).toArray()) { in STREAM_TO_ARRAY()
73 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_ITERATOR() argument
74 … for (PrimitiveIterator.OfDouble seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); ) in STREAM_ITERATOR()
82 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR() argument
83 … for (Spliterator.OfDouble spl = m.apply(data.stream()).spliterator(); spl.tryAdvance(b); ) { in STREAM_SPLITERATOR()
91 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument
92 SpliteratorTestHelper.mixedTraverseAndSplit(b, m.apply(data.stream()).spliterator()); in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT()
[all …]
DStreamTestScenario.java50 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument
51 Stream<U> s = m.apply(data.stream()); in STREAM_FOR_EACH_WITH_CLOSE()
63 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_COLLECT() argument
64 for (U t : m.apply(data.stream()).collect(Collectors.toList())) { in STREAM_COLLECT()
73 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_TO_ARRAY() argument
74 for (Object t : m.apply(data.stream()).toArray()) { in STREAM_TO_ARRAY()
83 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_ITERATOR() argument
84 for (Iterator<U> seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); ) in STREAM_ITERATOR()
92 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR() argument
93 for (Spliterator<U> spl = m.apply(data.stream()).spliterator(); spl.tryAdvance(b); ) { } in STREAM_SPLITERATOR()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSecurityTest.java119 Map<String, String> m = new HashMap<String, String>(); in testGetAlgorithmPropertyLjava_lang_String_java_lang_String() local
120 m.clear(); in testGetAlgorithmPropertyLjava_lang_String_java_lang_String()
121 m.put("Alg.propName.algName", "value"); in testGetAlgorithmPropertyLjava_lang_String_java_lang_String()
122 provider.putAll(m); in testGetAlgorithmPropertyLjava_lang_String_java_lang_String()
284 Map<String, String> m = new HashMap<String, String>(); in test_getProvidersLjava_util_Map() local
285 Security.getProviders(m); in test_getProvidersLjava_util_Map()
287 assertNull("Not null result on empty map", Security.getProviders(m)); in test_getProvidersLjava_util_Map()
295 m.put("AAA.BBB.CCC", "aaaa"); // key has dot instead of space in test_getProvidersLjava_util_Map()
297 Security.getProviders(m); in test_getProvidersLjava_util_Map()
306 m.clear(); in test_getProvidersLjava_util_Map()
[all …]
/libcore/luni/src/test/java/libcore/java/math/
DRunCSVTestsStrict.java27 Method m = mathClass.getMethod(func, new Class[] { Double.TYPE }); in runTest() local
28 Object returnValue = m.invoke(null, input); in runTest()
31 assertEquals(extra + ": " + m + ": " + input + ": ", expectedOutput, in runTest()
34 assertEquals(extra + ": " + m + ": " + input + ": ", (int) expectedOutput, in runTest()
46 Method m; in run2InputTest() local
49 m = mathClass.getMethod(func, new Class[] { Double.TYPE, Integer.TYPE }); in run2InputTest()
50 returnValue = m.invoke(null, input1, (int) input2); in run2InputTest()
52 m = mathClass.getMethod(func, new Class[] { Double.TYPE, Double.TYPE }); in run2InputTest()
53 returnValue = m.invoke(null, input1, input2); in run2InputTest()
57 assertEquals(extra + ": " + m + ": " , expectedOutput, (double) returnValue, 0D); in run2InputTest()
[all …]

123456789