Package org.codice.ddf.itests.common
Class AbstractIntegrationTest.DynamicPort
java.lang.Object
org.codice.ddf.itests.common.AbstractIntegrationTest.DynamicPort
- Enclosing class:
AbstractIntegrationTest
An enum that returns a port number based on the class variable
} method of every test
class that uses DynamicPort or
AbstractIntegrationTest.basePort. Used to allow
parallel itests and dynamic allocation of ports to prevent conflicts on hard coded port
numbers. AbstractIntegrationTest.basePort needs to be set in the
invalid @link
{@link @BeforeExam
AbstractIntegrationTest.DynamicUrl. E.g. 'basePort = AbstractIntegrationTest.getBasePort()`-
Constructor Summary
ConstructorsConstructorDescriptionDynamicPort(Integer ordinal) DynamicPort(String systemProperty, Integer ordinal) -
Method Summary
-
Constructor Details
-
DynamicPort
-
DynamicPort
-
-
Method Details
-
getPort
-
getPort
-