Changeset 952


Ignore:
Timestamp:
09/13/11 23:50:52 (13 years ago)
Author:
wschamai
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modelicaml/org.openmodelica.modelicaml.gen.modelica/src/org/openmodelica/modelicaml/gen/modelica/testexecution/test_execution_report_html.mt

    r944 r952  
    3232
    3333<body>
    34 
     34    <a name="top"></a>
    3535    <!-- Title, Overview -->
    36     <div id='title' style='margin:0;padding:0;position:relative; left:20px; top:22px; text-align:left;z-index:1;'>
     36    <div id='title' style='margin:0;padding:0;position:relative; left:20px; top:0px; text-align:left;z-index:1;'>
    3737        <span style='font-size:18px; line-height:25px;'>Test Execution Report</span>
    3838        <br>
     
    5959    </div>
    6060   
     61    <%report_html_testModels_overview%>
     62   
    6163    <%report_html_testModels%>
    6264   
     
    6466</html>
    6567
     68<%script type="uml.Model" name="report_html_testModels_overview"%>
     69<!-- Overview -->
     70<div style='margin-left:20px; margin-top:20px;'>
     71<%for (getTestModels()){%>
     72    <!-- Test passed/failed  -->
     73    <span style='color:#000000;'>
     74        <script type='text/javascript'>
     75            writeTestPassedString(data['<%qualifiedName%>']['_reqTestVerdict.testPassed']['atLeastOneTimeTrue']);
     76        </script>
     77    </span>
     78   
     79    <!-- Test Model Name-->
     80    <span style='color:#000000; margin-left:10px;'>
     81        <script type='text/javascript'>writeLink('#<%qualifiedName%>', '<strong><%name%></strong>')</script>   
     82    </span>
     83    <script type='text/javascript'>
     84        writePlotLink(testSessionFolderRelativePath + '<%getTestModelQName()%>_res.xml',  'Plot');
     85    </script>
     86    <br>
     87    <!--<span style='color:#000000; font-size:10px;'>(<%qualifiedName%>)</span><br>-->
     88<%}%>
     89</div>
     90
     91
     92
    6693<%script type="uml.Model" name="report_html_testModels"%>
    6794<%for (getTestModels()){%>
    6895<br>
    6996<!-- Test Model '<%qualifiedName%>' START ***************************************************************** -->
     97<a name="<%qualifiedName%>"></a>
    7098<div style='position:relative;background-color:#F0F0F0; border:1px #D2B48C solid;left:20px;top:20px;width:95%;padding:5px;'>
    7199    <div style='margin-left:10px;>
     
    123151    <br>
    124152    <%getRequirementsHTML()%>
    125     <br>
    126 
     153   
     154    <div style='margin-left:10px; margin-top:20px;'>
     155        <a href="#top">... back to overview</a>
     156    </div>
     157   
    127158</div>
    128159<!-- Test Model '<%qualifiedName%>' END ***************************************************************** -->
Note: See TracChangeset for help on using the changeset viewer.