mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/observation/TestViewObsMgrImpl.java
@Test
    public void testNoResObsDisplay() throws IOException
    {        
        //Test observation with an image that has no resolution metadata.
        Observation obs = buildTestObsNoRes();
        m_SUT.setObservation(obs);
        
        //Verify that the image is not scaled since it's height and width are less than the max allowed.
        assertThat(m_SUT.getHeight(), is(108));
        assertThat(m_SUT.getWidth(), is(192));
    }
/**
     * Test that an observation with an image that has no resolution is allowed to be displayed.
     */
Test that an observation with an image that has no resolution is allowed to be displayed.
Test that an observation with an image that has no resolution is allowed to be displayed .
@Test
    public void testNoResObsDisplay() throws IOException
    {        
        Observation obs = buildTestObsNoRes();
        m_SUT.setObservation(obs);
        assertThat(m_SUT.getHeight(), is(108));
        assertThat(m_SUT.getWidth(), is(192));
    }
@ Test public void testNoResObsDisplay ( ) throws IOException { Observation obs = buildTestObsNoRes ( ) ; m_SUT . setObservation ( obs ) ; assertThat ( m_SUT . getHeight ( ) , is ( 108 ) ) ; assertThat ( m_SUT . getWidth ( ) , is ( 192 ) ) ; }
Test that an observation with an image that has no resolution is allowed to be displayed.
Test that an observation with an image that has no resolution is allowed to be displayed .
//Test observation with an image that has no resolution metadata. //Verify that the image is not scaled since it's height and width are less than the max allowed.