mil.dod.th.ose.remote.integration/src/mil/dod/th/ose/remote/integration/namespace/TestMissionProgrammingNamespace.java
@Test
    public void testLoadParameters() throws UnknownHostException, IOException, InterruptedException
    {
        //load the test template
        loadProtoTestTemplate();
        
        m_MissionName = "nameroooo";
        
        //create mission program parameters
        MissionProgramParametersGen.MissionProgramSchedule schedule = MissionProgramParametersGen.
            MissionProgramSchedule.newBuilder().setActive(true).setImmediately(false).
            setIndefiniteInterval(true).build();
        MissionProgramParametersGen.MissionProgramParameters params =  MissionProgramParametersGen.
            MissionProgramParameters.newBuilder().setTemplateName("TEST_TEMPLATE_REMOTE").setSchedule(schedule).
                setProgramName(m_MissionName).build();
        MissionProgramNamespaceUtils.loadParameters(m_Socket, params);
    }
/**
     * Test sending and receiving a response for a load parameters request.
     */
Test sending and receiving a response for a load parameters request.
Test sending and receiving a response for a load parameters request .
@Test
    public void testLoadParameters() throws UnknownHostException, IOException, InterruptedException
    {
        loadProtoTestTemplate();
        m_MissionName = "nameroooo";
        MissionProgramParametersGen.MissionProgramSchedule schedule = MissionProgramParametersGen.
            MissionProgramSchedule.newBuilder().setActive(true).setImmediately(false).
            setIndefiniteInterval(true).build();
        MissionProgramParametersGen.MissionProgramParameters params =  MissionProgramParametersGen.
            MissionProgramParameters.newBuilder().setTemplateName("TEST_TEMPLATE_REMOTE").setSchedule(schedule).
                setProgramName(m_MissionName).build();
        MissionProgramNamespaceUtils.loadParameters(m_Socket, params);
    }
@ Test public void testLoadParameters ( ) throws UnknownHostException , IOException , InterruptedException { loadProtoTestTemplate ( ) ; m_MissionName = "nameroooo" ; MissionProgramParametersGen . MissionProgramSchedule schedule = MissionProgramParametersGen . MissionProgramSchedule . newBuilder ( ) . setActive ( true ) . setImmediately ( false ) . setIndefiniteInterval ( true ) . build ( ) ; MissionProgramParametersGen . MissionProgramParameters params = MissionProgramParametersGen . MissionProgramParameters . newBuilder ( ) . setTemplateName ( "TEST_TEMPLATE_REMOTE" ) . setSchedule ( schedule ) . setProgramName ( m_MissionName ) . build ( ) ; MissionProgramNamespaceUtils . loadParameters ( m_Socket , params ) ; }
Test sending and receiving a response for a load parameters request.
Test sending and receiving a response for a load parameters request .
//load the test template //create mission program parameters