()
| 67 | private String TMP_DIR; |
| 68 | |
| 69 | @Before |
| 70 | public void setUp() throws Exception { |
| 71 | PigContext context = new PigContext(Util.getLocalTestMode(), new Properties()); |
| 72 | context.getProperties().setProperty(PigConfiguration.PIG_OPT_MULTIQUERY, ""+true); |
| 73 | myPig = new PigServer(context); |
| 74 | myPig.getPigContext().getProperties().setProperty("pig.usenewlogicalplan", "false"); |
| 75 | myPig.getPigContext().getProperties().setProperty(PigConfiguration.PIG_TEMP_DIR, "build/test/tmp/"); |
| 76 | TMP_DIR = FileLocalizer.getTemporaryPath(myPig.getPigContext()).toUri().getPath(); |
| 77 | deleteOutputFiles(); |
| 78 | } |
| 79 | |
| 80 | @After |
| 81 | public void tearDown() throws Exception { |
nothing calls this directly
no test coverage detected