File: component_type.skeleton

package info (click to toggle)
eclipse-titan 6.1.0-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 79,084 kB
  • ctags: 29,092
  • sloc: cpp: 210,764; ansic: 44,862; yacc: 21,034; sh: 12,594; makefile: 12,225; lex: 8,972; xml: 5,348; java: 4,849; perl: 3,780; python: 2,834; php: 175
file content (30 lines) | stat: -rw-r--r-- 875 bytes parent folder | download | duplicates (3)
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;