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