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

Method testGetNext

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

Source from the content-addressed store, hash-verified

56 }
57
58 @Test
59 public void testGetNext() throws ExecException, IOException {
60 t = tRandom;
61 proj.attachInput(t);
62 for (int j = 0; j < t.size(); j++) {
63 proj.attachInput(t);
64 proj.setColumn(j);
65
66 res = proj.getNext();
67 assertEquals(POStatus.STATUS_OK, res.returnStatus);
68 assertEquals(t.get(j), res.result);
69 }
70 }
71
72 @Test
73 public void testGetNextTuple() 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