mil.dod.th.ose.core.integration/src/mil/dod/th/ose/core/integration/TestCustomCommsService.java
public void testSerialPortProperties() throws Exception
    {
        CustomCommsService customCommsService = ServiceUtils.getService(m_Context, CustomCommsService.class);
        
        SerialPort serialPort = (SerialPort)customCommsService.createPhysicalLink(PhysicalLinkTypeEnum.SERIAL_PORT);
        
        // just verify default properties based on enums can be retrieved
        serialPort.getConfig().flowControl();
        serialPort.getConfig().stopBits();
        serialPort.getConfig().parity();        
    }
/**
     * Verify serial port defaults can be retrieved.
     */
Verify serial port defaults can be retrieved.
Verify serial port defaults can be retrieved .
public void testSerialPortProperties() throws Exception
    {
        CustomCommsService customCommsService = ServiceUtils.getService(m_Context, CustomCommsService.class);
        SerialPort serialPort = (SerialPort)customCommsService.createPhysicalLink(PhysicalLinkTypeEnum.SERIAL_PORT);
        serialPort.getConfig().flowControl();
        serialPort.getConfig().stopBits();
        serialPort.getConfig().parity();        
    }
public void testSerialPortProperties ( ) throws Exception { CustomCommsService customCommsService = ServiceUtils . getService ( m_Context , CustomCommsService . class ) ; SerialPort serialPort = ( SerialPort ) customCommsService . createPhysicalLink ( PhysicalLinkTypeEnum . SERIAL_PORT ) ; serialPort . getConfig ( ) . flowControl ( ) ; serialPort . getConfig ( ) . stopBits ( ) ; serialPort . getConfig ( ) . parity ( ) ; }
Verify serial port defaults can be retrieved.
Verify serial port defaults can be retrieved .
// just verify default properties based on enums can be retrieved