mil.dod.th.ose.core.integration/src/mil/dod/th/ose/core/integration/TestLinkLayer.java
public final void testPerformBitEvent() throws CCommException, InterruptedException
    {
        final String linkName = "PerformBitEvent";
        createLinkLayer(linkName);
        
        EventHandlerSyncer syncer = new EventHandlerSyncer(m_Context, LinkLayer.TOPIC_STATUS_CHANGED, 
                String.format("(%s=%s)", FactoryDescriptor.EVENT_PROP_OBJ_NAME, linkName));
        
        //perform bit 
        LinkStatus status = m_LinkLayer.performBit();
        assertThat(status, is(LinkStatus.OK));
        syncer.waitForEvent(3);
    }
/**
     * Test asking a link layer to perform its BIT.
     * Verify that the status is returned, and the status changed event is posted.
     */
Test asking a link layer to perform its BIT.
Verify that the status is returned, and the status changed event is posted.
Test asking a link layer to perform its BIT . Verify that the status is returned and the status changed event is posted .
public final void testPerformBitEvent() throws CCommException, InterruptedException
    {
        final String linkName = "PerformBitEvent";
        createLinkLayer(linkName);
        EventHandlerSyncer syncer = new EventHandlerSyncer(m_Context, LinkLayer.TOPIC_STATUS_CHANGED, 
                String.format("(%s=%s)", FactoryDescriptor.EVENT_PROP_OBJ_NAME, linkName));
        LinkStatus status = m_LinkLayer.performBit();
        assertThat(status, is(LinkStatus.OK));
        syncer.waitForEvent(3);
    }
public final void testPerformBitEvent ( ) throws CCommException , InterruptedException { final String linkName = "PerformBitEvent" ; createLinkLayer ( linkName ) ; EventHandlerSyncer syncer = new EventHandlerSyncer ( m_Context , LinkLayer . TOPIC_STATUS_CHANGED , String . format ( "(%s=%s)" , FactoryDescriptor . EVENT_PROP_OBJ_NAME , linkName ) ) ; LinkStatus status = m_LinkLayer . performBit ( ) ; assertThat ( status , is ( LinkStatus . OK ) ) ; syncer . waitForEvent ( 3 ) ; }
Test asking a link layer to perform its BIT.
Test asking a link layer to perform its BIT .
//perform bit 