public class EPPLoginSecTst
extends junit.framework.TestCase
EPPCodecComponent
's.Constructor and Description |
---|
EPPLoginSecTst(java.lang.String name)
Creates a new EPPLoginSecTst object.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Unit test main, which accepts the following system property options:
iterations Number of unit test iterations to run validate Turn XML validation on ( true ) or off (
false ). |
static void |
setNumIterations(long aNumIterations)
Sets the number of iterations to run per test.
|
protected void |
setUp()
JUNIT
setUp method, which sets the default client Id to
"theRegistrar" and initializes the EPPNamestoreExtMapFactory
with the EPPCodec . |
static junit.framework.Test |
suite()
JUNIT
suite static method, which returns the tests associated
with EPPLoginSecTst . |
protected void |
tearDown()
JUNIT
tearDown , which currently does nothing. |
void |
testExpiredPasswordResponse()
Unit test for extending login response with expired password event.
|
void |
testExpiringPasswordResponse()
Unit test for extending login response with expiring password event.
|
void |
testLoginCmdLongNewPwd()
Unit test for the extension to the login command with long new password.
|
void |
testLoginCmdLongPwd()
Unit test for the extension to the login command with long current
password.
|
void |
testLoginCmdLongPwdNewPwd()
Unit test for the extension to the login command with long current and new
password.
|
void |
testNegativePassword()
Execute negative tests of using invalid password with the base login
command as well as with the login security extension.
|
void |
testWarningAllResponse()
Unit test for extending login response with all login security event
types.
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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
public EPPLoginSecTst(java.lang.String name)
name
- Name of the testpublic void testLoginCmdLongPwd()
public void testLoginCmdLongNewPwd()
public void testLoginCmdLongPwdNewPwd()
public void testExpiringPasswordResponse()
public void testExpiredPasswordResponse()
public void testWarningAllResponse()
public void testNegativePassword()
protected void setUp()
setUp
method, which sets the default client Id to
"theRegistrar" and initializes the EPPNamestoreExtMapFactory
with the EPPCodec
.setUp
in class junit.framework.TestCase
protected void tearDown()
tearDown
, which currently does nothing.tearDown
in class junit.framework.TestCase
public static junit.framework.Test suite()
suite
static method, which returns the tests associated
with EPPLoginSecTst
.public static void main(java.lang.String[] args)
true
) or off (
false
). If validate is not specified, validation will be off.
args
- Program argumentspublic static void setNumIterations(long aNumIterations)
aNumIterations
- number of iterations to run per test