1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.core.test;
17
18 import org.junit.Test;
19 import org.junit.runner.RunWith;
20 import org.kuali.rice.core.api.lifecycle.Lifecycle;
21 import org.kuali.rice.core.framework.resourceloader.SpringResourceLoader;
22 import org.kuali.rice.test.BaselineTestCase;
23 import org.kuali.rice.test.runners.BootstrapTest;
24 import org.kuali.rice.test.runners.LoadTimeWeavableTestRunner;
25
26 import javax.xml.namespace.QName;
27
28
29
30
31
32
33
34 @BaselineTestCase.BaselineMode(BaselineTestCase.Mode.ROLLBACK_CLEAR_DB)
35 @RunWith(LoadTimeWeavableTestRunner.class)
36 @BootstrapTest(CORETestCase.BootstrapTest.class)
37 public abstract class CORETestCase extends BaselineTestCase {
38
39 private static final String CORE_MODULE_NAME = "core";
40
41 public CORETestCase() {
42 super(CORE_MODULE_NAME);
43 }
44
45 @Override
46 protected Lifecycle getLoadApplicationLifecycle() {
47 SpringResourceLoader springResourceLoader = new SpringResourceLoader(new QName("CORETestResourceLoader"), "CORETestHarnessSpringBeans.xml", null);
48 springResourceLoader.setParentSpringResourceLoader(getTestHarnessSpringResourceLoader());
49 return springResourceLoader;
50 }
51
52 public static final class BootstrapTest extends CORETestCase {
53 @Test
54 public void bootstrapTest() {};
55 }
56
57 }