From 60c32a53360a5783d6697fe949a8003f0503442a Mon Sep 17 00:00:00 2001
From: balaskoa <balaskojenoattila@gmail.com>
Date: Tue, 2 Mar 2021 18:31:25 +0100
Subject: [PATCH] Some RAW tests corrected to be OOP compatible

Signed-off-by: balaskoa <balaskojenoattila@gmail.com>
---
 .../EncodeDecode/RAW/Examples/SCCP_RAW_Samples.ttcn         | 6 +++---
 .../EncodeDecode/RAW/Examples/SCCP_typedefs.ttcn            | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/regression_test/EncodeDecode/RAW/Examples/SCCP_RAW_Samples.ttcn b/regression_test/EncodeDecode/RAW/Examples/SCCP_RAW_Samples.ttcn
index 19356d365..3199264c3 100644
--- a/regression_test/EncodeDecode/RAW/Examples/SCCP_RAW_Samples.ttcn
+++ b/regression_test/EncodeDecode/RAW/Examples/SCCP_RAW_Samples.ttcn
@@ -27,7 +27,7 @@ const octetstring SCCPstr01 := '090003070B044301B0FE044340D8FE06000430040107'O;
 template PDU_SCCP SCCP01 := {unitdata := {
     messageType := udt,
     protClass := {
-        class := '0000'B,
+        class_ := '0000'B,
         messageHandling := '0000'B
     },
     pointer1 := 3,
@@ -85,7 +85,7 @@ template PDU_SCCP SCCP02 :=  {connrequest := {
     messageType := cr,
     sourceLocRef := 'FF002B'O,
     protClass := {
-        class := '0010'B,
+        class_ := '0010'B,
         messageHandling := '0000'B
     },
     pointer1 := 2,
@@ -150,7 +150,7 @@ template PDU_SCCP SCCP03 :=  {connconfirm := {
     destLocRef  := 'FF002B'O,
     sourceLocRef:= '000001'O,
     protClass := {
-        class := '0010'B,
+        class_ := '0010'B,
         messageHandling := '0000'B
     },
     pointer1 := 1,
diff --git a/regression_test/EncodeDecode/RAW/Examples/SCCP_typedefs.ttcn b/regression_test/EncodeDecode/RAW/Examples/SCCP_typedefs.ttcn
index 5c7224b99..1b9aac9b7 100644
--- a/regression_test/EncodeDecode/RAW/Examples/SCCP_typedefs.ttcn
+++ b/regression_test/EncodeDecode/RAW/Examples/SCCP_typedefs.ttcn
@@ -365,7 +365,7 @@ type record SCCP_param_CPartyAddress_opt
 //--------------------------------------------------------------------------------
 type record SCCP_param_ProtocolClass
   {
-   BIT4                             class,
+   BIT4                             class_,
    BIT4                             messageHandling
   }
    with { variant "" }
@@ -531,7 +531,7 @@ type record SCCP_param_Segmentation_opt
    LIN1                             paramLength,       //always 4!
    BIT4                             remainingSegment,
    BIT2                             reserved,
-   BIT1                             class,
+   BIT1                             class_,
    BIT1                             firstSegm,
    OCT3                             segmLocalRef
   }
-- 
GitLab