mil.dod.th.ose.remote.integration/src/mil/dod/th/ose/remote/integration/namespace/TestCustomCommsNamespace_LinkLayer.java
@Test
    public void testCreateLinkLayer() throws IOException,InterruptedException
    {
        // physical link
        SharedMessages.UUID physUuid = 
                RemotePhysicalLinkUtils.createPhysicalLink(
                        CustomCommTypesGen.PhysicalLinkType.Enum.I_2_C, "phyzzy", socket);
        
        // link layer
        SharedMessages.UUID localLinkUuid = RemoteLinkLayerUtils.
                createLinkLayer("fizzle", ExampleLinkLayer.class.getName(), physUuid, socket);
        
        //cleanup
        RemoteLinkLayerUtils.removeLink(localLinkUuid, socket);
        RemotePhysicalLinkUtils.removePhysicalLink(physUuid, socket);
    }
/**
     * Verify that the system can remotely create a link layer.
     */
Verify that the system can remotely create a link layer.
Verify that the system can remotely create a link layer .
@Test
    public void testCreateLinkLayer() throws IOException,InterruptedException
    {
        SharedMessages.UUID physUuid = 
                RemotePhysicalLinkUtils.createPhysicalLink(
                        CustomCommTypesGen.PhysicalLinkType.Enum.I_2_C, "phyzzy", socket);
        SharedMessages.UUID localLinkUuid = RemoteLinkLayerUtils.
                createLinkLayer("fizzle", ExampleLinkLayer.class.getName(), physUuid, socket);
        RemoteLinkLayerUtils.removeLink(localLinkUuid, socket);
        RemotePhysicalLinkUtils.removePhysicalLink(physUuid, socket);
    }
@ Test public void testCreateLinkLayer ( ) throws IOException , InterruptedException { SharedMessages . UUID physUuid = RemotePhysicalLinkUtils . createPhysicalLink ( CustomCommTypesGen . PhysicalLinkType . Enum . I_2_C , "phyzzy" , socket ) ; SharedMessages . UUID localLinkUuid = RemoteLinkLayerUtils . createLinkLayer ( "fizzle" , ExampleLinkLayer . class . getName ( ) , physUuid , socket ) ; RemoteLinkLayerUtils . removeLink ( localLinkUuid , socket ) ; RemotePhysicalLinkUtils . removePhysicalLink ( physUuid , socket ) ; }
Verify that the system can remotely create a link layer.
Verify that the system can remotely create a link layer .
// physical link // link layer //cleanup