public class EPPLoginSecPolicyTst
extends junit.framework.TestCase
EPPRegistryTst
utility methods are used to supporting creating a full
Registry Mapping command or response that is extended by the Login Security
Policy Extension.Constructor and Description |
---|
EPPLoginSecPolicyTst(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static EPPLoginSecPolicySystem |
buildLoginSecSystem()
Build a populated
EPPLoginSecPolicyEvent instance that can be
included in one of the Launch Policy Extensions. |
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 , which currently does nothing. |
static junit.framework.Test |
suite()
JUNIT
suite static method, which returns the tests associated with
EPPRegistryTst . |
protected void |
tearDown()
JUNIT
tearDown , which currently does nothing. |
void |
testRegistryInfoSystemInfo()
Test the registry info response for the zone info that includes the Launch
Policy Extension.
|
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 void testRegistryInfoSystemInfo()
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 junit.framework.Test suite()
suite
static method, which returns the tests associated with
EPPRegistryTst
.protected void setUp()
setUp
, which currently does nothing.setUp
in class junit.framework.TestCase
protected void tearDown()
tearDown
, which currently does nothing.tearDown
in class junit.framework.TestCase
public static void setNumIterations(long aNumIterations)
aNumIterations
- number of iterations to run per testpublic static EPPLoginSecPolicySystem buildLoginSecSystem()
EPPLoginSecPolicyEvent
instance that can be
included in one of the Launch Policy Extensions. The populated attributes
are based on the sample included in draft-gould-regext-launch-policy. The
following phases are added to the populated EPPLoginSecPolicyEvent
instance:EPPLoginSecPolicyEvent
based on the sample
included in draft-gould-regext-launch-policy.