We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcf5a1c commit 49572e7Copy full SHA for 49572e7
.gitattributes
@@ -0,0 +1,2 @@
1
+# Set default behaviour, in case users don't have core.autocrlf set.
2
+* text=auto
src/test/java/org/mybatis/caches/redis/RedisTestCase.java
@@ -20,6 +20,7 @@
20
import static org.junit.Assert.assertNull;
21
22
import org.junit.Before;
23
+import org.junit.BeforeClass;
24
import org.junit.Test;
25
26
/**
@@ -30,10 +31,10 @@ public final class RedisTestCase {
30
31
private static final String DEFAULT_ID = "REDIS";
32
33
// CacheManager holds any settings between tests
- private RedisCache cache;
34
+ private static RedisCache cache;
35
- @Before
36
- public void newCache() {
+ @BeforeClass
37
+ public static void newCache() {
38
cache = new RedisCache(DEFAULT_ID);
39
}
40
0 commit comments