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

Method testDebugOff

test/org/apache/pig/test/TestGrunt.java:1589–1598  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 7

getLog4jPropertiesMethod · 0.95
getPropertyMethod · 0.80
getBytesMethod · 0.65
getPigContextMethod · 0.45
execMethod · 0.45
assertEqualsMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected