TCI/TRI Quick Reference Card - TTCN-3 Reference Card

0 downloads 194 Views 954KB Size Report
[13] ES 202 782 (2015-06) TTCN-3 Language Extensions (version 1.3.1): TTCN-3 Performance and Real Time Testing. [ITU-T Z
1 of 8 11/07/2017 TRI/TCI Quick Reference Card (www.blukaktus.com), V0.15

TCI /TRI Quick Reference Card - PDF has links to TTCN-3 online Standards and browseable API -

For TTCN-3 edition 4.9.1 (2017). Designed and edited by Axel Rennoch and Claude Desroches

Contents TCI/TRI interface overview

2

1) TTCN-3 Control interface (CD) A.1 B.1

TCI-CD interface JAVA mapping

2 2

2) TTCN-3 Runtime interface A.2a A.2b B.2

triPlatform interface triCommunication interface JAVA mapping

4 4 5

3) TTCN-3 Logging interface (TLI) A.3 B.3

TCI-TL interface TCI-TL types (W3C XML mapping)

6 7

Document overview: [1] ES 201 873-1 (2017-05) TTCN-3 part 1 (edition 4.9.1): Core Language (CL) [2] ES 201 873-2 (2007-02) TTCN-3 part 2 (edition 3.2.1): Tabular Presentation format (TFT) (historical - not maintained!) [3] ES 201 873-3 (2007-02) TTCN-3 part 3 (edition 3.2.1): Graphical Presentation format (GFT) [4] ES 201 873-4 (2017-05) TTCN-3 part 4 (edition 4.6.1): Operational Semantics (OS) [5] ES 201 873-5 (2017-05) TTCN-3 part 5 (edition 4.8.1): TTCN-3 Runtime Interface (TRI) [6] ES 201 873-6 (2017-05) TTCN-3 part 6 (edition 4.9.1): TTCN-3 Control Interface (TCI) [7] ES 201 873-7 (2017-05) TTCN-3 part 7 (edition 4.6.1): Using ASN.1 with TTCN-3 [8] ES 201 873-8 (2015-06) TTCN-3 part 8 (edition 4.6.1): The IDL to TTCN-3 Mapping [9] ES 201 873-9 (2017-05) TTCN-3 part 9 (edition 4.8.1): Using XML schema with TTCN-3 [10] ES 201 873-10 (2013-04) TTCN-3 part 10 (edition 4.5.1): TTCN-3 Documentation Comment Specification [11] ES 201 873-11 (2017-06) TTCN-3 part 11 (edition 4.7.1): Using JSON with TTCN-3 NEW

[ITU-T Z.161] [ITU-T Z.162] [ITU-T Z.163] [ITU-T Z.164] [ITU-T Z.165] [ITU-T Z.166] [ITU-T Z.167] [ITU-T Z.168] [ITU-T Z.169] [ITU-T Z.170]

[12] ES 202 781 (2017-05) TTCN-3 Language Extensions (version 1.5.1): Configuration and Deployment Support [13] ES 202 782 (2015-06) TTCN-3 Language Extensions (version 1.3.1): TTCN-3 Performance and Real Time Testing [14] ES 202 784 (2017-04) TTCN-3 Language Extensions (version 1.6.1): Advanced Parameterization [15] ES 202 785 (2015-06) TTCN-3 Language Extensions (version 1.4.1): Behaviour Types [16] ES 202 786 (2017-05) TTCN-3 Language Extensions (version 1.4.1): Support of interfaces with continuous signals [17] ES 202 789 (2015-06) TTCN-3 Language Extensions (version 1.4.1): Extended TRI [18] ES 203 022 (2017-07) TTCN-3 Language Extensions (version 1.1.1): Advanced Matching NEW [19] TS 102 995 (2010-11) Proforma for TTCN-3 reference test suite (version 1.1.1)

