Commit a232b62f authored by André Pacak's avatar André Pacak
Browse files

automated test to check whether models are well or illtyped without dynamic changes to tests

parent c46cc481
<?xml version="1.0" encoding="UTF-8"?>
<debug-info version="2">
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1160998861373:jetbrains.mps.baseLanguage.structure.AssertStatement" />
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1082485599095:jetbrains.mps.baseLanguage.structure.BlockStatement" />
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1068580123140:jetbrains.mps.baseLanguage.structure.ConstructorDeclaration" />
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1068580123155:jetbrains.mps.baseLanguage.structure.ExpressionStatement" />
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1068390468200:jetbrains.mps.baseLanguage.structure.FieldDeclaration" />
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1068580123159:jetbrains.mps.baseLanguage.structure.IfStatement" />
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1068580123165:jetbrains.mps.baseLanguage.structure.InstanceMethodDeclaration" />
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1068581242864:jetbrains.mps.baseLanguage.structure.LocalVariableDeclarationStatement" />
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/6329021646629104954:jetbrains.mps.baseLanguage.structure.SingleLineComment" />
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1068581242878:jetbrains.mps.baseLanguage.structure.ReturnStatement" />
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1068580123157:jetbrains.mps.baseLanguage.structure.Statement" />
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1070462154015:jetbrains.mps.baseLanguage.structure.StaticFieldDeclaration" />
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1070475587102:jetbrains.mps.baseLanguage.structure.SuperConstructorInvocation" />
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1153952380246:jetbrains.mps.baseLanguage.structure.TryStatement" />
<root nodeRef="r:40275729-d292-4df4-92d1-2d1c29664fef(SumTypes_Checker.tests@tests)/7797870059170749016">
<file name="Temporary_Test.java">
<node id="7797870059170749016" at="33,27,34,25" concept="8" />
<node id="7797870059170749017" at="38,44,39,50" concept="2" />
<node id="7797870059170749016" at="44,52,45,19" concept="8" />
<node id="2580730847075558027" at="48,46,49,63" concept="5" />
<node id="2580730847075572528" at="49,63,50,97" concept="6" />
<node id="2580730847075571873" at="50,97,51,206" concept="5" />
<node id="2580730847075622316" at="51,206,52,199" concept="5" />
<node id="2580730847075698258" at="55,29,56,229" concept="5" />
<node id="1066296671772405358" at="56,229,57,245" concept="5" />
<node id="1066296671772421896" at="57,245,58,27" concept="0" />
<node id="2580730847075635431" at="61,17,62,57" concept="2" />
<node id="7797870059170749016" at="28,0,30,0" concept="7" trace="ourParamCache" />
<node id="7797870059170749016" at="30,0,32,0" concept="3" trace="myWithCommandRule" />
<node id="7797870059170749016" at="33,0,36,0" concept="1" trace="Temporary_Test#()V" />
<node id="7797870059170749016" at="44,0,47,0" concept="1" trace="TestBody#(Ljetbrains/mps/lang/test/runtime/TransformationTest;)V" />
<node id="7797870059170749017" at="37,0,41,0" concept="4" trace="test_test#()V" />
<node id="2580730847075562209" at="55,0,60,0" concept="4" trace="run#()V" />
<node id="2580730847075562208" at="53,11,60,11" concept="2" />
<node id="2580730847075555196" at="52,199,63,7" concept="9" />
<node id="7797870059170749017" at="48,0,65,0" concept="4" trace="test_test#()V" />
<scope id="7797870059170749016" at="33,27,34,25" />
<scope id="7797870059170749017" at="38,44,39,50" />
<scope id="7797870059170749016" at="44,52,45,19" />
<scope id="2580730847075555198" at="61,17,62,57" />
<scope id="7797870059170749016" at="33,0,36,0" />
<scope id="7797870059170749016" at="44,0,47,0">
<file name="SimpleTest_Test.java">
<node id="7797870059170749016" at="41,28,42,25" concept="11" />
<node id="7797870059170749017" at="46,44,47,51" concept="3" />
<node id="7797870059170749016" at="52,52,53,19" concept="11" />
<node id="2580730847075558027" at="56,46,57,63" concept="7" />
<node id="2580730847075622316" at="57,63,58,199" concept="7" />
<node id="1066296671799661965" at="58,199,59,0" concept="9" />
<node id="1066296671799684264" at="59,0,60,61" concept="7" />
<node id="1066296671799667325" at="60,61,61,0" concept="9" />
<node id="1066296671798277163" at="64,29,65,161" concept="7" />
<node id="1066296671798282877" at="65,161,66,79" concept="7" />
<node id="1066296671798285619" at="66,79,67,98" concept="3" />
<node id="1066296671800036024" at="67,98,68,0" concept="9" />
<node id="1066296671798989414" at="70,48,71,92" concept="8" />
<node id="1066296671798535000" at="75,48,76,94" concept="8" />
<node id="1066296671800683849" at="78,15,79,83" concept="3" />
<node id="2580730847075635431" at="82,17,83,57" concept="3" />
<node id="1066296671800318244" at="88,71,89,215" concept="7" />
<node id="1066296671800360575" at="89,215,90,230" concept="7" />
<node id="1066296671800755282" at="91,31,92,79" concept="3" />
<node id="8775378229013202774" at="93,14,94,79" concept="3" />
<node id="8775378229004803327" at="95,7,96,32" concept="8" />
<node id="8775378229004604137" at="98,88,99,68" concept="7" />
<node id="8775378229004629485" at="101,38,102,70" concept="7" />
<node id="8775378229004743676" at="103,26,104,34" concept="3" />
<node id="8775378229004753373" at="107,9,108,0" concept="9" />
<node id="8775378229004770685" at="110,38,111,71" concept="7" />
<node id="8775378229004787064" at="112,26,113,34" concept="3" />
<node id="8775378229004816039" at="116,9,117,0" concept="9" />
<node id="8775378229004820933" at="117,0,118,27" concept="0" />
<node id="7797870059170749016" at="36,0,38,0" concept="10" trace="ourParamCache" />
<node id="7797870059170749016" at="38,0,40,0" concept="4" trace="myWithCommandRule" />
<node id="8775378229013197062" at="93,12,95,7" concept="1" />
<node id="7797870059170749016" at="41,0,44,0" concept="2" trace="SimpleTest_Test#()V" />
<node id="7797870059170749016" at="52,0,55,0" concept="2" trace="TestBody#(Ljetbrains/mps/lang/test/runtime/TransformationTest;)V" />
<node id="1066296671798386556" at="70,0,73,0" concept="6" trace="accept#(Lorg/jetbrains/mps/openapi/model/SModel;)Z" />
<node id="1066296671798530520" at="75,0,78,0" concept="6" trace="accept#(Lorg/jetbrains/mps/openapi/model/SModel;)Z" />
<node id="8775378229004651510" at="102,70,105,11" concept="5" />
<node id="8775378229004777023" at="111,71,114,11" concept="5" />
<node id="7797870059170749017" at="45,0,49,0" concept="6" trace="test_test#()V" />
<node id="1066296671798325094" at="68,0,73,15" concept="7" />
<node id="1066296671798471482" at="73,15,78,15" concept="7" />
<node id="1066296671800741754" at="90,230,95,7" concept="5" />
<node id="8775378229004597426" at="101,0,107,0" concept="6" trace="visit#(Lorg/jetbrains/mps/openapi/model/SModel;)V" />
<node id="8775378229004763865" at="110,0,116,0" concept="6" trace="visit#(Lorg/jetbrains/mps/openapi/model/SModel;)V" />
<node id="1066296671800614541" at="99,68,107,9" concept="3" />
<node id="8775378229004759362" at="108,0,116,9" concept="3" />
<node id="1066296671800302084" at="88,0,98,0" concept="6" trace="isResultAsExpected#(Lorg/jetbrains/mps/openapi/model/SModel;Z)Z" />
<node id="2580730847075562209" at="64,0,81,0" concept="6" trace="run#()V" />
<node id="2580730847075562208" at="62,11,81,11" concept="3" />
<node id="1066296671800601750" at="98,0,120,0" concept="6" trace="assertAll#(Ljava/lang/Iterable;Ljava/lang/Iterable;)V" />
<node id="2580730847075555196" at="61,0,84,7" concept="12" />
<node id="7797870059170749017" at="56,0,86,0" concept="6" trace="test_test#()V" />
<scope id="7797870059170749016" at="41,28,42,25" />
<scope id="7797870059170749017" at="46,44,47,51" />
<scope id="7797870059170749016" at="52,52,53,19" />
<scope id="1066296671798386557" at="70,48,71,92" />
<scope id="1066296671798530521" at="75,48,76,94" />
<scope id="2580730847075555198" at="82,17,83,57" />
<scope id="1066296671800741756" at="91,31,92,79" />
<scope id="8775378229013197063" at="93,14,94,79" />
<scope id="8775378229004651512" at="103,26,104,34" />
<scope id="8775378229004777025" at="112,26,113,34" />
<scope id="7797870059170749016" at="41,0,44,0" />
<scope id="7797870059170749016" at="52,0,55,0">
<var name="owner" id="7797870059170749016" />
</scope>
<scope id="2580730847075562210" at="55,29,58,27">
<var name="elem" id="2580730847075698256" />
<var name="success" id="1066296671772405356" />
<scope id="1066296671798386556" at="70,0,73,0">
<var name="it" id="1066296671798386556" />
</scope>
<scope id="7797870059170749017" at="37,0,41,0" />
<scope id="2580730847075562209" at="55,0,60,0" />
<scope id="2580730847075555197" at="53,11,60,11" />
<scope id="7797870059170749017" at="48,46,63,7">
<scope id="1066296671798530520" at="75,0,78,0">
<var name="it" id="1066296671798530520" />
</scope>
<scope id="7797870059170749017" at="45,0,49,0" />
<scope id="8775378229004597427" at="101,38,105,11">
<var name="result" id="8775378229004629488" />
</scope>
<scope id="8775378229004763866" at="110,38,114,11">
<var name="result" id="8775378229004770688" />
</scope>
<scope id="8775378229004597426" at="101,0,107,0">
<var name="it" id="8775378229004597426" />
</scope>
<scope id="8775378229004763865" at="110,0,116,0">
<var name="it" id="8775378229004763865" />
</scope>
<scope id="1066296671800302084" at="88,71,96,32">
<var name="elem" id="1066296671800318242" />
<var name="result" id="1066296671800360573" />
</scope>
<scope id="1066296671800302084" at="88,0,98,0">
<var name="expected" id="1066296671800302147" />
<var name="model" id="1066296671800302118" />
</scope>
<scope id="2580730847075562210" at="64,29,79,83">
<var name="allModels" id="1066296671798282880" />
<var name="modelsThatShouldFail" id="1066296671798471485" />
<var name="modelsThatShouldSucceed" id="1066296671798325097" />
<var name="module" id="1066296671798277164" />
</scope>
<scope id="2580730847075562209" at="64,0,81,0" />
<scope id="2580730847075555197" at="62,11,81,11" />
<scope id="1066296671800601750" at="98,88,118,27">
<var name="success" id="8775378229004604140" />
</scope>
<scope id="1066296671800601750" at="98,0,120,0">
<var name="failModles" id="8775378229004660418" />
<var name="successModels" id="1066296671800601815" />
</scope>
<scope id="7797870059170749017" at="56,46,84,7">
<var name="analysisModel" id="2580730847075622314" />
<var name="instanceModel" id="2580730847075571876" />
<var name="repository" id="2580730847075558025" />
<var name="testNamePrefix" id="1066296671799684262" />
</scope>
<scope id="7797870059170749017" at="48,0,65,0" />
<unit id="2580730847075562209" at="54,54,60,9" name="SumTypes_Checker.tests.Temporary_Test$TestBody$1" />
<unit id="7797870059170749016" at="42,0,68,0" name="SumTypes_Checker.tests.Temporary_Test$TestBody" />
<unit id="7797870059170749016" at="26,0,69,0" name="SumTypes_Checker.tests.Temporary_Test" />
<scope id="7797870059170749017" at="56,0,86,0" />
<unit id="1066296671798386556" at="69,96,73,13" name="SumTypes_Checker.tests.SimpleTest_Test$TestBody$1$1" />
<unit id="1066296671798530520" at="74,93,78,13" name="SumTypes_Checker.tests.SimpleTest_Test$TestBody$1$2" />
<unit id="8775378229004597426" at="100,56,107,7" name="SumTypes_Checker.tests.SimpleTest_Test$TestBody$2" />
<unit id="8775378229004763865" at="109,53,116,7" name="SumTypes_Checker.tests.SimpleTest_Test$TestBody$3" />
<unit id="2580730847075562209" at="63,54,81,9" name="SumTypes_Checker.tests.SimpleTest_Test$TestBody$1" />
<unit id="7797870059170749016" at="50,0,121,0" name="SumTypes_Checker.tests.SimpleTest_Test$TestBody" />
<unit id="7797870059170749016" at="34,0,122,0" name="SumTypes_Checker.tests.SimpleTest_Test" />
</file>
</root>
</debug-info>
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:ec651532-5c8d-4b2f-8038-8d287d9e0290(SumTypes_Checker.test.fail.arithmetic)">
<model ref="r:ec651532-5c8d-4b2f-8038-8d287d9e0290(SumTypes_Checker.test.fail_arithmetic)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:621e245e-6257-4f76-815c-cf1196b979d2(SumTypes_Checker.test.fail.case_right_shadow)">
<model ref="r:621e245e-6257-4f76-815c-cf1196b979d2(SumTypes_Checker.test.fail_case_right_shadow)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:c08eeb92-770b-4871-9ce9-e89a2e0399d7(SumTypes_Checker.test.fail.case_unequal_return_types)">
<model ref="r:c08eeb92-770b-4871-9ce9-e89a2e0399d7(SumTypes_Checker.test.fail_case_unequal_return_types)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:999b4f81-8f6e-460d-b975-70793e2b62e2(SumTypes_Checker.test.fail.inl)">
<model ref="r:999b4f81-8f6e-460d-b975-70793e2b62e2(SumTypes_Checker.test.fail_inl)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:f2e84883-9544-4c75-8019-c418d313cd46(SumTypes_Checker.test.fail.inr)">
<model ref="r:f2e84883-9544-4c75-8019-c418d313cd46(SumTypes_Checker.test.fail_inr)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:48182acc-6acf-4871-b0fe-a0e4333031e0(SumTypes_Checker.test.fail.lambda_no_anno)">
<model ref="r:48182acc-6acf-4871-b0fe-a0e4333031e0(SumTypes_Checker.test.fail_lambda_no_anno)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:11878a79-accb-4766-a9a9-f3606d6e7267(SumTypes_Checker.test.ok.anno)">
<model ref="r:11878a79-accb-4766-a9a9-f3606d6e7267(SumTypes_Checker.test.ok_anno)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:2c694cde-7229-4db6-aeb9-493fa1d2c215(SumTypes_Checker.test.ok.anno_in_let)">
<model ref="r:2c694cde-7229-4db6-aeb9-493fa1d2c215(SumTypes_Checker.test.ok_anno_in_let)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:264e7c2c-7e14-4148-b451-479afe8b2765(SumTypes_Checker.test.ok.app_lambda_anno)">
<model ref="r:264e7c2c-7e14-4148-b451-479afe8b2765(SumTypes_Checker.test.ok_app_lambda_anno)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:35c866ef-6de2-4f38-b90d-06764fe4e33f(SumTypes_Checker.test.ok.arithmetic)">
<model ref="r:35c866ef-6de2-4f38-b90d-06764fe4e33f(SumTypes_Checker.test.ok_arithmetic)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:df467971-2eb9-4bab-83a9-e57214a25281(SumTypes_Checker.test.ok.case_left)">
<model ref="r:df467971-2eb9-4bab-83a9-e57214a25281(SumTypes_Checker.test.ok_case_left)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:1affe70d-b8ba-4f62-8a29-b0a0ee7b2369(SumTypes_Checker.test.ok.case_left_shadow)">
<model ref="r:1affe70d-b8ba-4f62-8a29-b0a0ee7b2369(SumTypes_Checker.test.ok_case_left_shadow)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:4874477a-7d63-48bb-83c6-81457814a615(SumTypes_Checker.test.ok.case_right)">
<model ref="r:4874477a-7d63-48bb-83c6-81457814a615(SumTypes_Checker.test.ok_case_right)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:c63cc1d5-dea2-4fd8-878d-1cd3c127f487(SumTypes_Checker.test.ok.inl)">
<model ref="r:c63cc1d5-dea2-4fd8-878d-1cd3c127f487(SumTypes_Checker.test.ok_inl)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:d31d5b14-c99f-44e3-bf3c-bff6e95a4dfb(SumTypes_Checker.test.ok.inr)">
<model ref="r:d31d5b14-c99f-44e3-bf3c-bff6e95a4dfb(SumTypes_Checker.test.ok_inr)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:692440e8-e163-481a-960d-96f2c311ad24(SumTypes_Checker.test.ok.lambda_anno)">
<model ref="r:692440e8-e163-481a-960d-96f2c311ad24(SumTypes_Checker.test.ok_lambda_anno)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:1ed93750-b61e-450a-8a88-f766024e045a(SumTypes_Checker.test.ok.let_with_arithmetic)">
<model ref="r:1ed93750-b61e-450a-8a88-f766024e045a(SumTypes_Checker.test.ok_let_with_arithmetic)">
<persistence version="9" />
<languages>
<use id="08d23328-33fa-47ce-89df-daaa7554f251" name="SumTypes" version="0" />
......
Markdown is supported
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