Feature/filesystem cleanup (#1587)

* Adapting to the changes in Ghoul
* First step of moving filesystem functions to std
* Remove persistence flag from cachemanager
This commit is contained in:
Alexander Bock
2021-05-16 20:26:49 +02:00
committed by GitHub
parent 2ca7101b6c
commit ccdc5a5dc3
87 changed files with 648 additions and 711 deletions

View File

@@ -57,7 +57,7 @@ TEST_CASE("AssetLoader: Assertion", "[assetloader]") {
openspace::AssetLoader assetLoader(
state,
&syncWatcher,
FileSys.absolutePath("${TESTDIR}/AssetLoaderTest/")
absPath("${TESTDIR}/AssetLoaderTest/")
);
REQUIRE_NOTHROW(assetLoader.add("passassertion"));
@@ -71,7 +71,7 @@ TEST_CASE("AssetLoader: Basic Export Import", "[assetloader]") {
openspace::AssetLoader assetLoader(
state,
&syncWatcher,
FileSys.absolutePath("${TESTDIR}/AssetLoaderTest/")
absPath("${TESTDIR}/AssetLoaderTest/")
);
REQUIRE_NOTHROW(assetLoader.add("require"));
@@ -84,7 +84,7 @@ TEST_CASE("AssetLoader: Asset Functions", "[assetloader]") {
openspace::AssetLoader assetLoader(
state,
&syncWatcher,
FileSys.absolutePath("${TESTDIR}/AssetLoaderTest/")
absPath("${TESTDIR}/AssetLoaderTest/")
);
REQUIRE_NOTHROW(assetLoader.add("assetfunctionsexist"));
@@ -97,7 +97,7 @@ TEST_CASE("AssetLoader: Asset Initialization", "[assetloader]") {
openspace::AssetLoader assetLoader(
state,
&syncWatcher,
FileSys.absolutePath("${TESTDIR}/AssetLoaderTest/")
absPath("${TESTDIR}/AssetLoaderTest/")
);
bool passed;