1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

UnitTestRunner: Fix an overzealous test for the existence of a user directory

This commit is contained in:
Tom Poole 2024-10-30 09:54:58 +00:00
parent 8ae3bffe82
commit ef28243c64
2 changed files with 2 additions and 2 deletions

View file

@ -1080,7 +1080,6 @@ public:
expect (home.isDirectory());
expect (home.exists());
expect (! home.existsAsFile());
expect (File::getSpecialLocation (File::userApplicationDataDirectory).isDirectory());
expect (File::getSpecialLocation (File::currentExecutableFile).exists());
expect (File::getSpecialLocation (File::currentApplicationFile).exists());
expect (File::getSpecialLocation (File::invokedExecutableFile).exists());

View file

@ -902,7 +902,8 @@ public:
On Windows, this might be "\Documents and Settings\username\Application Data".
On the Mac, it might be "~/Library". If you're going to store your settings in here,
always create your own sub-folder to put them in, to avoid making a mess.
On GNU/Linux it is "~/.config".
On GNU/Linux it is "~/.config" and you may need to create the directory before
using it.
*/
userApplicationDataDirectory,