source: branches/t3e-tools/t3d-examples/t3dtest/Examplemodule.ttcn @ 28

Last change on this file since 28 was 7, checked in by phdmakk, 15 years ago
  • Property svn:executable set to *
File size: 647 bytes
Line 
1 /*
2  * @author John Doe
3  * @desc This is an example of a module in ttcn-3
4  */
5 module Examplemodule {
6 const integer con1 :=1, con2:=2;
7 
8 
9 import from groupTest recursive all;
10 import from functionalityTest {group types};
11 import from undocumentedParameters all;
12 
13        group ExampleGroup {
14                /*
15                * @author John Doe
16                * @author Jane Doe
17                * @version v0.1.4
18                * @remark an embedded tag is used here, @see ExampleFunction
19                */
20                testcase ExampleTestcase() runs on Examplecomponent{
21                        // TTCN-3 testcase code
22                }
23        }
24        function ExampleFunction (in charstring par1, out charstring par2)
25        return boolean {
26                // TTCN-3 function code
27        }
28 }
Note: See TracBrowser for help on using the repository browser.