Test against EhCache 3.0 M2 (as a JCache provider)

Includes latest dependency updates (Jackson 2.6.1, Jetty 9.3.2, Undertow 1.2.10)

Issue: SPR-13342
This commit is contained in:
Juergen Hoeller
2015-08-12 16:16:25 +02:00
parent bec3b0fa1a
commit d8794a1edc
4 changed files with 48 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2014 the original author or authors.
* Copyright 2002-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -50,9 +50,13 @@ public abstract class AbstractAnnotationTests {
protected CacheManager cm;
/** @return a refreshed application context */
/**
* @return a refreshed application context
*/
protected abstract ConfigurableApplicationContext getApplicationContext();
@Before
public void setup() {
ctx = getApplicationContext();
@@ -68,9 +72,12 @@ public abstract class AbstractAnnotationTests {
@After
public void tearDown() {
ctx.close();
if (ctx != null) {
ctx.close();
}
}
public void testCacheable(CacheableService<?> service) throws Exception {
Object o1 = new Object();
@@ -731,4 +738,5 @@ public abstract class AbstractAnnotationTests {
public void testClassMultiConditionalCacheAndEvict() {
testMultiConditionalCacheAndEvict(ccs);
}
}