mil.dod.th.ose.sdk.integration/src/mil/dod/th/ose/sdk/integration/TestSdkPlugins.java
public void testCreateSdkTransportLayer() throws Exception
    {
        PhysicalLink physLink = m_CustomCommsService.createPhysicalLink(PhysicalLinkTypeEnum.SPI);
        assertThat(physLink, is(notNullValue()));

        LinkLayer linkLayer = m_CustomCommsService.createLinkLayer(SdkUtils.getProductType(
                SdkUtils.SDK_LINK_LAYER_NAME), physLink.getName());
        assertThat(linkLayer, is(notNullValue()));

        TransportLayer transportLayer = m_CustomCommsService.createTransportLayer(
                SdkUtils.getProductType(SdkUtils.SDK_TRANS_LAYER_NAME),
                SdkUtils.SDK_TRANS_LAYER_NAME, linkLayer.getName());
        assertThat(transportLayer, is(notNullValue()));
    }
/**
     * Test that the SDK generated transport layer can be created.
     */
Test that the SDK generated transport layer can be created.
Test that the SDK generated transport layer can be created .
public void testCreateSdkTransportLayer() throws Exception
    {
        PhysicalLink physLink = m_CustomCommsService.createPhysicalLink(PhysicalLinkTypeEnum.SPI);
        assertThat(physLink, is(notNullValue()));
        LinkLayer linkLayer = m_CustomCommsService.createLinkLayer(SdkUtils.getProductType(
                SdkUtils.SDK_LINK_LAYER_NAME), physLink.getName());
        assertThat(linkLayer, is(notNullValue()));
        TransportLayer transportLayer = m_CustomCommsService.createTransportLayer(
                SdkUtils.getProductType(SdkUtils.SDK_TRANS_LAYER_NAME),
                SdkUtils.SDK_TRANS_LAYER_NAME, linkLayer.getName());
        assertThat(transportLayer, is(notNullValue()));
    }
public void testCreateSdkTransportLayer ( ) throws Exception { PhysicalLink physLink = m_CustomCommsService . createPhysicalLink ( PhysicalLinkTypeEnum . SPI ) ; assertThat ( physLink , is ( notNullValue ( ) ) ) ; LinkLayer linkLayer = m_CustomCommsService . createLinkLayer ( SdkUtils . getProductType ( SdkUtils . SDK_LINK_LAYER_NAME ) , physLink . getName ( ) ) ; assertThat ( linkLayer , is ( notNullValue ( ) ) ) ; TransportLayer transportLayer = m_CustomCommsService . createTransportLayer ( SdkUtils . getProductType ( SdkUtils . SDK_TRANS_LAYER_NAME ) , SdkUtils . SDK_TRANS_LAYER_NAME , linkLayer . getName ( ) ) ; assertThat ( transportLayer , is ( notNullValue ( ) ) ) ; }
Test that the SDK generated transport layer can be created.
Test that the SDK generated transport layer can be created .