[ITU-T Z.161.2] [ITU-T Z.161.5] [ITU-T Z.161.3] [ITU-T Z.161.4] [ITU-T Z.161.1] [ITU-T Z.165.1]

2 of 8 TRI/TCI Quick Reference Card (www.blukaktus.com), V0.15

11/07/2017

TCI / TRI interface overview

A.1

TCI-CD INTERFACE

RESULT Value TriMessageType TInteger

OPERATION decode encode decodeValue

TriMessageType Type Type Type Type Type Type Type Type Type Type void

encodeValue getTypeForName getInteger getFloat getBoolean getCharstring getUniversalCharstring getHexstring getBitstring getOctetstring getVerdict tciErrorReq

PARAMETERS (in TriMessageType message, in Type decodingHypothesis) (in Value value) (in TriMessageType message, in Type decodingHypothesis in TString encodingInfo, out Value decodedValue) (in Value value, in TString encodingInfo ) (in TString typeName) () () () () () () () () () (in TString message)

B.1

JAVA MAPPING (package org.etsi.ttcn.tci)

IDL

(java interface)

public interface Type

public interface Value

METHODS public TciModuleId getDefiningModule (); public String getName (); public int getTypeClass (); public Value newInstance (); public String getTypeEncoding (); public String getTypeEncodingVariant(); public String[] getEncodeAttributes(); public String[] getVariantAttributes (String encoding); public String[] getTypeExtension(); public Value parseValue (String val); public MatchingMechanism newTemplate (int matchingType); public RangeBoundary getLowerTypeBoundary(); public RangeBoundary getUpperTypeBoundary(); public LengthRestriction getTypeLengthRestriction(); public MatchingMechanism getTypeMatchingMechanism(); public Type getType() ; public boolean notPresent() ; public String getValueEncoding() ; public String getValueEncodingVariant(); public String[] getEncodeAttributes(); public String[] getVariantAttributes (String encoding); public boolean isMatchingSymbol() ; public String valueToString () ; public boolean isLazy(); public boolean isFuzzy(); public boolean isEvaluated(); public LengthRestriction getLengthRestriction (); public LengthRestriction newLengthRestriction (); public void setLengthRestriction (LengthRestriction restriction); public boolean isIfPresentEnabled (); public void setIfPresentEnabled (boolean enabled); public boolean isOptional();

NOTES

TCI-CD provided

TCI-CD required

NOTES

§ [6] 7.3.2.2.1 7.3.2.2.2 7.3.2.2.3 7.3.2.2.4 7.3.2.1.1 7.3.2.1.2 7.3.2.1.3 7.3.2.1.4 7.3.2.1.6 7.3.2.1.7 7.3.2.1.8 7.3.2.1.9 7.3.2.1.10 7.3.2.1.11 7.3.2.1.12

§ [6] 8.3.3.1

NEW NEW

NEW NEW NEW NEW 8.3.4.1

NEW NEW

NEW

3 of 8

public interface IntegerValue

TRI/TCI Quick Reference Card (www.blukaktus.com), V0.15

11/07/2017

public interface FloatValue

public interface BooleanValue

public interface CharstringValue

public interface BitstringValue

public interface OctetstringValue

public interface UniversalCharstringValue

public interface HexstringValue

public interface RecordValue

public interface RecordOfValue

public interface UnionValue

public interface EnumeratedValue

public interface VerdictValue

public interface AddressValue TBoolean TFloat TInteger TString TStringSeq

public void setInteger(int value); public int getInteger(); public void setFloat(float value); public float getFloat(); public void setDouble(double value); public float getDoulbe(); public void setBigDecimal(BigDecimal value); public BigDecimal getBigDecimal(); public void setBoolean(boolean value); public boolean getBoolean(); String getString (); void setString (String value); char getChar (int position); void setChar (int position, char value); int getLength (); void setLength (int len); String getString (); void setString (String value); int getBit (int position); void setBit (int position, int value); int getLength (); void setLength (int len); boolean isMatchingAt (int position); MatchingMechanism getMatchingAt (int position); void setMatchingAt (int position, MatchingMechanism template); String getString (); void setString (String value); int getOctet (int position); void setOctet (int position, int value); int getLength (); void setLength (int len); boolean isMatchingAt (int position); MatchingMechanism getMatchingAt (int position); void setMatchingAt (int position, MatchingMechanism template); String getString (); void setString (String value); int getChar (int position); void setChar (int position, int value); int getLength (); void setLength (int len); String getString (); void setString (String value); int getHex (int position); void setHex (int position, int value); int getLength (); void setLength (int len); boolean isMatchingAt (int position); MatchingMechanism getMatchingAt (int position); void setMatchingAt (int position, MatchingMechanism template); public Value getField(String fieldName) ; public void setField(String fieldName, Value value) ; public String[] getFieldNames() ; public void setFieldOmitted(String fieldName); public Value getField(String fieldName) ; public void setField (int position, Value value) ; public void appendField (Value value) ; public Type getElementType() ; public int getLength() ; public void setLength(int len) ; public int getOffset() ; public int getPermutationCount (); public Permutation getPermutation (int index); public Permutation newPermutation (); public void definePermutation (Permutation permutation); public void removePermutation (int index); public void clearPermutations (); Value getVariant (String variantName); void setVariant (String variantName, Value value); String getPresentVariantName (); String[] getVariantNames (); String getEnum (); void setEnum (String enumValue); int getInt(); void setInt(int intValue); public static final int NONE = 0; public static final int PASS = 1; public static final int INCONC = 2; public static final int FAIL = 3; public static final int ERROR = 4; public int getVerdict() ; public void setVerdict(int verdict) ; public int getAddress() ; public void setAddress(Value value) ; boolean float int java.lang.String java.lang.String[]

8.3.4.2 8.3.4.3

8.3.4.4 8.3.4.5

8.3.4.6

8.3.4.7

8.3.4.8

8.3.4.9

8.3.4.10

8.3.4.11

8.3.4.12

8.3.4.13

8.3.4.14

8.3.4.15

Basic type mapping

8.3.1

TRI/TCI Quick Reference Card (www.blukaktus.com), V0.15

11/07/2017

4 of 8

A.2a triPlatform INTERFACE RESULT TriStatusType TriStatusType

OPERATION triPAReset triStartTimer

TriStatusType TriStatusType

triStopTimer triReadTimer

TriStatusType

triTimerRunning

void TriStatusType

triTimeout triExternalFunction

TriComponentId TriMessage void

triSelf triRnd triPAErrorReq

A.2b

PARAMETERS () (in TriTimerIdType timerId, in TriTimerDurationType timerDuration); (in TriTimerIdType timerId); (in TriTimerIdType timerId, out TriTimerDurationType elapsedTime); (in TriTimerIdType timerId, out boolean running); (in TriTimerIdType timerId); (in TriFunctionIdType functionId, inout TriParameterListType parameterList, out TriParameterType returnValue); () (in TriComponentIdType componentId, in TriMessage seed) (in string message);

NOTES Reset

Timer handling

§ [5] 5.6.1 5.6.2.1 5.6.2.2 5.6.2.3 5.6.2.4

Miscellaneous

5.6.2.5 5.6.3.1

Error Handling

5.6.3.2 5.6.3.3 5.2.2

triCommunication INTERFACE

RESULT TriStatusType TriStatusType

OPERATION triSAReset triExecuteTestCase

TriStatusType TriStatusType

triMap triMapParam

TriStatusType

triUnmap

TriStatusType

triUnmapParam

TriStatusType TriStatusType

triEndTestCase triSend

TriStatusType

triSendBC

TriStatusType

triSendMC

TriStatusType

triCall

TriStatusType

triCallBC

TriStatusType

triCallMC

TriStatusType

triReply

TriStatusType

triReplyBC

TriStatusType

triReplyMC

TriStatusType

triRaise

TriStatusType

triRaiseBC

TriStatusType

triRaiseMC

TriStatusType void

triSUTactionInformal triEnqueueMsg

void

triEnqueueCall

void

triEnqueueReply

void

triEnqueueException

void

triSAErrorReq

PARAMETERS () (in TriTestCaseIdType testCaseId, in TriPortIdListType tsiPortList); (in TriPortIdType compPortId, in TriPortIdType tsiPortId) (in TriPortIdType compPortId, in TriPortIdType tsiPortId, in TriParameterListType paramList); (in TriPortIdType compPortId, in TriPortIdType tsiPortId); (in TriPortIdType compPortId, in TriPortIdType tsiPortId, in TriParameterListType paramList); () (in TriComponentIdType componentId, in TriPortIdType tsiPortId, in TriAddressType SUTaddress, in TriMessageType sendMessage); (in TriComponentIdType componentId, in TriPortIdType tsiPortId, in TriMessageType sendMessage); (in TriComponentIdType componentId, in TriPortIdType tsiPortId, in TriAddressListType SUTaddresses, in TriMessageType sendMessage); (in TriComponentIdType componentId, in TriPortIdType tsiPortId, in TriAddressType SUTaddress, in TriSignatureIdType signatureId, in TriParameterListType parameterList); (in TriComponentIdType componentId, in TriPortIdType tsiPortId, in TriSignatureIdType signatureId, in TriParameterListType parameterList); (in TriComponentIdType componentId, in TriPortIdType tsiPortId, in TriAddressListType SUTaddresses, in TriSignatureIdType signatureId, in TriParameterListType parameterList); (in TriComponentIdType componentId, in TriPortIdType tsiPortId, in TriAddressType SUTaddress, in TriSignatureIdType signatureId, in TriParameterListType parameterList, in TriParameterType returnValue ); (in TriComponentIdType componentId, in TriPortIdType tsiPortId, in TriSignatureIdType signatureId, in TriParameterListType parameterList, in TriParameterType returnValue ); (in TriComponentIdType componentId, in TriPortIdType tsiPortId, in TriAddressListType SUTaddresses, in TriSignatureIdType signatureId, in TriParameterListType parameterList, in TriParameterType returnValue ); (in TriComponentIdType componentId, in TriPortIdType tsiPortId, in TriAddressType SUTaddress, in TriSignatureIdType signatureId, in TriExceptionType exc); (in TriComponentIdType componentId, in TriPortIdType tsiPortId, in TriSignatureIdType signatureId, in TriExceptionType exc); (in TriComponentIdType componentId, in TriPortIdType tsiPortId, in TriAddressListType SUTaddresses, in TriSignatureIdType signatureId, in TriExceptionType exc); (in string description); (in TriPortIdType tsiPortId , in TriAddressType SUTaddress, in TriComponentIdType componentId, in TriMessageType receivedMessage); (in TriPortIdType tsiPortId, in TriAddressType SUTaddress, in TriComponentIdType componentId, in TriSignatureIdType signatureId, in TriParameterListType parameterList ); (in TriPortIdType tsiPortId, in TriAddressType SUTaddress, in TriComponentIdType componentId, in TriSignatureIdType signatureId, in TriParameterListType parameterList, in TriParameterType returnValue ); (in TriPortIdType tsiPortId, in TriAddressType SUTaddress, in TriComponentIdType componentId, in TriSignatureIdType signatureId, in TriExceptionType exc); (in string message);

NOTES

§ [5] 5.5.1 5.5.2.1 5.5.2.2 5.5.2.3 5.5.2.4 5.5.2.5 5.5.2.6 5.5.3.1 5.5.3.2 5.5.3.3 5.5.4.1

5.5.4.2 TE -> SA (SAprovided)

5.5.4.3

5.5.4.4

5.5.4.5

5.5.4.6

5.5.4.7

5.5.4.8 5.5.4.9

5.5.5.1 5.5.3.4 5.5.4.10

5.5.4.11 SA -> TE (SArequired) 5.5.4.12

5.2.1

5 of 8

B.2

JAVA MAPPING (package org.etsi.ttcn.tri)

IDL

(java interface)

TRI/TCI Quick Reference Card (www.blukaktus.com), V0.15

11/07/2017

public interface TriBoolean string

public interface TriPortId

public interface TriPortIdList

public interface TriComponentId

public interface TriComponentIdListType

public interface TriMessage

public interface TriAddress

public interface TriAddressListType

public interface TriSignatureId

public interface TriParameter

public interface TriParameterPassingMode

public interface TriParameterList

public interface TriException

public interface TriTimerId public interface TriTimerDuration

public interface TriFunctionId

public interface TriTestCaseId

public interface TriStatus

METHODS public void setBooleanValue (boolean value); public boolean getBooleanValue (); java.lang.String

NOTES

§ [5] 6.3.1.1

no range checking / bounds for characters in string

6.3.1.2

public String getPortName (); public String getPortTypeName (); public TriComponentId getComponent (); public boolean isArray (); public int getPortIndex (); public int size (); public boolean isEmpty (); public java.util.Enumeration getPortIds (); public TriPortId get (int index); public String getComponentId (); public String getComponentName (); public String getComponentTypeName (); public TriPortIdList getPortList (); public boolean equals (TriComponentId component); public int size (); public boolean isEmpty (); public java.util.Enumeration getComponents (); public TriComponentId get (int index); public void clear (); public void add (TriComponentId comp); public byte[] getEncodedMessage (); public void setEncodedMessage (byte[] message); public int getNumberOfBits (); public void setNumberOfBits (int amount); public boolean equals (TriMessage message); public byte[] getEncodedAddress (); public void setEncodedAddress (byte[] address); public int getNumberOfBits (); public void setNumberOfBits (int amount); public boolean equals (TriAddress address); public int size(); public boolean isEmpty (); public java.util.Enumeration getAddresses (); public TriAddress get (int index); public void clear (); public void add (TriAddress addr); public String getSignatureName (); public void setSignatureName (String sigName); public boolean equals (TriSignatureId sig); public String getParameterName (); public void setParameterName (String name); public int getNumberOfBits (); public void setNumberOfBits (int amount); public int getParameterPassingMode (); public void setParameterPassingMode (TriParameterPassingMode mode); public byte[] getEncodedParameter (); public void setEncodedParameter (byte[] parameter); public final static int TRI_IN = 0; public final static int TRI_INOUT = 1; public final static int TRI_OUT = 2; public int size (); public boolean isEmpty (); public java.util.Enumeration getParameters (); public TriParameter get (int index); public void clear (); public void add (TriParameter parameter); public byte[] getEncodedException (); public void setEncodedException (byte[] message); public int getNumberOfBits (); public void setNumberOfBits (int amount); public boolean equals (TriException exc); public String getTimerName (); public boolean equals (TriTimerId timer);

6.3.2.1

public double getDuration(); public void setDuration(double duration); public boolean equals(TriTimerDuration duration); public String toString(); public String getFunctionName(); public boolean equals(TriFunctionId fun); public String toString (); public String getTestCaseName (); public boolean equals (TriTestCaseId tc); public final static int TRI_OK = 0; public final static int TRI_ERROR = -1; public String toString (); public int getStatus(); public void setStatus (int status); public boolean equals (TriStatus status);

6.3.2.14

6.3.2.2

6.3.2.3

6.3.2.4

6.3.2.5

6.3.2.6

6.3.2.7

6.3.2.8

6.3.2.9

6.3.2.10

6.3.2.11

6.3.2.12

6.3.2.13

6.3.2.15

6.3.2.16

6.3.2.18

TRI/TCI Quick Reference Card (www.blukaktus.com), V0.15

11/07/2017

6 of 8

A.3

