Search in sources :

Example 1 with ApplicationType

use of org.eclipse.milo.opcua.stack.core.types.enumerated.ApplicationType in project milo by eclipse.

the class BinaryDecoderTest method testEnumScalar.

@Test
public void testEnumScalar() {
    writer.writeEnum(null, ApplicationType.Client);
    ApplicationType decoded = reader.readEnum(null, ApplicationType.class);
    assertEquals(decoded, ApplicationType.Client);
}
Also used : ApplicationType(org.eclipse.milo.opcua.stack.core.types.enumerated.ApplicationType) Test(org.testng.annotations.Test)

Aggregations

ApplicationType (org.eclipse.milo.opcua.stack.core.types.enumerated.ApplicationType)1 Test (org.testng.annotations.Test)1