aboutsummaryrefslogtreecommitdiffstats
path: root/tests/netx/unit/net/sourceforge
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2013-07-18 08:53:46 +0200
committerJiri Vanek <[email protected]>2013-07-18 08:53:46 +0200
commit3650eabff054cd3c6b3670d248ffeb04e0b76478 (patch)
tree47d498921c29cd34a48026ac5c4a1b17b27aa3cd /tests/netx/unit/net/sourceforge
parent0fe719f17d81f95491b939f23b5d5c3111f7c427 (diff)
IcedTea-Web is now following XDG .config and .cache specification(RH947647)
Diffstat (limited to 'tests/netx/unit/net/sourceforge')
-rw-r--r--tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java2
-rw-r--r--tests/netx/unit/net/sourceforge/jnlp/util/PropertiesFileTest.java3
2 files changed, 3 insertions, 2 deletions
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;