mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
UnitTestRunner: Fix bug in File tests when multiple test instances are run simultaneously
This commit is contained in:
parent
1a5fb5992a
commit
cfd85ad4ee
1 changed files with 4 additions and 1 deletions
|
|
@ -1097,7 +1097,10 @@ public:
|
|||
|
||||
beginTest ("Writing");
|
||||
|
||||
File demoFolder (temp.getChildFile ("JUCE UnitTests Temp Folder.folder"));
|
||||
const auto tempFolderName = "JUCE UnitTests Temp Folder "
|
||||
+ String::toHexString (Random::getSystemRandom().nextInt())
|
||||
+ ".folder";
|
||||
File demoFolder (temp.getChildFile (tempFolderName));
|
||||
expect (demoFolder.deleteRecursively());
|
||||
expect (demoFolder.createDirectory());
|
||||
expect (demoFolder.isDirectory());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue