()
| 643 | } |
| 644 | |
| 645 | @Test |
| 646 | public void testIsTempFile() throws Exception { |
| 647 | PigContext context = new PigContext(Util.getLocalTestMode(), new Properties()); |
| 648 | context.connect(); |
| 649 | for (int i=0; i<100; i++) { |
| 650 | String file = FileLocalizer.getTemporaryPath(context).toString(); |
| 651 | assertTrue("not a temp file: " + file, PigStatsUtil.isTempFile(file)); |
| 652 | } |
| 653 | } |
| 654 | |
| 655 | @Test |
| 656 | public void testCounterName() throws Exception { |
nothing calls this directly
no test coverage detected