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

Method simpleNegativeTest2

test/org/apache/pig/test/TestPigRunner.java:578–583  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

576 }
577
578 @Test
579 public void simpleNegativeTest2() throws Exception {
580 String[] args = { "-x", execType, "-c", "-e", "this is a test" };
581 PigStats stats = PigRunner.run(args, new TestNotificationListener(execType));
582 assertTrue(stats.getReturnCode() == ReturnCode.ILLEGAL_ARGS);
583 }
584
585 @Test
586 public void simpleNegativeTest3() throws Exception {

Callers

nothing calls this directly

Calls 2

runMethod · 0.95
getReturnCodeMethod · 0.95

Tested by

no test coverage detected