mil.dod.th.ose.core/src/mil/dod/th/ose/core/impl/mp/ProgramImpl.java
private void isTestExecuteReady() throws IllegalStateException
    {
        //check that the template supports a test function
        if (!m_MissionTemplate.isSupportTestExecution())
        {
            throw new UnsupportedOperationException(String.format(
                "The mission [%s] does not have a test function!", getProgramName()));
        }
        
        if (getProgramStatus() == ProgramStatus.SCHEDULED)
        {
            //if scheduled than the mission is execute ready no need to check
            return;
        }
        else
        {
            isExecuteReady();
        }
    }
/**
     * Check that the program is ready to test execute.
     * @throws IllegalStateException
     *     if the program's dependencies are not fulfilled when the request was made
     */
Check that the program is ready to test execute.
@throws IllegalStateException
if the program's dependencies are not fulfilled when the request was made
Check that the program is ready to test execute . @throws IllegalStateException if the program ' s dependencies are not fulfilled when the request was made
private void isTestExecuteReady() throws IllegalStateException
    {
        if (!m_MissionTemplate.isSupportTestExecution())
        {
            throw new UnsupportedOperationException(String.format(
                "The mission [%s] does not have a test function!", getProgramName()));
        }
        if (getProgramStatus() == ProgramStatus.SCHEDULED)
        {
            return;
        }
        else
        {
            isExecuteReady();
        }
    }
private void isTestExecuteReady ( ) throws IllegalStateException { if ( ! m_MissionTemplate . isSupportTestExecution ( ) ) { throw new UnsupportedOperationException ( String . format ( "The mission [%s] does not have a test function!" , getProgramName ( ) ) ) ; } if ( getProgramStatus ( ) == ProgramStatus . SCHEDULED ) { return ; } else { isExecuteReady ( ) ; } }
Check that the program is ready to test execute.
Check that the program is ready to test execute .
//check that the template supports a test function //if scheduled than the mission is execute ready no need to check