|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.Assert org.kuali.student.core.test.BaseCase
public class BaseCase
A base test class which adds the following capabilities to the test harness:
Field Summary | |
---|---|
private static String |
CONTEXT_NAME
|
private static int |
DEFAULT_PORT
|
private static JettyServer |
server
|
private TransactionalLifecycle |
transactionalLifecycle
|
private static String |
WEBAPP_ROOT
|
Constructor Summary | |
---|---|
BaseCase()
|
Method Summary | |
---|---|
static void |
addWebappsToContext()
Adds all ResourceLoaders registered to WebAppClassLoaders to the GlobalResourceLoader. |
void |
setUp()
|
static void |
startJettyServer()
|
static void |
stopJettyServer()
|
void |
tearDown()
|
Methods inherited from class org.junit.Assert |
---|
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final int DEFAULT_PORT
private static final String CONTEXT_NAME
private static final String WEBAPP_ROOT
private static JettyServer server
private TransactionalLifecycle transactionalLifecycle
Constructor Detail |
---|
public BaseCase()
Method Detail |
---|
public void setUp() throws Exception
Exception
public void tearDown() throws Exception
Exception
public static void startJettyServer() throws Exception
Exception
public static void addWebappsToContext()
public static void stopJettyServer() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |