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
7f63cabb
Commit
7f63cabb
authored
Sep 27, 2017
by
garciay
Browse files
UpperTester/CAM validation
parent
c6f9f3d3
Changes
3
Hide whitespace changes
Inline
Side-by-side
ttcn/CAM/LibItsCam_EncdecDeclarations.ttcn
View file @
7f63cabb
...
...
@@ -4,6 +4,7 @@ module LibItsCam_EncdecDeclarations {
import
from
CAM_PDU_Descriptions
language
"ASN.1:1997"
all
;
// LibItsCam
import
from
LibItsCam_TypesAndValues
all
;
import
from
LibItsCam_TestSystem
all
;
external
function
fx_enc_CamReq
(
CamReq
p
)
return
bitstring
...
...
@@ -23,5 +24,21 @@ module LibItsCam_EncdecDeclarations {
/*
external function fx_enc_CAM (CAM p) return octetstring
with {extension "prototype(convert) encode(BER:BER_ENCODE_CER)"}
*/
*/
external
function
fx_enc_UtCamInitialize
(
UtCamInitialize
p
)
return
bitstring
with
{
extension
"prototype(convert) encode(UpperTester)"
}
external
function
fx_enc_UtCamChangePosition
(
UtCamChangePosition
p
)
return
bitstring
with
{
extension
"prototype(convert) encode(UpperTester)"
}
external
function
fx_enc_UtCamTrigger
(
UtCamTrigger
p
)
return
bitstring
with
{
extension
"prototype(convert) encode(UpperTester)"
}
external
function
fx_dec_UtCamResults
(
inout
bitstring
b
,
out
UtCamResults
p
)
return
integer
with
{
extension
"prototype(sliding) decode(UpperTester)"
}
external
function
fx_dec_UtCamEventInd
(
inout
bitstring
b
,
out
UtCamEventInd
p
)
return
integer
with
{
extension
"prototype(sliding) decode(UpperTester)"
}
}
// End of module LibItsCam_EncdecDeclarations
ttcn/CAM/LibItsCam_TypesAndValues.ttcn
View file @
7f63cabb
...
...
@@ -164,7 +164,7 @@ module LibItsCam_TypesAndValues {
* @desc Upper Tester message to check event/status on CAM IUT
*/
type
record
UtCamEventInd
{
CAM
camMsg
CAM
camMsg
// TODO Rename into caMsg to be compliant with UtDenmEventInd
}
with
{
encode
(
camMsg
)
"LibItsCam_asn1"
}
...
...
ttcn/DENM/LibItsDenm_EncdecDeclarations.ttcn
View file @
7f63cabb
module
LibItsDenm_EncdecDeclarations
{
// LibIts
import
from
LibItsDenm_TypesAndValues
all
;
// LibItsDenm
import
from
LibItsDenm_TestSystem
all
;
import
from
DENM_PDU_Descriptions
language
"ASN.1:1997"
all
;
...
...
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