|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--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 |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, name, run, run, runBare, runTest, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ConnectTest(java.lang.String name)
name
- the name of the test methodMethod Detail |
public void setUp()
setUp
in class junit.framework.TestCase
public void tearDown()
tearDown
in class junit.framework.TestCase
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 |