Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LibIts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TTCN-3 Libraries
LibIts
Commits
d947a0a7
Commit
d947a0a7
authored
14 years ago
by
berge
Browse files
Options
Downloads
Patches
Plain Diff
Added GeoNetworking files
parent
ea26a5e8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn
+48
-0
48 additions, 0 deletions
ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn
ttcn/GeoNetworking/LibItsGeoNetworking_Templates.ttcn
+13
-0
13 additions, 0 deletions
ttcn/GeoNetworking/LibItsGeoNetworking_Templates.ttcn
with
61 additions
and
0 deletions
ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn
0 → 100644
+
48
−
0
View file @
d947a0a7
/**
* @author ETSI / STF405
* @version $URL$
* $Id$
* @desc Module containing functions for GeoNetworking
*
*/
module
LibItsGeoNetworking_Functions
{
// LibIts
import
from
LibIts_TestSystem
all
;
import
from
LibIts_Interface
all
;
/**
* @desc Create Facility component and connects GeoNetworking port
* @param p_ptcDenm returned Facility component variable
*/
function
f_cfGeoNetworkingUp
(
out
PtcNt
p_ptcGeoNetworking
)
{
// Create Facility component
p_ptcGeoNetworking
:=
PtcNt
.
create
(
"GeoNetworking Tester"
);
// map ports
map
(
p_ptcGeoNetworking
:
geoNetworkingPort
,
system
:
geoNetworkingPort
);
}
// end f_cfGeoNetworkingUp
/**
* @desc Wait for component to finish and unmap GeoNetworking ports
* @param p_camPtc Facility component variable
*/
function
f_cfGeoNetworkingDown
(
in
PtcNt
p_ptcGeoNetworking
)
runs
on
ItsMtc
{
tc_guard
.
start
;
alt
{
[]
p_ptcGeoNetworking
.
done
{
tc_guard
.
stop
;
}
[]
tc_guard
.
timeout
{
log
(
"*** f_cfGeoNetworkingDown: ERROR: Timeout while waiting for component ***"
);
setverdict
(
inconc
);
}
}
unmap
(
p_ptcGeoNetworking
:
geoNetworkingPort
);
}
// end f_cfGeoNetworkingDown
}
// end LibItsGeoNetworking_Functions
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ttcn/GeoNetworking/LibItsGeoNetworking_Templates.ttcn
0 → 100644
+
13
−
0
View file @
d947a0a7
/**
* @author ETSI / STF405
* @version $URL$
* $Id$
* @desc GeoNetworking Templates
*
*/
module
ItsGeoNetworking_Templates
{
}
// end ItsGeoNetworking_Templates
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment