()
| 1587 | } |
| 1588 | |
| 1589 | @Test |
| 1590 | public void testDebugOff() throws Throwable { |
| 1591 | |
| 1592 | String strCmd = "set debug off\n"; |
| 1593 | PigContext pc = new PigServer(ExecType.LOCAL).getPigContext(); |
| 1594 | InputStreamReader reader = new InputStreamReader(new ByteArrayInputStream(strCmd.getBytes())); |
| 1595 | new Grunt(new BufferedReader(reader), pc).exec(); |
| 1596 | |
| 1597 | assertEquals(Level.INFO.toString(), pc.getLog4jProperties().getProperty("log4j.logger.org.apache.pig")); |
| 1598 | } |
| 1599 | |
| 1600 | @Test |
| 1601 | public void testAutoShipUDFContainingJar() throws Throwable { |
nothing calls this directly
no test coverage detected