Commit 4dc3d7b4 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Update test case

parent ab57efa5
......@@ -2,7 +2,7 @@
--! File generated by asn2aadl v2.2-r90f76d6: DO NOT EDIT !
--------------------------------------------------------
--! MadeInFastMode:True:
--! InputASN1FileChecksum:ff35cd78b1e82f09b63b209ab7cf7c34:/home/taste/tool-inst/share/taste-types/taste-types.asn:
--! InputASN1FileChecksum:ff35cd78b1e82f09b63b209ab7cf7c34:/home/taste/tool-src/kazoo/test/common/taste-types.asn:
--! InputASN1FileChecksum:ec6f2b740d43c7f83631422998be646c:DataView.acn:
--! InputASN1FileChecksum:46090a0d1a549db9f948c16879abe2b1:DataView.asn:
--------------------------------------------------------
......@@ -85,7 +85,7 @@ END MyInteger_Buffer.impl;
DATA T_Boolean
PROPERTIES
-- name of the ASN.1 source file:
Source_Text => ("/home/taste/tool-inst/share/taste-types/taste-types.asn");
Source_Text => ("/home/taste/tool-src/kazoo/test/common/taste-types.asn");
TASTE::Ada_Package_Name => "TASTE_BasicTypes";
Deployment::ASN1_Module_Name => "TASTE-BasicTypes";
Source_Language => (ASN1);
......@@ -124,7 +124,7 @@ END T_Boolean_Buffer.impl;
DATA T_Int32
PROPERTIES
-- name of the ASN.1 source file:
Source_Text => ("/home/taste/tool-inst/share/taste-types/taste-types.asn");
Source_Text => ("/home/taste/tool-src/kazoo/test/common/taste-types.asn");
TASTE::Ada_Package_Name => "TASTE_BasicTypes";
Deployment::ASN1_Module_Name => "TASTE-BasicTypes";
Source_Language => (ASN1);
......@@ -163,7 +163,7 @@ END T_Int32_Buffer.impl;
DATA T_Int8
PROPERTIES
-- name of the ASN.1 source file:
Source_Text => ("/home/taste/tool-inst/share/taste-types/taste-types.asn");
Source_Text => ("/home/taste/tool-src/kazoo/test/common/taste-types.asn");
TASTE::Ada_Package_Name => "TASTE_BasicTypes";
Deployment::ASN1_Module_Name => "TASTE-BasicTypes";
Source_Language => (ASN1);
......@@ -202,7 +202,7 @@ END T_Int8_Buffer.impl;
DATA T_Null_Record
PROPERTIES
-- name of the ASN.1 source file:
Source_Text => ("/home/taste/tool-inst/share/taste-types/taste-types.asn");
Source_Text => ("/home/taste/tool-src/kazoo/test/common/taste-types.asn");
TASTE::Ada_Package_Name => "TASTE_BasicTypes";
Deployment::ASN1_Module_Name => "TASTE-BasicTypes";
Source_Language => (ASN1);
......@@ -241,7 +241,7 @@ END T_Null_Record_Buffer.impl;
DATA T_UInt32
PROPERTIES
-- name of the ASN.1 source file:
Source_Text => ("/home/taste/tool-inst/share/taste-types/taste-types.asn");
Source_Text => ("/home/taste/tool-src/kazoo/test/common/taste-types.asn");
TASTE::Ada_Package_Name => "TASTE_BasicTypes";
Deployment::ASN1_Module_Name => "TASTE-BasicTypes";
Source_Language => (ASN1);
......@@ -280,7 +280,7 @@ END T_UInt32_Buffer.impl;
DATA T_UInt8
PROPERTIES
-- name of the ASN.1 source file:
Source_Text => ("/home/taste/tool-inst/share/taste-types/taste-types.asn");
Source_Text => ("/home/taste/tool-src/kazoo/test/common/taste-types.asn");
TASTE::Ada_Package_Name => "TASTE_BasicTypes";
Deployment::ASN1_Module_Name => "TASTE-BasicTypes";
Source_Language => (ASN1);
......
......@@ -45,27 +45,39 @@ END RI_setData;
SUBPROGRAM IMPLEMENTATION RI_setData.others
END RI_setData.others;
SUBPROGRAM RI_doSomething
END RI_doSomething;
SUBPROGRAM IMPLEMENTATION RI_doSomething.others
END RI_doSomething.others;
SYSTEM Function1
FEATURES
PI_pulse : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::Function1::PI_pulse.others {
Taste::coordinates => "89902 47699";
Taste::coordinates => "91995 47437";
Taste::RCMoperationKind => cyclic;
Taste::RCMperiod => 1000 ms;
Taste::Deadline => 0 ms;
Taste::InterfaceName => "pulse";
};
RI_getData : REQUIRES SUBPROGRAM ACCESS interfaceview::IV::Function2::PI_getData.others {
Taste::coordinates => "111963 48571";
Taste::coordinates => "114056 48309";
Taste::RCMoperationKind => any;
Taste::InterfaceName => "getData";
Taste::labelInheritance => "true";
};
RI_setData : REQUIRES SUBPROGRAM ACCESS interfaceview::IV::Function2::PI_setData.others {
Taste::coordinates => "111963 51187";
Taste::coordinates => "114056 50925";
Taste::RCMoperationKind => any;
Taste::InterfaceName => "setData";
Taste::labelInheritance => "true";
};
RI_doSomething : REQUIRES SUBPROGRAM ACCESS interfaceview::IV::Function2::PI_doSomething.others {
Taste::coordinates => "114056 54413";
Taste::RCMoperationKind => any;
Taste::InterfaceName => "doSomething";
Taste::labelInheritance => "true";
};
PROPERTIES
Source_Language => (SDL);
Taste::Active_Interfaces => any;
......@@ -87,6 +99,8 @@ FEATURES
p1 : OUT PARAMETER DataView::MyInteger {
Taste::encoding => NATIVE;
};
PROPERTIES
Taste::Associated_Queue_Size => 1;
END PI_getData;
SUBPROGRAM IMPLEMENTATION PI_getData.others
......@@ -102,6 +116,8 @@ FEATURES
p2 : IN PARAMETER DataView::T_Boolean {
Taste::encoding => NATIVE;
};
PROPERTIES
Taste::Associated_Queue_Size => 1;
END PI_setData;
SUBPROGRAM IMPLEMENTATION PI_setData.others
......@@ -109,20 +125,39 @@ PROPERTIES
Compute_Execution_Time => 0 ms .. 0 ms;
END PI_setData.others;
SUBPROGRAM PI_doSomething
PROPERTIES
Taste::Associated_Queue_Size => 1;
END PI_doSomething;
SUBPROGRAM IMPLEMENTATION PI_doSomething.others
PROPERTIES
Compute_Execution_Time => 0 ms .. 0 ms;
END PI_doSomething.others;
SYSTEM Function2
FEATURES
PI_getData : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::Function2::PI_getData.others {
Taste::coordinates => "131147 48134";
Taste::coordinates => "131060 48134";
Taste::RCMoperationKind => protected;
Taste::RCMperiod => 0 ms;
Taste::Deadline => 0 ms;
Taste::InterfaceName => "getData";
};
PI_setData : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::Function2::PI_setData.others {
Taste::coordinates => "131147 50750";
Taste::coordinates => "131060 50750";
Taste::RCMoperationKind => protected;
Taste::RCMperiod => 0 ms;
Taste::Deadline => 0 ms;
Taste::InterfaceName => "setData";
};
PI_doSomething : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::Function2::PI_doSomething.others {
Taste::coordinates => "131060 55110";
Taste::RCMoperationKind => sporadic;
Taste::RCMperiod => 0 ms;
Taste::Deadline => 0 ms;
Taste::InterfaceName => "doSomething";
};
PROPERTIES
Source_Language => (SDL);
Taste::Active_Interfaces => any;
......@@ -150,17 +185,20 @@ END interfaceview;
SYSTEM IMPLEMENTATION interfaceview.others
SUBCOMPONENTS
Function1 : SYSTEM interfaceview::IV::Function1::Function1.others {
Taste::coordinates => "89902 45955 111963 60081";
Taste::coordinates => "91995 45693 114056 59819";
};
Function2 : SYSTEM interfaceview::IV::Function2::Function2.others {
Taste::coordinates => "131147 45518 151378 59557";
Taste::coordinates => "131060 45518 151291 59557";
};
CONNECTIONS
Function1_RI_getData_Function2_PI_getData : SUBPROGRAM ACCESS Function2.PI_getData -> Function1.RI_getData {
Taste::coordinates => "111963 48571 122035 48571 122035 48134 131147 48134";
Taste::coordinates => "114056 48309 122035 48309 122035 48134 131060 48134";
};
Function1_RI_setData_Function2_PI_setData : SUBPROGRAM ACCESS Function2.PI_setData -> Function1.RI_setData {
Taste::coordinates => "111963 51187 122035 51187 122035 50750 131147 50750";
Taste::coordinates => "114056 50925 122035 50925 122035 50750 131060 50750";
};
Function1_RI_doSomething_Function2_PI_doSomething : SUBPROGRAM ACCESS Function2.PI_doSomething -> Function1.RI_doSomething {
Taste::coordinates => "114056 54413 122601 54413 122601 55110 131060 55110";
};
END interfaceview.others;
......
/* CIF PROCESS (250, 150), (150, 75) */
process Function2;
/* CIF TEXT (427, 352), (267, 140) */
/* CIF TEXT (508, 352), (267, 140) */
dcl val MyInteger := 0;
/* CIF ENDTEXT */
/* CIF procedure (793, 361), (77, 35) */
/* CIF procedure (874, 361), (77, 35) */
procedure setData;
/* CIF TEXT (412, 134), (267, 148) */
fpar
......@@ -19,24 +19,45 @@ process Function2;
/* CIF return (174, 246), (35, 35) */
return ;
endprocedure;
/* CIF procedure (541, 214), (75, 35) */
/* CIF procedure (622, 214), (75, 35) */
procedure getData;
/* CIF TEXT (412, 134), (267, 148) */
/* CIF TEXT (446, 134), (267, 148) */
fpar
in/out P1 MyInteger;
/* CIF ENDTEXT */
/* CIF START (78, 72), (70, 35) */
/* CIF START (112, 72), (70, 35) */
START;
/* CIF task (77, 127), (71, 35) */
/* CIF task (112, 127), (71, 35) */
task p1 := val;
/* CIF return (95, 177), (35, 35) */
/* CIF PROCEDURECALL (0, 182), (295, 35) */
call writeln('function2] procedure getData called');
/* CIF return (130, 232), (35, 35) */
return ;
endprocedure;
/* CIF START (320, 10), (70, 35) */
/* CIF START (167, 10), (70, 35) */
START;
/* CIF NEXTSTATE (320, 60), (70, 35) */
/* CIF NEXTSTATE (167, 60), (70, 35) */
NEXTSTATE Wait;
/* CIF state (450, 10), (70, 35) */
/* CIF state (520, 10), (88, 35) */
state Otherstate;
/* CIF input (528, 65), (70, 35) */
input getData;
/* CIF PROCEDURECALL (416, 120), (296, 35) */
call writeln('[function2] Transition after getData');
/* CIF NEXTSTATE (529, 175), (70, 40) */
NEXTSTATE -;
endstate;
/* CIF state (167, 60), (70, 35) */
state Wait;
/* CIF input (0, 115), (102, 35) */
input doSomething;
/* CIF NEXTSTATE (6, 170), (89, 35) */
NEXTSTATE OtherState;
/* CIF input (224, 115), (70, 35) */
input getData;
/* CIF PROCEDURECALL (112, 170), (296, 35) */
call writeln('[function2] Transition after getData');
/* CIF NEXTSTATE (225, 225), (70, 40) */
NEXTSTATE -;
endstate;
endprocess Function2;
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment