()
| 583 | } |
| 584 | |
| 585 | @Test |
| 586 | public void simpleNegativeTest3() throws Exception { |
| 587 | String[] args = { "-x", execType, "-c", "-y" }; |
| 588 | PigStats stats = PigRunner.run(args, new TestNotificationListener(execType)); |
| 589 | assertTrue(stats.getReturnCode() == ReturnCode.PARSE_EXCEPTION); |
| 590 | assertEquals("Found unknown option (-y) at position 4", |
| 591 | stats.getErrorMessage()); |
| 592 | } |
| 593 | |
| 594 | @Test |
| 595 | public void streamNegativeTest() throws Exception { |
nothing calls this directly
no test coverage detected