()
| 32 | } |
| 33 | |
| 34 | @Test |
| 35 | void testIsPCGenPartyFile() throws Exception |
| 36 | { |
| 37 | //file must exist for it to be true |
| 38 | assertFalse(PCGFile.isPCGenPartyFile(new File( |
| 39 | Constants.EXTENSION_PARTY_FILE)), "Extension without filename"); |
| 40 | File temp = File.createTempFile("PCT", Constants.EXTENSION_PARTY_FILE); |
| 41 | temp.deleteOnExit(); |
| 42 | assertTrue(PCGFile.isPCGenPartyFile(temp), "File existence"); |
| 43 | assertTrue(PCGFile.isPCGenCharacterOrPartyFile(temp), "File existence"); |
| 44 | } |
| 45 | |
| 46 | @Test |
| 47 | void testIsPCGenLstFile() throws Exception |
nothing calls this directly
no test coverage detected