File: component_type.skeleton

package info (click to toggle)
eclipse-titan 8.2.0-1
  • links: PTS
  • area: main
  • in suites: bookworm, sid
  • size: 103,544 kB
  • sloc: cpp: 271,008; ansic: 33,683; yacc: 23,419; makefile: 15,483; lex: 9,204; java: 4,848; perl: 4,555; sh: 2,242; xml: 1,378; javascript: 85; awk: 48; php: 32; python: 13
file content (30 lines) | stat: -rw-r--r-- 875 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
type component <ComponentName>_CT {}

type component <ComponentName2>_CT
{
  const float c_<constantName> := 3.1415;
  var integer v_<varName1>;
  var integer v_<varName2> := 0;
  timer T_<TimerName>;
  port <MsgTestPortTypeName>_PT <COORDPORTNAME>; //as TTCN-2 CP
}

type component <ComponentName3>_CT
{
  const integer c_<constantName> := 3;
  var charstring v_<varName>;
  var <TypeId> v_<varName2>;
  var address v_<varName3> := <value of address type>;
  timer T_<TimerName> := tspx_<testSuiteParName>;
  port <MsgTestPortTypeName>_PT <PORTNAME1>, <PORTNAME2>;
  port <ProcTestPortTypeName>_PT <PORTNAME3>;
  port <MsgTestPortTypeName>_PT <COORDPORTNAME>; //as TTCN-2 CP
}

type component <SystemComponentName>_SCT
{
  port <MsgTestPortTypeName>_PT <PORTNAME1>, <PORTNAME2>;
  port <ProcTestPortTypeName>_PT <PORTNAME3>;
}

type <ComponentName4>_CT <ComponentName>_SCT;