Commit ebf08655 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix test case

parent 3850fdd6
......@@ -72,6 +72,6 @@ PROPERTIES
Taste::coordinates => "0 0 297000 210000";
Taste::version => "2.3";
Taste::interfaceView => "InterfaceView.aadl";
Taste::HWLibraries => ("../../../../tool-inst/share/ocarina/AADLv2/ocarina_components.aadl");
Taste::HWLibraries => ("/home/taste/tool-inst/share/ocarina/AADLv2/ocarina_components.aadl");
END deploymentview::DV;
/* CIF PROCESS (337, 136), (150, 75) */
process Test_Me;
/* CIF TEXT (595, 75), (267, 201) */
-- Text area for declarations and comments
dcl result my_Integer;
dcl someBool T_boolean;
/* CIF ENDTEXT */
/* CIF procedure (452, 400), (126, 40) */
procedure run;
/* CIF TEXT (85, 85), (137, 50) */
fpar
in A T_Boolean;
/* CIF ENDTEXT */
/* CIF START (313, 101), (70, 35) */
START;
/* CIF PROCEDURECALL (261, 156), (173, 35) */
call writeln ('run ', A);
/* CIF output (301, 211), (92, 35) */
output compute_Pi;
/* CIF return (330, 266), (35, 35) */
return ;
endprocedure;
/* CIF START (361, 12), (70, 35) */
START;
/* CIF NEXTSTATE (361, 67), (70, 35) */
NEXTSTATE Wait;
/* CIF state (361, 67), (70, 35) */
state Wait;
/* CIF input (226, 122), (70, 35) */
/* CIF input (361, 122), (70, 35) */
input walk;
/* CIF PROCEDURECALL (201, 177), (121, 40) */
/* CIF PROCEDURECALL (335, 177), (121, 40) */
call doSomething
(42, false, result);
/* CIF PROCEDURECALL (164, 237), (194, 35) */
/* CIF PROCEDURECALL (298, 237), (194, 35) */
call writeln('Walk Result:', result);
/* CIF NEXTSTATE (226, 291), (70, 35) */
NEXTSTATE -;
/* CIF input (400, 122), (113, 35) */
input run (someBool);
/* CIF PROCEDURECALL (370, 177), (173, 35) */
call writeln ('run ', someBool);
/* CIF output (410, 232), (92, 35) */
output compute_Pi;
/* CIF NEXTSTATE (421, 282), (70, 35) */
/* CIF NEXTSTATE (361, 291), (70, 35) */
NEXTSTATE -;
endstate;
endprocess Test_Me;
\ 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