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

Method testCOUNTBagNullCheck

test/org/apache/pig/test/TestBuiltin.java:1175–1182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1173 }
1174
1175 @Test
1176 public void testCOUNTBagNullCheck() throws Exception{
1177 DataBag b = null;
1178 Tuple t = TupleFactory.getInstance().newTuple(b);
1179
1180 EvalFunc<Long> count = new COUNT();
1181 assertNull(count.exec(t));
1182 }
1183
1184 @Test
1185 public void testCount_ValidNumberOfArguments_WithoutInputSchema_One() throws Exception {

Callers

nothing calls this directly

Calls 3

getInstanceMethod · 0.95
execMethod · 0.95
newTupleMethod · 0.65

Tested by

no test coverage detected