Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MTS - Methods for Testing and Specification
TTCN-3_Compiler_Tests
TTCN3_PART1
Commits
1bdd1cd0
Commit
1bdd1cd0
authored
Sep 25, 2015
by
stancakapost
Browse files
fixed testcases to server their intended purpose
parent
2f9a8c04
Changes
2
Hide whitespace changes
Inline
Side-by-side
ATS/09_test_configurations/0901_communication_ports/NegSem_0901_Communication_ports_004.ttcn
View file @
1bdd1cd0
...
...
@@ -33,7 +33,7 @@ module NegSem_0901_Communication_ports_004 {
//create a test component
var
GeneralComp
v_ptc
:=
GeneralComp
.
create
;
connect
(
self
:
p1
,
v_ptc
:
p1
);
map
(
self
:
p
2
,
system
:
p1
);
// error: v_ptc.p1 is already mapped to SystemComp.p1
map
(
self
:
p
1
,
system
:
p1
);
// error: v_ptc.p1 is already mapped to SystemComp.p1
setverdict
(
pass
);
}
...
...
ATS/09_test_configurations/0901_communication_ports/NegSem_0901_Communication_ports_007.ttcn
View file @
1bdd1cd0
...
...
@@ -20,8 +20,8 @@ module NegSem_0901_Communication_ports_007 {
}
testcase
TC_NegSem_0901_Communication_ports_007
()
runs
on
GeneralComp
system
GeneralComp
{
map
(
s
elf
:
p2
,
system
:
p1
);
// error: p1 and p2 cannot be connected
var
GeneralComp
s
:=
system
;
map
(
s
:
p2
,
system
:
p1
);
// error: p1 and p2 cannot be connected
setverdict
(
pass
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment