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

Method testGetNextWithNull

test/org/apache/pig/test/TestProject.java:159–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157 }
158
159 @Test
160 public void testGetNextWithNull() throws ExecException, IOException {
161 t = tRandomAndNull;
162 proj.attachInput(t);
163 for (int j = 0; j < t.size(); j++) {
164 proj.attachInput(t);
165 proj.setColumn(j);
166
167 res = proj.getNext();
168 assertEquals(POStatus.STATUS_OK, res.returnStatus);
169 assertEquals(t.get(j), res.result);
170 }
171 }
172
173 @Test
174 public void testGetNextTupleWithNull() throws IOException, ExecException {

Callers

nothing calls this directly

Calls 6

setColumnMethod · 0.80
sizeMethod · 0.65
getMethod · 0.65
attachInputMethod · 0.45
getNextMethod · 0.45
assertEqualsMethod · 0.45

Tested by

no test coverage detected