()
| 45 | private String tmpDirName = Util.encodeEscape(System.getProperty("java.io.tmpdir")) + "/pigtest/tmp"; |
| 46 | |
| 47 | @Before |
| 48 | public void setUp() throws Exception { |
| 49 | FileLocalizer.setInitialized(false); |
| 50 | File tmpDir = new File(tmpDirName); |
| 51 | if (tmpDir.exists()) { |
| 52 | for (File tmpFile : tmpDir.listFiles()) { |
| 53 | tmpFile.delete(); |
| 54 | } |
| 55 | } else { |
| 56 | tmpDir.mkdirs(); |
| 57 | } |
| 58 | |
| 59 | } |
| 60 | |
| 61 | @After |
| 62 | public void tearDown() throws Exception { |
nothing calls this directly
no test coverage detected