blob: 0f918beb3a91e6568f81cb2ee1ba03e88355d6b5 [file] [log] [blame]
Roger Meier41ad4342015-03-24 22:30:40 +01001<!--
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18
19-->
cdwijayarathna3f679782014-07-09 14:00:33 +053020<!DOCTYPE HTML>
21<html>
22<head>
23<meta charset="utf-8">
24<title>Apache Thrift - integration test suite</title>
Roger Meier41ad4342015-03-24 22:30:40 +010025<link rel="stylesheet" type="text/css" href="http://cdn.datatables.net/1.10.4/css/jquery.dataTables.css">
26<script type="text/javascript" charset="utf-8" src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
27<script type="text/javascript" charset="utf-8" src="http://cdn.datatables.net/1.10.4/js/jquery.dataTables.js"></script>
cdwijayarathna3f679782014-07-09 14:00:33 +053028<script>
Roger Meier41ad4342015-03-24 22:30:40 +010029$.getJSON('results.json', function(results) {
30 $(document).ready(function() {
31 var transport = 3;
32 var socket = 4;
33 var success = 5;
34 var expected = 6;
35 var returnCode = 7;
36 var logFile = 8;
37 testTable = $('#test_results').DataTable({
38 data: results['results'],
39 columnDefs: [
40 {
41 targets: 3,
42 render: function(data, type, row) {
43 return row[transport] + '-' + row[socket];
44 },
Roger Meiere8bafb62014-08-01 23:39:32 +020045 },
Roger Meier41ad4342015-03-24 22:30:40 +010046 {
47 targets: 4,
48 render: function(data, type, row) {
49 return (row[success] ? 'success' : 'failure')
50 + '(' + (row[returnCode] == 128 ? 'timeout' : row[returnCode]) + ')'
51 + '(<a href="' + row[logFile].server + '">Server</a>, '
52 + '<a href="' + row[logFile].client + '">Client</a>)';
53 },
54 },
55 {
56 targets: 5,
57 render: function(data, type, row) {
58 // 'yes' rather than 'expected' to ease search
59 return row[expected] ? 'yes' : 'unexpected';
60 },
61 }
62 ],
cdwijayarathna3f679782014-07-09 14:00:33 +053063 });
Roger Meier41ad4342015-03-24 22:30:40 +010064 $('#test_results_filter label input').focus().val('unexpected failure');
65 $('#test_info').text(
66 "Test Date: " + results['date'] + "\n" +
67 "Revision: " + results['revision'] + "\n" +
68 "Platform: " + results['platform'] + "\n" +
69 "Test duration: " + results['duration']) + " seconds";
70 });
71});
cdwijayarathna3f679782014-07-09 14:00:33 +053072</script>
73</head>
74<body>
75<h2>Apache Thrift - integration test suite: Results</h2>
76<table id="test_results" class="display">
77 <thead>
78 <tr>
79 <th>Server</th>
80 <th>Client</th>
81 <th>Protocol</th>
82 <th>Transport</th>
83 <th>Result (log)</th>
Roger Meier41ad4342015-03-24 22:30:40 +010084 <th>Expected</th>
cdwijayarathna3f679782014-07-09 14:00:33 +053085 </tr>
86 </thead>
87</table>
Roger Meier41ad4342015-03-24 22:30:40 +010088<h2>Test Information</h2>
89<pre id="test_info"></pre>
cdwijayarathna3f679782014-07-09 14:00:33 +053090</body>
91</html>