mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-17 18:51:10 +01:00
rename ehcache test configuration files from cache... to ehcache...
This commit is contained in:
@@ -39,8 +39,6 @@ import org.junit.After;
|
|||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import static org.hamcrest.Matchers.*;
|
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
//~--- JDK imports ------------------------------------------------------------
|
//~--- JDK imports ------------------------------------------------------------
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ public class EhConfigurationReaderTest
|
|||||||
public void testDefaultConfiguration()
|
public void testDefaultConfiguration()
|
||||||
{
|
{
|
||||||
EhConfigurationTestReader reader =
|
EhConfigurationTestReader reader =
|
||||||
new EhConfigurationTestReader("cache.001.xml");
|
new EhConfigurationTestReader("ehcache.001.xml");
|
||||||
Configuration c = createConfiguration(reader);
|
Configuration c = createConfiguration(reader);
|
||||||
|
|
||||||
checkDefaultConfiguration(c);
|
checkDefaultConfiguration(c);
|
||||||
@@ -92,7 +92,7 @@ public class EhConfigurationReaderTest
|
|||||||
public void testGlobalAttributes()
|
public void testGlobalAttributes()
|
||||||
{
|
{
|
||||||
EhConfigurationTestReader reader =
|
EhConfigurationTestReader reader =
|
||||||
new EhConfigurationTestReader("cache.006.xml");
|
new EhConfigurationTestReader("ehcache.006.xml");
|
||||||
Configuration c = createConfiguration(reader);
|
Configuration c = createConfiguration(reader);
|
||||||
|
|
||||||
assertFalse(c.getUpdateCheck());
|
assertFalse(c.getUpdateCheck());
|
||||||
@@ -108,9 +108,9 @@ public class EhConfigurationReaderTest
|
|||||||
{
|
{
|
||||||
//J-
|
//J-
|
||||||
EhConfigurationTestReader reader = new EhConfigurationTestReader(
|
EhConfigurationTestReader reader = new EhConfigurationTestReader(
|
||||||
"cache.001.xml",
|
"ehcache.001.xml",
|
||||||
Iterators.forArray("cache.002.xml", "cache.003.xml"),
|
Iterators.forArray("ehcache.002.xml", "ehcache.003.xml"),
|
||||||
"cache.004.xml"
|
"ehcache.004.xml"
|
||||||
);
|
);
|
||||||
//J+
|
//J+
|
||||||
|
|
||||||
@@ -130,7 +130,7 @@ public class EhConfigurationReaderTest
|
|||||||
public void testMergeWithManualConfiguration()
|
public void testMergeWithManualConfiguration()
|
||||||
{
|
{
|
||||||
EhConfigurationTestReader reader =
|
EhConfigurationTestReader reader =
|
||||||
new EhConfigurationTestReader("cache.001.xml", null, "cache.002.xml");
|
new EhConfigurationTestReader("ehcache.001.xml", null, "ehcache.002.xml");
|
||||||
|
|
||||||
Configuration c = createConfiguration(reader);
|
Configuration c = createConfiguration(reader);
|
||||||
|
|
||||||
@@ -148,8 +148,8 @@ public class EhConfigurationReaderTest
|
|||||||
public void testMergeWithModuleConfigurations()
|
public void testMergeWithModuleConfigurations()
|
||||||
{
|
{
|
||||||
EhConfigurationTestReader reader =
|
EhConfigurationTestReader reader =
|
||||||
new EhConfigurationTestReader("cache.001.xml",
|
new EhConfigurationTestReader("ehcache.001.xml",
|
||||||
Iterators.forArray("cache.002.xml", "cache.003.xml"));
|
Iterators.forArray("ehcache.002.xml", "ehcache.003.xml"));
|
||||||
|
|
||||||
Configuration c = createConfiguration(reader);
|
Configuration c = createConfiguration(reader);
|
||||||
|
|
||||||
@@ -181,8 +181,8 @@ public class EhConfigurationReaderTest
|
|||||||
{
|
{
|
||||||
//J-
|
//J-
|
||||||
EhConfigurationTestReader reader = new EhConfigurationTestReader(
|
EhConfigurationTestReader reader = new EhConfigurationTestReader(
|
||||||
"cache.001.xml",
|
"ehcache.001.xml",
|
||||||
Iterators.forArray("cache.005.xml")
|
Iterators.forArray("ehcache.005.xml")
|
||||||
);
|
);
|
||||||
//J+
|
//J+
|
||||||
Configuration c = createConfiguration(reader);
|
Configuration c = createConfiguration(reader);
|
||||||
@@ -198,7 +198,7 @@ public class EhConfigurationReaderTest
|
|||||||
public void testOverrideGlobalAttributes()
|
public void testOverrideGlobalAttributes()
|
||||||
{
|
{
|
||||||
EhConfigurationTestReader reader =
|
EhConfigurationTestReader reader =
|
||||||
new EhConfigurationTestReader("cache.006.xml", null, "cache.007.xml");
|
new EhConfigurationTestReader("ehcache.006.xml", null, "ehcache.007.xml");
|
||||||
Configuration c = createConfiguration(reader);
|
Configuration c = createConfiguration(reader);
|
||||||
|
|
||||||
assertTrue(c.getUpdateCheck());
|
assertTrue(c.getUpdateCheck());
|
||||||
|
|||||||
Reference in New Issue
Block a user