mil.dod.th.ose.integration/src/mil/dod/th/ose/controller/integration/config/TestXmlConfigurations2ndRun.java
@Test
    public final void testLinkLayerConfiguration()
    {
        String testLinkName = "xmlConfigLinkLayer";
        
        CustomCommsService customCommsService = IntegrationTestRunner.getService(CustomCommsService.class);
        assertThat(customCommsService, is(notNullValue()));
        
        LinkLayer testLinkLayer = customCommsService.getLinkLayer(testLinkName);
        assertThat(testLinkLayer, is(notNullValue()));
        
        assertThat(testLinkLayer.isActivated(), is(true));

        assertThat(testLinkLayer.getConfig().activateOnStartup(), is(true));
        assertThat(testLinkLayer.getConfig().retries(), is(3));
        assertThat(testLinkLayer.getConfig().readTimeoutMs(), is(1000));
        assertThat(testLinkLayer.getConfig().physicalLinkName(), is("xmlConfigPhysicalLink"));
    }
/*
     * Tests that a Link Layer can be configured correctly from the configs.xml.
     */
Tests that a Link Layer can be configured correctly from the configs.xml.
Tests that a Link Layer can be configured correctly from the configs . xml .
@Test
    public final void testLinkLayerConfiguration()
    {
        String testLinkName = "xmlConfigLinkLayer";
        CustomCommsService customCommsService = IntegrationTestRunner.getService(CustomCommsService.class);
        assertThat(customCommsService, is(notNullValue()));
        LinkLayer testLinkLayer = customCommsService.getLinkLayer(testLinkName);
        assertThat(testLinkLayer, is(notNullValue()));
        assertThat(testLinkLayer.isActivated(), is(true));
        assertThat(testLinkLayer.getConfig().activateOnStartup(), is(true));
        assertThat(testLinkLayer.getConfig().retries(), is(3));
        assertThat(testLinkLayer.getConfig().readTimeoutMs(), is(1000));
        assertThat(testLinkLayer.getConfig().physicalLinkName(), is("xmlConfigPhysicalLink"));
    }
@ Test public final void testLinkLayerConfiguration ( ) { String testLinkName = "xmlConfigLinkLayer" ; CustomCommsService customCommsService = IntegrationTestRunner . getService ( CustomCommsService . class ) ; assertThat ( customCommsService , is ( notNullValue ( ) ) ) ; LinkLayer testLinkLayer = customCommsService . getLinkLayer ( testLinkName ) ; assertThat ( testLinkLayer , is ( notNullValue ( ) ) ) ; assertThat ( testLinkLayer . isActivated ( ) , is ( true ) ) ; assertThat ( testLinkLayer . getConfig ( ) . activateOnStartup ( ) , is ( true ) ) ; assertThat ( testLinkLayer . getConfig ( ) . retries ( ) , is ( 3 ) ) ; assertThat ( testLinkLayer . getConfig ( ) . readTimeoutMs ( ) , is ( 1000 ) ) ; assertThat ( testLinkLayer . getConfig ( ) . physicalLinkName ( ) , is ( "xmlConfigPhysicalLink" ) ) ; }
Tests that a Link Layer can be configured correctly from the configs.xml.
Tests that a Link Layer can be configured correctly from the configs . xml .