Test Case TC_310

This page describes one of the test cases of the EODiSP. The test case described in this page instantiates a nominal scenario of the use case UC_310.

This test case describes the steps required to generate an HLA wrapper for a simulation model implemented as a single Java class. The Java class is identical to the Java class implementing the orbit_propagator in the EarthCARE Simulator with one difference: the new simulation model has one extra input called offset.

Contents

Overview

Identifier TC_310
Name Generate Wrapper Code for Source Code
Primary Actor ETH_2 Model Owner
Description Describes the steps required to change the existing orbit_propagator federate. The change to be performed is to add an offset input parameter to the orbit_propagator.
Pre-Condition (1) The SOM for the orbit_propagator must be available. (2) The Java template class file for the orbit_propagator federate is available.
Post-Condition An orbit_propagator federate with the additional offset input parameter added. This federate could be integrated into the EarthCARE simulator.

Steps

  1. Actor adds the offset attribute to the orbit_propagator SOM file.
  2. Actor runs the HLA Wrapper Generator Application to create the HLA wrapper skeleton (see test case TC_320).
  3. System generates the Java classes.
  4. Actor opens the Orbit Propagator wrapper template file provided by the EODiSP. The template file is a Java class with comments. These comments are self-explanatory and show the actor where to insert custom code.