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.kuali.rice.core.api.lifecycle.Lifecycle;
19 import org.kuali.rice.core.framework.resourceloader.SpringResourceLoader;
20 import org.kuali.rice.test.BaselineTestCase;
21
22 import javax.xml.namespace.QName;
23
24
25
26
27
28
29
30 @BaselineTestCase.BaselineMode(BaselineTestCase.Mode.ROLLBACK_CLEAR_DB)
31 public abstract class CORETestCase extends BaselineTestCase {
32
33 private static final String CORE_MODULE_NAME = "core";
34
35 public CORETestCase() {
36 super(CORE_MODULE_NAME);
37 }
38
39 @Override
40 protected Lifecycle getLoadApplicationLifecycle() {
41 SpringResourceLoader springResourceLoader = new SpringResourceLoader(new QName("CORETestResourceLoader"), "CORETestHarnessSpringBeans.xml", null);
42 springResourceLoader.setParentSpringResourceLoader(getTestHarnessSpringResourceLoader());
43 return springResourceLoader;
44 }
45 }