Class OpcUaConnectorTest
java.lang.Object
test.de.iip_ecosphere.platform.connectors.AbstractInformationModelConnectorTest<de.iip_ecosphere.platform.connectors.opcuav1.DataItem>
test.de.iip_ecosphere.platform.connectors.opcuav1.AbstractOpcUaConnectorTest
test.de.iip_ecosphere.platform.connectors.opcuav1.OpcUaConnectorTest
- All Implemented Interfaces:
test.de.iip_ecosphere.platform.connectors.MachineCommandInputTranslator.InputCustomizer,test.de.iip_ecosphere.platform.connectors.MachineDataOutputTranslator.OutputCustomizer
Tests the OPC UA connector (not secure, polling).
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested classes/interfaces inherited from class test.de.iip_ecosphere.platform.connectors.AbstractInformationModelConnectorTest
test.de.iip_ecosphere.platform.connectors.AbstractInformationModelConnectorTest.Step -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final de.iip_ecosphere.platform.support.logging.Loggerprivate static TestServerFields inherited from class test.de.iip_ecosphere.platform.connectors.opcuav1.AbstractOpcUaConnectorTest
VENDOR_NAME2 -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class test.de.iip_ecosphere.platform.connectors.opcuav1.AbstractOpcUaConnectorTest
additionalFromActions, afterActions, assertAdditionalProperties, createConnector, dispose, getConnectorDescriptor, getConnectorParameter, getEnumPathToFields, getQNameOperationStartMachine, getQNameOperationStopMachine, getQNameVarLotSize, getQNameVarPowerConsumption, getSetup, getTopLevelModelPartName, getVendor, initializeModelAccess, setSetupMethods inherited from class test.de.iip_ecosphere.platform.connectors.AbstractInformationModelConnectorTest
block, testConnectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface test.de.iip_ecosphere.platform.connectors.MachineCommandInputTranslator.InputCustomizer
assertOperationExceptions, assertSetExceptions, getQNameStart, getQNameStopMethods inherited from interface test.de.iip_ecosphere.platform.connectors.MachineDataOutputTranslator.OutputCustomizer
assertNotExistingProperties
-
Field Details
-
testServer
-
LOGGER
private static final de.iip_ecosphere.platform.support.logging.Logger LOGGER
-
-
Constructor Details
-
OpcUaConnectorTest
public OpcUaConnectorTest()
-
-
Method Details
-
init
Sets the test up by starting an embedded OPC UA server.- Throws:
ExecutionException- shall not occurInterruptedException- shall not occur
-
shutdown
Shuts down the test server.- Throws:
ExecutionException- shall not occurInterruptedException- shall not occur
-
testWithPolling
Tests the connector in polling mode.- Throws:
IOException- in case that creating the connector fails
-
testWithNotifications
Tests the connector in event-based mode.- Throws:
IOException- in case that creating the connector fails
-