edu.udayton.udri.asset.axis.integration/src/edu/udayton/udri/asset/axis/integration/TestAxis.java
public void testSetPanTilt() throws Exception
    {
        Asset asset = m_AssetDirectoryService.createAsset(PRODUCT_TYPE);
        assertThat(asset, is(notNullValue()));
        
        AssetUtils.activateAsset(m_Context, asset, 3);
        
        asset.executeCommand(new SetPanTiltCommand().withPanTilt(SpatialTypesFactory.newOrientationOffset(0, 0)));
    }
/**
     * Test that the set pan tilt command can be sent. Will not always get response if no asset, but should at least
     * allow command to be sent. 
     */
Test that the set pan tilt command can be sent. Will not always get response if no asset, but should at least
allow command to be sent.
Test that the set pan tilt command can be sent . Will not always get response if no asset but should at least allow command to be sent .
public void testSetPanTilt() throws Exception
    {
        Asset asset = m_AssetDirectoryService.createAsset(PRODUCT_TYPE);
        assertThat(asset, is(notNullValue()));
        AssetUtils.activateAsset(m_Context, asset, 3);
        asset.executeCommand(new SetPanTiltCommand().withPanTilt(SpatialTypesFactory.newOrientationOffset(0, 0)));
    }
public void testSetPanTilt ( ) throws Exception { Asset asset = m_AssetDirectoryService . createAsset ( PRODUCT_TYPE ) ; assertThat ( asset , is ( notNullValue ( ) ) ) ; AssetUtils . activateAsset ( m_Context , asset , 3 ) ; asset . executeCommand ( new SetPanTiltCommand ( ) . withPanTilt ( SpatialTypesFactory . newOrientationOffset ( 0 , 0 ) ) ) ; }
Test that the set pan tilt command can be sent.
Test that the set pan tilt command can be sent .