mil.dod.th.ose.rxtxtty.integration/src/mil/dod/th/ose/rxtxtty/integration/TestRxtxBundle.java
public void testSerialAvailable() throws IllegalStateException, CCommException, PersistenceFailedException
    {
        CustomCommsService customCommsService = ServiceUtils.getService(m_Context, CustomCommsService.class);
        assertThat(customCommsService, is(notNullValue()));

        // just create the serial port, this will verify serial port factory is registered but don't open the serial 
        // port since it is unknown whether port is available
        customCommsService.createPhysicalLink(PhysicalLinkTypeEnum.SERIAL_PORT, "/dev/ttyS1");
    }
/**
     * Verify that a serial port can be created.
     */
Verify that a serial port can be created.
Verify that a serial port can be created .
public void testSerialAvailable() throws IllegalStateException, CCommException, PersistenceFailedException
    {
        CustomCommsService customCommsService = ServiceUtils.getService(m_Context, CustomCommsService.class);
        assertThat(customCommsService, is(notNullValue()));
        customCommsService.createPhysicalLink(PhysicalLinkTypeEnum.SERIAL_PORT, "/dev/ttyS1");
    }
public void testSerialAvailable ( ) throws IllegalStateException , CCommException , PersistenceFailedException { CustomCommsService customCommsService = ServiceUtils . getService ( m_Context , CustomCommsService . class ) ; assertThat ( customCommsService , is ( notNullValue ( ) ) ) ; customCommsService . createPhysicalLink ( PhysicalLinkTypeEnum . SERIAL_PORT , "/dev/ttyS1" ) ; }
Verify that a serial port can be created.
Verify that a serial port can be created .
// just create the serial port, this will verify serial port factory is registered but don't open the serial  // port since it is unknown whether port is available