MCPcopy Create free account
hub / github.com/apache/pig / testDoubleInvoker

Method testDoubleInvoker

test/org/apache/pig/test/TestInvoker.java:109–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 }
108
109 @Test
110 public void testDoubleInvoker() throws SecurityException, ClassNotFoundException, NoSuchMethodException, NumberFormatException, IOException {
111 InvokeForDouble il = new InvokeForDouble("java.lang.Double.valueOf", "String");
112 Tuple t = tf_.newTuple(1);
113 String arg = "245";
114 t.set(0, arg);
115 assertEquals(Double.valueOf(arg), il.exec(t));
116 }
117
118 @Test
119 public void testFloatInvoker() throws SecurityException, ClassNotFoundException, NoSuchMethodException, NumberFormatException, IOException {

Callers

nothing calls this directly

Calls 4

setMethod · 0.95
newTupleMethod · 0.65
assertEqualsMethod · 0.45
execMethod · 0.45

Tested by

no test coverage detected