|
// TTCN-3
// TUTORIAL
// USAGE
// INTERFACES
// DOWNLOAD
// ABOUT
USAGE// TOOLS // TTCN-3 EXPRESS // TTCN-3 STUDIO // C# EXAMPLE // JAVA EXAMPLETTCN-3 EXPRESSUse the commandttxpto compile and exececute TTCN-3 modules from the command line (the command is in directory ttcn-3, which you should include into your path). Compiling TTCN-3 modulesTo compile a TTCN-3 module MyModule (in file MyModule.ttcn3) usettxp /compile MyModule Compiling adapters and codecsTo process adapters and codecs use the compiler for their implementation language: compile them into one or more (arbitraryly named) dlls; these must be present in the actual directory when running the TTCN-3 module.When compiling adapters and codecs you have to provide a reference to the standard library which defines the TRI and TCI interfaces: this is named etsi.dll and located in the distrubution directory.
For example, to compile MyAdapter.cs and MyCodec.cs
written in C# use
Running TTCN-3 modulesTo execute the control part of module MyModule usettxp /run MyModule
To execute the a particular test case MyTestCase of module MyModule use
ExamplesExample with adapter and codec in C#Example with adapter and codec in Java |