mirror of
https://github.com/nasa/trick.git
synced 2024-12-19 13:17:55 +00:00
9ddc786ace
Moved most of the rest of the sims to test. refs #191
39 lines
912 B
Plaintext
39 lines
912 B
Plaintext
/**************************TRICK HEADER***********************
|
|
PURPOSE: ( S_define )
|
|
LIBRARY DEPENDENCIES:
|
|
(
|
|
(varserv/src/VS.cpp)
|
|
(varserv/src/VS_init.cpp)
|
|
(varserv/src/VS_default_data.cpp)
|
|
(varserv/src/VS_commands.cpp)
|
|
(varserv/src/VS_tests.cpp)
|
|
(varserv/src/VS_shutdown.cpp)
|
|
)
|
|
*************************************************************/
|
|
|
|
#include "sim_objects/default_trick_sys.sm"
|
|
|
|
##include "varserv/include/VS.hh"
|
|
|
|
class testSimObject : public Trick::SimObject {
|
|
public:
|
|
VSTest vst;
|
|
|
|
testSimObject() {
|
|
("default_data") vst.default_vars();
|
|
("initialization") vst.init();
|
|
("initialization") vst.testAddRemove();
|
|
("initialization") vst.testExists();
|
|
("initialization") vst.testPause();
|
|
("initialization") vst.testOther();
|
|
//(1.0, "scheduled") trick_ret = vst.testing();
|
|
|
|
("shutdown") vst.shutdown();
|
|
}
|
|
};
|
|
|
|
// Instantiations
|
|
testSimObject vsx;
|
|
|
|
|