|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
edu.ucsb.nceas.morpho.framework.tests.ConnectTest
A JUnit test for testing the connection capabilities of the framework.
Constructor Summary | |
ConnectTest(java.lang.String name)
Constructor to build the test |
Method Summary | |
void |
setUp()
Establish a testing framework by initializing appropriate objects |
static junit.framework.Test |
suite()
Create a suite of tests to be run together |
void |
tearDown()
Release any objects after tests are complete |
void |
testInvalidLogin()
Test if the logIn() function works given an invalid username and password |
void |
testLogout()
Test if the logOut() function works |
void |
testValidLogin()
Test if the logIn() function works given a valid username and password |
Constructor Detail |
public ConnectTest(java.lang.String name)
name
- the name of the test methodMethod Detail |
public void setUp()
public void tearDown()
public static junit.framework.Test suite()
public void testValidLogin()
public void testLogout()
public void testInvalidLogin()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |