public abstract class AbstractSubscriptionTest extends AbstractModelTest
Abstract class that can be inherited for the test classes. It has utility
methods to create a ILocalDataserver that can be used to test the
subscription implementation.
| Constructor and Description |
|---|
AbstractSubscriptionTest() |
| Modifier and Type | Method and Description |
|---|---|
ILocalDataserver |
addDataserverToEvent(IEvent event)
Create a local dataserver that can be used to establish a communication
with the subscription library.
|
ILocalDataserver |
addDataserverToEvent(IEvent event,
boolean isLive,
boolean isStored)
Create a local dataserver that can be used to establish a communication
with the subscription library.
|
addAttachment, addCompetitorToEvent, addCompetitorToEvent, addCompetitorToRace, addControlPointToControl, addControlRouteToRace, addControlRouteToRace, addControlToEvent, addControlToEvent, addControlToEvent, addControlToRace, addControlToRace, addControlToRace, addRaceCompetitorToRace, addRacetoEvent, addRacetoEvent, addRacetoEvent, createCompetitor, createCompetitor, createControl, createControlPoint, createEvent, createEventassertEquals, 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, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toStringpublic ILocalDataserver addDataserverToEvent(IEvent event) throws java.io.IOException, java.net.URISyntaxException
event - the eventjava.io.IOException - if there is an error creating the socketsjava.net.URISyntaxException - if there is an error creating the URIspublic ILocalDataserver addDataserverToEvent(IEvent event, boolean isLive, boolean isStored) throws java.io.IOException, java.net.URISyntaxException
event - the eventisLive - if the subscription uses the live connectionisStored - if the subscription uses the stored connectionjava.io.IOException - if there is an error creating the socketsjava.net.URISyntaxException - if there is an error creating the URIs