()
| 44 | } |
| 45 | |
| 46 | @Test |
| 47 | void testIsPCGenLstFile() throws Exception |
| 48 | { |
| 49 | //file must exist for it to be true |
| 50 | assertFalse(PCGFile.isPCGenListFile(new File( |
| 51 | Constants.EXTENSION_LIST_FILE)), "Extension without filename"); |
| 52 | File temp = File.createTempFile("LST", Constants.EXTENSION_LIST_FILE); |
| 53 | temp.deleteOnExit(); |
| 54 | assertTrue(PCGFile.isPCGenListFile(temp), "File existence"); |
| 55 | assertFalse(PCGFile.isPCGenCharacterOrPartyFile(temp), "File existence"); |
| 56 | } |
| 57 | |
| 58 | } |
nothing calls this directly
no test coverage detected