mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-02 06:45:59 +01:00
SMACK-361 Updated test case to fix create temp directory on Windows
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13574 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
aab1dcdabe
commit
e3f842da8c
1 changed files with 1 additions and 3 deletions
|
@ -216,9 +216,7 @@ public class EntityCapsManagerTest {
|
|||
}
|
||||
|
||||
public static File createTempDirectory() throws IOException {
|
||||
String tmpdir = System.getProperty("java.io.tmpdir");
|
||||
File tmp;
|
||||
tmp = File.createTempFile(tmpdir, "entityCaps");
|
||||
File tmp = File.createTempFile("entity", "caps");
|
||||
tmp.delete();
|
||||
tmp.mkdir();
|
||||
return tmp;
|
||||
|
|
Loading…
Reference in a new issue