mil.dod.th.ose.core.integration/src/mil/dod/th/ose/core/integration/TestObservation.java
public void testObservationFilteringByObservationSubTypeEnum() throws InterruptedException, 
        IllegalArgumentException, PersistenceFailedException, ValidationFailedException
    {
        EventHandlerSyncer syncer = new EventHandlerSyncer(m_Context, ObservationStore.TOPIC_OBSERVATION_PERSISTED, 
                String.format("(%s=%s)", ObservationStore.EVENT_PROP_OBSERVATION_TYPE, 
                        ObservationSubTypeEnum.AUDIO_METADATA.toString()));
        
        m_PersistedObservation = createTestObservation();
        m_ObservationStore.persist(m_PersistedObservation);
        
        syncer.waitForEvent(5);
    }
/**
     * Verify that event filter works when filtering by observation type.
     */
Verify that event filter works when filtering by observation type.
Verify that event filter works when filtering by observation type .
public void testObservationFilteringByObservationSubTypeEnum() throws InterruptedException, 
        IllegalArgumentException, PersistenceFailedException, ValidationFailedException
    {
        EventHandlerSyncer syncer = new EventHandlerSyncer(m_Context, ObservationStore.TOPIC_OBSERVATION_PERSISTED, 
                String.format("(%s=%s)", ObservationStore.EVENT_PROP_OBSERVATION_TYPE, 
                        ObservationSubTypeEnum.AUDIO_METADATA.toString()));
        m_PersistedObservation = createTestObservation();
        m_ObservationStore.persist(m_PersistedObservation);
        syncer.waitForEvent(5);
    }
public void testObservationFilteringByObservationSubTypeEnum ( ) throws InterruptedException , IllegalArgumentException , PersistenceFailedException , ValidationFailedException { EventHandlerSyncer syncer = new EventHandlerSyncer ( m_Context , ObservationStore . TOPIC_OBSERVATION_PERSISTED , String . format ( "(%s=%s)" , ObservationStore . EVENT_PROP_OBSERVATION_TYPE , ObservationSubTypeEnum . AUDIO_METADATA . toString ( ) ) ) ; m_PersistedObservation = createTestObservation ( ) ; m_ObservationStore . persist ( m_PersistedObservation ) ; syncer . waitForEvent ( 5 ) ; }
Verify that event filter works when filtering by observation type.
Verify that event filter works when filtering by observation type .