1
2
3
4 package org.melati.admin.test;
5
6 import org.melati.JettyWebTestCase;
7
8
9
10
11
12 public class StatusJettyWebTest extends JettyWebTestCase {
13
14
15
16
17 public StatusJettyWebTest() {
18 super();
19 }
20
21
22
23
24 public StatusJettyWebTest(String name) {
25 super(name);
26 }
27
28
29
30
31
32 protected void setUp() throws Exception {
33 super.setUp();
34 }
35
36
37
38
39
40 protected void tearDown() throws Exception {
41 super.tearDown();
42 }
43
44
45
46
47 public void testStatus() {
48 setScriptingEnabled(false);
49 beginAt("/Status/melatijunit");
50 assertTextPresent("Database Cache Status");
51 }
52 }