From 3650eabff054cd3c6b3670d248ffeb04e0b76478 Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Thu, 18 Jul 2013 08:53:46 +0200 Subject: IcedTea-Web is now following XDG .config and .cache specification(RH947647) --- tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java | 2 +- tests/netx/unit/net/sourceforge/jnlp/util/PropertiesFileTest.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/netx') diff --git a/tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java b/tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java index fbc6f95..9e896d0 100644 --- a/tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java +++ b/tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java @@ -55,7 +55,7 @@ public class CacheLRUWrapperTest { .getProperty(DeploymentConfiguration.KEY_USER_CACHE_DIR)).getPath(); // does no DeploymentConfiguration exist for this file name? - private final String cacheIndexFileName = "recently_used"; + private final String cacheIndexFileName = CacheLRUWrapper.CACHE_INDEX_FILE_NAME; private final int noEntriesCacheFile = 1000; diff --git a/tests/netx/unit/net/sourceforge/jnlp/util/PropertiesFileTest.java b/tests/netx/unit/net/sourceforge/jnlp/util/PropertiesFileTest.java index 1cd5d88..567b344 100644 --- a/tests/netx/unit/net/sourceforge/jnlp/util/PropertiesFileTest.java +++ b/tests/netx/unit/net/sourceforge/jnlp/util/PropertiesFileTest.java @@ -43,6 +43,7 @@ import java.io.File; import java.io.IOException; import java.nio.channels.FileLock; import java.nio.channels.OverlappingFileLockException; +import net.sourceforge.jnlp.cache.CacheLRUWrapper; import net.sourceforge.jnlp.config.DeploymentConfiguration; import net.sourceforge.jnlp.runtime.JNLPRuntime; @@ -61,7 +62,7 @@ public class PropertiesFileTest { .getProperty(DeploymentConfiguration.KEY_USER_CACHE_DIR)).getPath(); // does no DeploymentConfiguration exist for this file name? - private final String cacheIndexFileName = "recently_used"; + private final String cacheIndexFileName = CacheLRUWrapper.CACHE_INDEX_FILE_NAME; private final PropertiesFile cacheIndexFile = new PropertiesFile(new File(cacheDir + File.separatorChar + cacheIndexFileName)); private final int noEntriesCacheFile = 1000; -- cgit v1.2.3