TCI-TL INTERFACE

OPERATION tliTcExecute tliTcStart tliTcStop tliTcStarted tliTcTerminated tliCtrlStart tliCtrlStop tliCtrlTerminated tliMSend_m tliMSend_m_BC tliMSend_m_MC tliMSend_c tliMSend_c_BC tliMSend_c_MC tliMDetected_m tliMDetected_c tliMMismatch_m tliMMismatch_c tliMReceive_m tliMReceive_c tliPrCall_m tliPrCall_m_BC tliPrCall_m_MC tliPrCall_c tliPrCall_c_BC tliPrCall_c_MC tliPrGetCallDetected_m tliPrGetCallDetected_c tliPrGetCallMismatch_m tliPrGetCallMismatch_c tliPrGetCall_m tliPrGetCall_c tliPrReply_m tliPrReply_m_BC tliPrReply_m_MC tliPrReply_c tliPrReply_c_BC tliPrReply_c_MC tliPrGetReplyDetected_m tliPrGetReplyDetected_c tliPrGetReplyMismatch_m tliPrGetReplyMismatch_c tliPrGetReply_m tliPrGetReply_c tliPrRaise_m tliPrRaise_m_BC tliPrRaise_m_MC tliPrRaise_c tliPrRaise_c_BC tliPrRaise_c_MC tliPrCatchDetected_m tliPrCatchDetected_c tliPrCatchMismatch_m tliPrCatchMismatch_c tliPrCatch_m tliPrCatch_c tliPrCatchTimeoutDetected tliPrCatchTimeout

NOTES testcases

control

asynchronous communication

synchronous communication

§ [6] 7.3.4.1.1 7.3.4.1.2 7.3.4.1.3 7.3.4.1.4 7.3.4.1.5 7.3.4.1.6 7.3.4.1.7 7.3.4.1.8 7.3.4.1.9 7.3.4.1.10 7.3.4.1.11 7.3.4.1.12 7.3.4.1.13 7.3.4.1.14 7.3.4.1.15 7.3.4.1.16 7.3.4.1.17 7.3.4.1.18 7.3.4.1.19 7.3.4.1.20 7.3.4.1.21 7.3.4.1.22 7.3.4.1.23 7.3.4.1.24 7.3.4.1.25 7.3.4.1.26 7.3.4.1.27 7.3.4.1.28 7.3.4.1.29 7.3.4.1.30 7.3.4.1.31 7.3.4.1.32 7.3.4.1.33 7.3.4.1.34 7.3.4.1.35 7.3.4.1.36 7.3.4.1.37 7.3.4.1.38 7.3.4.1.39 7.3.4.1.40 7.3.4.1.41 7.3.4.1.42 7.3.4.1.43 7.3.4.1.44 7.3.4.1.45 7.3.4.1.46 7.3.4.1.47 7.3.4.1.48 7.3.4.1.49 7.3.4.1.50 7.3.4.1.51 7.3.4.1.52 7.3.4.1.53 7.3.4.1.54 7.3.4.1.55 7.3.4.1.56 7.3.4.1.57 7.3.4.1.58

OPERATION tliCCreate tliCStart tliCRunning tliCAlive tliCStop tliCKill tliCDoneMismatch tliCDone tliCKilledMismatch tliCKilled tliCTerminated tliPConnect tliPDisconnect tliPMap tliPMapParam tliPUnmap tliPUnmapParam tliPClear tliPStart tliPStop tliPHalt tliEncode tliDecode tliTTimeoutDetected tliTTimeoutMismatch tliTTimeout tliTStart tliTStop tliTRead tliTRunning tliSEnter tliSLeave tliVar tliModulePar tliGetVerdict tliSetVerdict tliLog tliAEnter tliALeave tliANomatch tliARepeat tliADefaults tliAActivate tliADeactivate tliAWait tliAction tliMatch tliMatchMismatch tliInfo tliMChecked_m tliMChecked_c tliPrGetCallChecked_m tliPrGetCallChecked_c tliPrGetReplyChecked_m tliPrGetReplyChecked_c tliPrCatchChecked_m tliPrCatchChecked_c tliCheckedAny_m tliCheckedAny_c tliCheckAnyMismatch_m tliCheckAnyMismatch_c tliRnd tliEvaluate

