1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.springframework.extensions.surf;
20
21 import javax.servlet.ServletException;
22
23 import org.junit.Ignore;
24
25
26
27
28
29
30 @Ignore public class AbstractSurfAPITestCase extends AbstractSurfTestCase
31 {
32 public void setUp() throws ServletException
33 {
34 super.setUp();
35 }
36
37 public StringBuilder getConfigLocation()
38 {
39 StringBuilder sb = super.getConfigLocation();
40 sb.append(",");
41
42 if (isReadOnly())
43 {
44 sb.append("classpath*:org/springframework/extensions/surf/classpath-context.xml");
45 }
46 else
47 {
48 sb.append("classpath*:org/springframework/extensions/surf/local-context.xml");
49 }
50
51 return sb;
52 }
53
54 public boolean isReadOnly()
55 {
56 return true;
57 }
58 }