|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
cafe.test.TestAuthentication
public class TestAuthentication
Performs tests on Authentication class' methods.
| Constructor Summary | |
|---|---|
TestAuthentication()
|
|
| Method Summary | |
|---|---|
void |
testAuthenticateUser()
This method performs tests on authenticateUser with correct AuthenticationSettings. |
void |
testAuthenticateUserWithWrongURL()
This method performs test for a case where a new Authentication-object receives a settings object with a wrong URL. |
void |
testConstructorForNullKeyStorePassword()
|
void |
testConstructorForNullKeyStorePath()
|
void |
testConstructorForNullSettings()
This method performs test for a case where a new Authentication-object receives null value as a settings-object. |
void |
testConstructorForNullUrl()
|
void |
testConstructorForWrongKeyStorePassword()
|
void |
testConstructorForWrongKeyStorePath()
This method performs test for a case where a new Authentication-object receives a settings object with a wrong keystore path. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, getName, run, run, runBare, 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestAuthentication()
| Method Detail |
|---|
public void testAuthenticateUser()
public void testAuthenticateUserWithWrongURL()
public void testConstructorForWrongKeyStorePath()
public void testConstructorForWrongKeyStorePassword()
public void testConstructorForNullUrl()
public void testConstructorForNullKeyStorePath()
public void testConstructorForNullKeyStorePassword()
public void testConstructorForNullSettings()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||