mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/observation/TestViewObsMgrImpl.java
private Observation buildTestObsLowRes()
    {
        final Observation obs = new Observation();
        obs.setAssetUuid(UUID.randomUUID());
        obs.setAssetName("bob");
        obs.setUuid(UUID.randomUUID());
        final ImageMetadata imgMeta = new ImageMetadata();
        final PixelResolution resolution = new PixelResolution(200, 100);
        imgMeta.setResolution(resolution);
        obs.setImageMetadata(imgMeta);
        final DigitalMedia media = new DigitalMedia(m_Data, m_Encoding);
        obs.setDigitalMedia(media);
        
        return obs;
    }
/**
     * Method used to create an fake observation which can be used to test the various methods. This observation has
     * image meta data with a resolution less than that of the max that is allowed to be displayed.
     * 
     * @return
     *          An observation with fake data.
     */
Method used to create an fake observation which can be used to test the various methods. This observation has
image meta data with a resolution less than that of the max that is allowed to be displayed.

@return
An observation with fake data.
Method used to create an fake observation which can be used to test the various methods . This observation has image meta data with a resolution less than that of the max that is allowed to be displayed . @return An observation with fake data .
private Observation buildTestObsLowRes()
    {
        final Observation obs = new Observation();
        obs.setAssetUuid(UUID.randomUUID());
        obs.setAssetName("bob");
        obs.setUuid(UUID.randomUUID());
        final ImageMetadata imgMeta = new ImageMetadata();
        final PixelResolution resolution = new PixelResolution(200, 100);
        imgMeta.setResolution(resolution);
        obs.setImageMetadata(imgMeta);
        final DigitalMedia media = new DigitalMedia(m_Data, m_Encoding);
        obs.setDigitalMedia(media);
        return obs;
    }
private Observation buildTestObsLowRes ( ) { final Observation obs = new Observation ( ) ; obs . setAssetUuid ( UUID . randomUUID ( ) ) ; obs . setAssetName ( "bob" ) ; obs . setUuid ( UUID . randomUUID ( ) ) ; final ImageMetadata imgMeta = new ImageMetadata ( ) ; final PixelResolution resolution = new PixelResolution ( 200 , 100 ) ; imgMeta . setResolution ( resolution ) ; obs . setImageMetadata ( imgMeta ) ; final DigitalMedia media = new DigitalMedia ( m_Data , m_Encoding ) ; obs . setDigitalMedia ( media ) ; return obs ; }
Method used to create an fake observation which can be used to test the various methods.
Method used to create an fake observation which can be used to test the various methods .