~ubuntu-branches/ubuntu/oneiric/ehcache/oneiric

« back to all changes in this revision

Viewing changes to src/test/java/net/sf/ehcache/store/compound/impl/MemoryOnlyTest.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2010-06-23 10:35:31 UTC
  • mfrom: (1.1.5 upstream) (2.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100623103531-ra0qdpmotoz6ygct
Tags: 2.1.0-1
Merge changes from Thierry's PPA and upload to Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package net.sf.ehcache.store.compound.impl;
 
2
 
 
3
import net.sf.ehcache.Cache;
 
4
import net.sf.ehcache.config.CacheConfiguration;
 
5
import org.junit.Before;
 
6
 
 
7
/**
 
8
 * @author Alex Snaps
 
9
 */
 
10
public class MemoryOnlyTest extends CompoundStoreTest {
 
11
    
 
12
    @Before
 
13
    public void init() {
 
14
        store = MemoryOnlyStore.create(new Cache(new CacheConfiguration("SomeCache", 1000)), null);
 
15
        xaStore = MemoryOnlyStore.create(new Cache(new CacheConfiguration("SomeXaCache", 1000).transactionalMode("XA")), null);
 
16
    }
 
17
}