W3C XML mapping of the operations on the logging interface is provided in § 11.4 [6].

NOTES components

ports

codec timers

scope variables module par verdicts log alt

action match operation tool dependent check operation

§ [6] 7.3.4.1.59 7.3.4.1.60 7.3.4.1.61 7.3.4.1.62 7.3.4.1.63 7.3.4.1.64 7.3.4.1.65 7.3.4.1.66 7.3.4.1.67 7.3.4.1.68 7.3.4.1.69 7.3.4.1.70 7.3.4.1.71 7.3.4.1.72 7.3.4.1.73 7.3.4.1.74 7.3.4.1.75 7.3.4.1.76 7.3.4.1.77 7.3.4.1.78 7.3.4.1.79 7.3.4.1.80 7.3.4.1.81 7.3.4.1.82 7.3.4.1.83 7.3.4.1.84 7.3.4.1.85 7.3.4.1.86 7.3.4.1.87 7.3.4.1.88 7.3.4.1.89 7.3.4.1.90 7.3.4.1.91 7.3.4.1.92 7.3.4.1.93 7.3.4.1.94 7.3.4.1.95 7.3.4.1.96 7.3.4.1.97 7.3.4.1.98 7.3.4.1.99 7.3.4.1.100 7.3.4.1.101 7.3.4.1.102 7.3.4.1.103 7.3.4.1.104 7.3.4.1.105 7.3.4.1.106 7.3.4.1.107 7.3.4.1.108 7.3.4.1.109 7.3.4.1.110 7.3.4.1.111 7.3.4.1.112 7.3.4.1.113 7.3.4.1.114 7.3.4.1.115 7.3.4.1.116 7.3.4.1.117 7.3.4.1.118 7.3.4.1.119 7.3.4.1.120 7.3.4.1.121

TRI/TCI Quick Reference Card (www.blukaktus.com), V0.15

11/07/2017

7 of 8

B.3

TCI-TL TYPES (W3C XML mapping)

IDL simple types TBoolean TString TInteger TriTimerDuration TciParameterPassingModeType TriStatusType TciStatusType ComponentStatusType TimerStatusType PortStatusType

XSD boolean string integer float string string string string string string

XSD string enumeration values

IDL complex types TriPortIdType TriComponentIdType TriComponentIdListType Port Id TriMessageType

XSD sequence elements comp, port id, null comp id, index name, id, type

par

IDL abstract values

XSD choice elements integer, float, boolean, verdicttype, bitstring, hexstring, octetstring, charstring, universal_charstring, record, record_of, array, set, set_of, enumerated, union, anytype, address, component, port, default, timer

ArrayValue

EnumeratedValue AnytypeValue

AddressValue ComponentValue PortValue TimerValue DefaultValue IDL abstract logging type

NOTES

§ [6] 11.3.2.1 11.3.2.2 11.3.2.3 11.3.2.4 11.3.2.5 11.3.2.6 11.3.2.7

val, paddingBits addr val, paddingBits val id restriction float moduleName, baseName name name val par port

name, mode

XSD attributes

NOTES

integer, float, boolean, verdicttype, bitstring, hexstring, octetstring, charstring, universal_charstring, record, record_of, array, set, set_of, enumerated, union, anytype, address, component, default, null, omit, matching_symbol, not_evaluated integer, float, boolean, verdicttype, bitstring, hexstring, octetstring, charstring, universal_charstring, record, record_of, array, set, set_of, enumerated, union, anytype, address, component, port, default, timer, null, omit, matching_symbol, not_evaluated value, intValue, null, omit, matching_symbol, not_evaluated integer, float, boolean, verdicttype, bitstring, hexstring, octetstring, charstring, universal_charstring, record, record_of, array, set, set_of, enumerated, union, address, null, omit, matching_symbol, not_evaluated integer, float, boolean, verdicttype, bitstring, hexstring, octetstring, charstring, universal_charstring, record, record_of, array, set, set_of, enumerated, union, anytype, null, omit, matching_symbol, not_evaluated value, null, omit, matching_symbol, not_evaluated

