Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TTCN-3 Libraries
LibIts
Commits
382d54ca
Commit
382d54ca
authored
Dec 02, 2020
by
Yann Garcia
Browse files
Merging Titan/TTwb branches
parent
b9f7e1c8
Changes
15
Hide whitespace changes
Inline
Side-by-side
ttcn/CAM/LibItsCam_Templates.ttcn
View file @
382d54ca
...
...
@@ -39,7 +39,7 @@ module LibItsCam_Templates {
in
template
(
present
)
CAM
p_camMsg
)
:=
{
msgIn
:=
p_camMsg
,
recvTime
:=
*
,
recvTime
:=
?
,
gnNextHeader
:=
*
,
gnHeaderType
:=
*
,
gnHeaderSubtype
:=
*
,
...
...
ttcn/CAM/LibItsCam_TestSystem.ttcn
View file @
382d54ca
...
...
@@ -126,7 +126,7 @@ module LibItsCam_TestSystem language "TTCN-3:2010 Real Time and Performance Test
*/
type
record
CamInd
{
CAM
msgIn
,
UInt64
recvTime
optional
,
UInt64
recvTime
,
UInt8
gnNextHeader
optional
,
UInt8
gnHeaderType
optional
,
UInt8
gnHeaderSubtype
optional
,
...
...
ttcn/DENM/LibItsDenm_Templates.ttcn
View file @
382d54ca
...
...
@@ -64,7 +64,7 @@ module LibItsDenm_Templates {
template
(
present
)
DENM
p_denMsg
)
:=
{
msgIn
:=
p_denMsg
,
recvTime
:=
*
,
recvTime
:=
?
,
gnNextHeader
:=
*
,
gnHeaderType
:=
*
,
gnHeaderSubtype
:=
*
,
...
...
ttcn/DENM/LibItsDenm_TestSystem.ttcn
View file @
382d54ca
...
...
@@ -130,7 +130,7 @@ module LibItsDenm_TestSystem {
*/
type
record
DenmInd
{
DENM
msgIn
,
UInt64
recvTime
optional
,
UInt64
recvTime
,
UInt8
gnNextHeader
optional
,
UInt8
gnHeaderType
optional
,
UInt8
gnHeaderSubtype
optional
,
...
...
ttcn/DENM/LibItsDenm_TypesAndValues.ttcn
View file @
382d54ca
...
...
@@ -9,7 +9,6 @@ module LibItsDenm_TypesAndValues {
//LibCommon
import
from
LibCommon_BasicTypesAndValues
all
;
import
from
LibCommon_DataStrings
all
;
// LibIts
import
from
DENM_PDU_Descriptions
language
"ASN.1:1997"
all
;
...
...
ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn
View file @
382d54ca
...
...
@@ -185,7 +185,7 @@ module LibItsGeoNetworking_Functions {
f_initialiseComponent
(
v_positionTable
,
v_areaTable
,
c_compNodeB
);
}
// End of
group
f_cf01Up
}
// End of
function
f_cf01Up
function
f_cf01Down
()
runs
on
ItsGeoNetworking
system
ItsGeoNetworkingSystem
{
...
...
@@ -270,7 +270,7 @@ module LibItsGeoNetworking_Functions {
}
}
}
// End of
group
f_cf02Up
}
// End of
function
f_cf02Up
/**
* @desc Deletes configuration cf02
...
...
@@ -293,7 +293,7 @@ module LibItsGeoNetworking_Functions {
unmap
(
self
:
utPort
,
system
:
utPort
);
disconnect
(
self
:
syncPort
,
mtc
:
syncPort
);
}
// End of
group
f_cf02Down
}
// End of
function
f_cf02Down
/**
* @desc This configuration features:
...
...
@@ -364,7 +364,7 @@ module LibItsGeoNetworking_Functions {
}
}
}
// End of
group
f_cf03Up
}
// End of
function
f_cf03Up
/**
* @desc Deletes configuration cf03
...
...
@@ -387,7 +387,7 @@ module LibItsGeoNetworking_Functions {
unmap
(
self
:
utPort
,
system
:
utPort
);
disconnect
(
self
:
syncPort
,
mtc
:
syncPort
);
}
// End of
group
f_cf03Down
}
// End of
function
f_cf03Down
/**
* @desc This configuration features:
...
...
@@ -460,7 +460,7 @@ module LibItsGeoNetworking_Functions {
}
}
}
// End of
group
f_cf04Up
}
// End of
function
f_cf04Up
/**
* @desc Deletes configuration cf04
...
...
@@ -483,7 +483,7 @@ module LibItsGeoNetworking_Functions {
unmap
(
self
:
utPort
,
system
:
utPort
);
disconnect
(
self
:
syncPort
,
mtc
:
syncPort
);
}
// End of
group
f_cf04Down
}
// End of
function
f_cf04Down
/**
* @desc This configuration features:
...
...
@@ -574,7 +574,7 @@ module LibItsGeoNetworking_Functions {
unmap
(
self
:
utPort
,
system
:
utPort
);
disconnect
(
self
:
syncPort
,
mtc
:
syncPort
);
}
// End of
group
f_cf05Down
}
// End of
function
f_cf05Down
/**
* @desc This configuration features:
...
...
@@ -666,7 +666,7 @@ module LibItsGeoNetworking_Functions {
unmap
(
self
:
utPort
,
system
:
utPort
);
disconnect
(
self
:
syncPort
,
mtc
:
syncPort
);
}
// End of
group
f_cf06Down
}
// End of
function
f_cf06Down
/**
* @desc This configuration features:
...
...
@@ -757,7 +757,7 @@ module LibItsGeoNetworking_Functions {
unmap
(
self
:
utPort
,
system
:
utPort
);
disconnect
(
self
:
syncPort
,
mtc
:
syncPort
);
}
// End of
group
f_cf07Down
}
// End of
function
f_cf07Down
/**
* @desc Behavior function for initializing component's variables and tables
...
...
ttcn/IVIM/LibItsIvim_Templates.ttcn
View file @
382d54ca
...
...
@@ -59,7 +59,7 @@ module LibItsIvim_Templates {
template
(
present
)
IVIM
p_iviMsg
:=
?
)
:=
{
msgIn
:=
p_iviMsg
,
recvTime
:=
*
,
recvTime
:=
?
,
gnNextHeader
:=
*
,
gnHeaderType
:=
*
,
gnHeaderSubtype
:=
*
,
...
...
ttcn/IVIM/LibItsIvim_TestSystem.ttcn
View file @
382d54ca
...
...
@@ -126,7 +126,7 @@ module LibItsIvim_TestSystem {
*/
type
record
IvimInd
{
IVIM
msgIn
,
UInt64
recvTime
optional
,
UInt64
recvTime
,
UInt8
gnNextHeader
optional
,
UInt8
gnHeaderType
optional
,
UInt8
gnHeaderSubtype
optional
,
...
...
ttcn/MapemSpatem/LibItsMapemSpatem_Templates.ttcn
View file @
382d54ca
...
...
@@ -54,7 +54,7 @@ module LibItsMapemSpatem_Templates {
template
(
present
)
MAPEM
p_mapemMsg
)
:=
{
msgIn
:=
p_mapemMsg
,
recvTime
:=
*
,
recvTime
:=
?
,
gnNextHeader
:=
*
,
gnHeaderType
:=
*
,
gnHeaderSubtype
:=
*
,
...
...
@@ -138,7 +138,7 @@ module LibItsMapemSpatem_Templates {
template
(
present
)
SPATEM
p_spatemMsg
)
:=
{
msgIn
:=
p_spatemMsg
,
recvTime
:=
*
,
recvTime
:=
?
,
gnNextHeader
:=
*
,
gnHeaderType
:=
*
,
gnHeaderSubtype
:=
*
,
...
...
ttcn/MapemSpatem/LibItsMapemSpatem_TestSystem.ttcn
View file @
382d54ca
...
...
@@ -104,7 +104,7 @@ module LibItsMapemSpatem_TestSystem {
type
record
MapemInd
{
MAPEM
msgIn
,
UInt64
recvTime
optional
,
UInt64
recvTime
,
UInt8
gnNextHeader
optional
,
UInt8
gnHeaderType
optional
,
UInt8
gnHeaderSubtype
optional
,
...
...
@@ -121,7 +121,7 @@ module LibItsMapemSpatem_TestSystem {
type
record
SpatemInd
{
SPATEM
msgIn
,
UInt64
recvTime
optional
,
UInt64
recvTime
,
UInt8
gnNextHeader
optional
,
UInt8
gnHeaderType
optional
,
UInt8
gnHeaderSubtype
optional
,
...
...
ttcn/Rtcmem/LibItsRtcmem_Templates.ttcn
View file @
382d54ca
...
...
@@ -40,7 +40,7 @@ module LibItsRtcmem_Templates {
template
(
present
)
RTCMEM
p_rtcmemMsg
)
:=
{
msgIn
:=
p_rtcmemMsg
,
recvTime
:=
*
,
recvTime
:=
?
,
gnNextHeader
:=
*
,
gnHeaderType
:=
*
,
gnHeaderSubtype
:=
*
,
...
...
ttcn/Rtcmem/LibItsRtcmem_TestSystem.ttcn
View file @
382d54ca
...
...
@@ -92,7 +92,7 @@ module LibItsRtcmem_TestSystem {
type
record
RtcmemInd
{
RTCMEM
msgIn
,
UInt64
recvTime
optional
,
UInt64
recvTime
,
UInt8
gnNextHeader
optional
,
UInt8
gnHeaderType
optional
,
UInt8
gnHeaderSubtype
optional
,
...
...
ttcn/SremSsem/LibItsSremSsem_Functions.ttcn
View file @
382d54ca
...
...
@@ -424,6 +424,39 @@ module LibItsSremSsem_Functions {
}
}
/**
* @desc Awaits a SREM and returns it
* @param p_rcvMsg The expected message to be received.
*/
function
f_awaitSreMessageCancellation
(
template
(
present
)
RequestID
p_requestID
:=
?
)
runs
on
ItsSremSsem
{
tc_ac
.
start
;
alt
{
[]
sremSsemPort
.
receive
(
mw_sremInd
(
mw_sremPdu
(
mw_sremWellFormatted
(
mw_requestorDescription
,
{
mw_signalRequestPackage
(
mw_signalRequest
(
?
,
p_requestID
,
priorityCancellation
))
},
?
))))
{
tc_ac
.
stop
;
}
[]
tc_ac
.
timeout
{
log
(
"*** "
&
testcasename
()
&
": INFO: Timeout while awaiting the reception of a message ***"
);
f_selfOrClientSyncAndVerdict
(
"error"
,
e_timeout
);
}
}
}
}
// End of group receiveFunctions
group
miscellaneousFunctions
{
...
...
ttcn/SremSsem/LibItsSremSsem_Templates.ttcn
View file @
382d54ca
...
...
@@ -53,7 +53,7 @@ module LibItsSremSsem_Templates {
template
(
present
)
SREM
p_sremMsg
)
:=
{
msgIn
:=
p_sremMsg
,
recvTime
:=
*
,
recvTime
:=
?
,
gnNextHeader
:=
*
,
gnHeaderType
:=
*
,
gnHeaderSubtype
:=
*
,
...
...
@@ -137,7 +137,7 @@ module LibItsSremSsem_Templates {
template
(
present
)
SSEM
p_ssemMsg
:=
?
)
:=
{
msgIn
:=
p_ssemMsg
,
recvTime
:=
*
,
recvTime
:=
?
,
gnNextHeader
:=
*
,
gnHeaderType
:=
*
,
gnHeaderSubtype
:=
*
,
...
...
ttcn/SremSsem/LibItsSremSsem_TestSystem.ttcn
View file @
382d54ca
...
...
@@ -104,7 +104,7 @@ module LibItsSremSsem_TestSystem {
type
record
SremInd
{
SREM
msgIn
,
UInt64
recvTime
optional
,
UInt64
recvTime
,
UInt8
gnNextHeader
optional
,
UInt8
gnHeaderType
optional
,
UInt8
gnHeaderSubtype
optional
,
...
...
@@ -123,7 +123,7 @@ module LibItsSremSsem_TestSystem {
type
record
SsemInd
{
SSEM
msgIn
,
UInt64
recvTime
optional
,
UInt64
recvTime
,
UInt8
gnNextHeader
optional
,
UInt8
gnHeaderType
optional
,
UInt8
gnHeaderSubtype
optional
,
...
...
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