Home | History | Annotate | Download | only in viewer
      1 <!DOCTYPE html>
      2 
      3 <html ng-app="GMActualResultsLoader">
      4 
      5 <head>
      6   <title>GM Expected-vs-Actual Results Display</title>
      7   <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js"></script>
      8   <script src="module.js"></script>
      9 </head>
     10 
     11 <body>
     12   <div ng-controller="GMActualResultsLoader.Controller" >
     13 
     14     Pick a platform...
     15     <select ng-model="platformPath" ng-change="changePlatformPath()">
     16       <option selected="selected">base-fake/Fake-Platform-Made-Up/base-fake</option>
     17       <option>base-android-nexus-10/Test-Android-Nexus10-MaliT604-Arm7-Release/base-android-nexus-10</option>
     18     </select>
     19 
     20     <p>
     21       <h2>These are NOT live results. To get live results, copy view.html and module.js into
     22         <a href="https://code.google.com/p/skia-autogen/source/browse/#svn%2Fgm-actual">this</a> directory.</h2>
     23       Comparison of expected vs actual GM results for platform {{platformPath}}:
     24 
     25       <ul>
     26         <li ng-repeat="resultsOfOneType in gmActualResults">
     27           <h3>
     28             {{resultsOfOneType['resultType']}}
     29             ({{resultsOfOneType['resultsOfThisType'].length}})
     30           </h3>
     31           <table border="1">
     32             <tr><th>Test/Config</th><th>Expected</th><th>Actual</th></tr>
     33             <tr ng-repeat="result in resultsOfOneType['resultsOfThisType']">
     34               <td>{{result.test}}_{{result.config}}</td>
     35               <td><a target="_blank"
     36                      href="http://chromium-skia-gm.commondatastorage.googleapis.com/gm/{{result.expectedHashType}}/{{result.test}}/{{result.expectedHashValue}}.png">
     37                   {{result.expectedHashValue}}
     38               </a></td>
     39               <td><a target="_blank"
     40                      href="http://chromium-skia-gm.commondatastorage.googleapis.com/gm/{{result.actualHashType}}/{{result.test}}/{{result.actualHashValue}}.png">
     41                   {{result.actualHashValue}}
     42               </a></td>
     43             </tr>
     44           </table>
     45           <p>
     46         </li>
     47       </ul>
     48   </div>
     49 
     50 </body>
     51 </html>
     52