org.apache.shale.usecases.systest
Class JndiTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.shale.usecases.systest.AbstractTestCase
              extended by org.apache.shale.usecases.systest.JndiTestCase
All Implemented Interfaces:
junit.framework.Test

public class JndiTestCase
extends AbstractTestCase

Validate the "JNDI access" path through the application


Field Summary
 
Fields inherited from class org.apache.shale.usecases.systest.AbstractTestCase
page, url, webClient
 
Constructor Summary
JndiTestCase(String name)
          Construct a new instance of this test case.
 
Method Summary
protected  void setUp()
          Set up the instance variables required for this test case.
static junit.framework.Test suite()
          Return the set of tests included in this test suite.
protected  void tearDown()
          Tear down instance variables required by this test case.
 void testExecute()
          Execute the "Jndi Access" path.
 
Methods inherited from class org.apache.shale.usecases.systest.AbstractTestCase
body, element, form, head, link, page, submit, title, url
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JndiTestCase

public JndiTestCase(String name)

Construct a new instance of this test case.

Parameters:
name - Name of the new test case
Method Detail

setUp

protected void setUp()
              throws Exception

Set up the instance variables required for this test case.

Overrides:
setUp in class AbstractTestCase
Throws:
Exception

suite

public static junit.framework.Test suite()

Return the set of tests included in this test suite.


tearDown

protected void tearDown()
                 throws Exception

Tear down instance variables required by this test case.

Overrides:
tearDown in class AbstractTestCase
Throws:
Exception

testExecute

public void testExecute()
                 throws Exception

Execute the "Jndi Access" path.

Throws:
Exception


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.