name, type, module, modifier, annotation

11.3.3.20

11.3.3.21 11.3.3.22 11.3.3.24 11.3.3.23

value, null, omit, not_evaluated

TciValueDifference

sequence: val, tmpl

TciValueDifferenceList

sequence: diff

§ [6] 11.3.3.1

11.3.3.17 11.3.3.19

value, null, omit

TciNonValueTemplate TciValueList

11.3.2.8 11.3.2.9 11.3.2.10 11.3.2.11 11.3.2.12 11.3.2.13 11.3.2.14 11.3.2.15 11.3.2.16 11.3.2.17 11.3.2.18 11.3.2.19 11.3.2.20

11.3.3.2 11.3.3.3 11.3.3.4 11.3.3.6 11.3.3.7 11.3.3.8 11.3.3.9 11.3.3.10 11.3.3.11 11.3.3.12 11.3.3.13 11.3.3.15 11.3.3.16 11.3.3.18 11.3.3.14

value, null, omit, matching_symbol, not_evaluated

XSD elements choice: integer, float, boolean, verdicttype, bitstring, hexstring, octetstring, charstring, universal_string, record, record_of, array, set, set_of, enumerated, union, anytype, address, omit, any, anyoromit, templateDef choice: any, all, templateDef, null sequence: val

TciValueTemplate

XSD attributes

val, paddingBits val, paddingBits, name, mode

TriParameterListType TriAddressType TriAddressListType TriExceptionType TriSignatureIdType TriTimerIdType TriTimerDurationType QualifiedName TciBehaviourType TciTestCaseIdType TciParameterType TciParameterListType TriPortIdListType

IntegerValue FloatValue BooleanValue VerdictValue BitstringValue HexstringValue OctetstringValue CharstringValue UniversalCharstingValue RecordValue RecordOfValue SetValue SetOfValue UnionValue

§ [6] 11.3.1.1 11.3.1.2 11.3.1.3 11.3.1.4 11.3.1.5 11.3.1.6 11.3.1.7 11.3.1.8 11.3.1.9 11.3.1.10

“in”, “out”, “inout” “TRI_OK”, “TRI_Error” “TCI_OK”, “TCI_Error” “inactiveC”, “running”, “stoppedC”, “killedC”, “nullC” “runningT”, “inactiveT”, “expiredT”, “nullT” “startedP”, “haltedP”, stopped”

TriParameterType

Value

NOTES

XSD attributes

name, type, module, annotation, desc

NOTES

§ [6] 11.3.4.1

11.3.4.2 11.3.4.3 11.3.4.4 11.3.4.5

8 of 8 11/07/2017 TRI/TCI Quick Reference Card (www.blukaktus.com), V0.15

Related EVENTS

10 October 2017 (STV)

11-13 October 2017 (UCAAT)

NOTES: This Reference Card summarizes interfaces, operations and language mappings to support developers of TTCN-3 Codec and adaptations. The document is not part of a standard, not warranted error-free, and a ‘work in progress’. For comments or suggestions, please contact the editors via [email protected]. Numbers in the right-hand column of the tables refer to sections or annex in ETSI standards ES 201873-5 and -6. NEW Interface operations/types introduced/modified in edition 4.9.1 have been marked.

Copyright 2010 - 2017 www.blukaktus.com. Forwarding and copying of this document is permitted for personal and educational purposes if authorship is retained and that the content is not modified. This work is not to be distributed for commercial advantage.