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

Method setUp

test/org/apache/pig/test/TestPigSplit.java:60–67  ·  view source on GitHub ↗
(ExecType execType)

Source from the content-addressed store, hash-verified

58 }
59
60 public void setUp(ExecType execType) throws Exception {
61 Util.resetStateForExecModeSwitch();
62 if (execType == cluster.getExecType()) {
63 pigServer = new PigServer(cluster.getExecType(), cluster.getProperties());
64 } else {
65 pigServer = new PigServer(Util.getLocalTestMode());
66 }
67 }
68
69 private void createInput(String[] data, ExecType execType) throws IOException {
70 if (execType == cluster.getExecType()) {

Callers 3

testLongEvalSpec2Method · 0.95
testSchemaWithSplitMethod · 0.95
testLongEvalSpecMethod · 0.95

Calls 4

getLocalTestModeMethod · 0.95
getExecTypeMethod · 0.45
getPropertiesMethod · 0.45

Tested by

no test coverage detected