Roger Meier | 0856273 | 2015-06-14 22:30:22 +0200 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
Randy Abernethy | b265230 | 2014-11-15 12:02:57 -0800 | [diff] [blame] | 2 | <!-- |
| 3 | Licensed to the Apache Software Foundation (ASF) under one |
| 4 | or more contributor license agreements. See the NOTICE file |
| 5 | distributed with this work for additional information |
| 6 | regarding copyright ownership. The ASF licenses this file |
| 7 | to you under the Apache License, Version 2.0 (the |
| 8 | "License"); you may not use this file except in compliance |
| 9 | with the License. You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, |
| 14 | software distributed under the License is distributed on an |
| 15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | KIND, either express or implied. See the License for the |
| 17 | specific language governing permissions and limitations |
| 18 | under the License. |
| 19 | --> |
| 20 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 21 | <head> |
| 22 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 23 | <title>Thrift Javascript Bindings: Unit Test</title> |
| 24 | |
| 25 | <script src="build/js/thrift.js" type="text/javascript" charset="utf-8"></script> |
| 26 | <script src="gen-js/ThriftTest_types.js" type="text/javascript" charset="utf-8"></script> |
| 27 | <script src="gen-js/ThriftTest.js" type="text/javascript" charset="utf-8"></script> |
| 28 | |
| 29 | <!-- jQuery --> |
Nobuaki Sukegawa | 63b5120 | 2015-05-10 23:35:07 +0900 | [diff] [blame] | 30 | <script type="text/javascript" src="build/js/lib/jquery.js" charset="utf-8"></script> |
Randy Abernethy | b265230 | 2014-11-15 12:02:57 -0800 | [diff] [blame] | 31 | |
| 32 | <!-- QUnit Test framework--> |
Nobuaki Sukegawa | 63b5120 | 2015-05-10 23:35:07 +0900 | [diff] [blame] | 33 | <script type="text/javascript" src="build/js/lib/qunit.js" charset="utf-8"></script> |
| 34 | <link rel="stylesheet" href="build/js/lib/qunit.css" type="text/css" media="screen" /> |
Randy Abernethy | b265230 | 2014-11-15 12:02:57 -0800 | [diff] [blame] | 35 | |
| 36 | <!-- the Test Suite--> |
| 37 | <script> |
| 38 | var transport = new Thrift.Transport("/service"); |
| 39 | var protocol = new Thrift.Protocol(transport); |
| 40 | var client = new ThriftTest.ThriftTestClient(protocol); |
| 41 | </script> |
| 42 | <script type="text/javascript" src="test.js" charset="utf-8"></script> |
| 43 | <script type="text/javascript" src="test-jq.js" charset="utf-8"></script> |
| 44 | </head> |
| 45 | <body> |
| 46 | <h1 id="qunit-header">Thrift Javascript Bindings: Unit Test (<a href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob;f=test/ThriftTest.thrift;hb=HEAD">ThriftTest.thrift</a>)</h1> |
| 47 | <h2 id="qunit-banner"></h2> |
| 48 | <div id="qunit-testrunner-toolbar"></div> |
| 49 | <h2 id="qunit-userAgent"></h2> |
| 50 | <ol id="qunit-tests"><li><!-- get valid xhtml strict--></li></ol> |
Nobuaki Sukegawa | 42bc88c | 2015-05-10 23:33:36 +0900 | [diff] [blame] | 51 | <!-- Uncomment this to check the validity. This significantly slows down the test. |
Randy Abernethy | b265230 | 2014-11-15 12:02:57 -0800 | [diff] [blame] | 52 | <p> |
| 53 | <a href="http://validator.w3.org/check/referer"><img |
| 54 | src="http://www.w3.org/Icons/valid-xhtml10" |
| 55 | alt="Valid XHTML 1.0!" height="31" width="88" /></a> |
| 56 | </p> |
Nobuaki Sukegawa | 42bc88c | 2015-05-10 23:33:36 +0900 | [diff] [blame] | 57 | --> |
Randy Abernethy | b265230 | 2014-11-15 12:02:57 -0800 | [diff] [blame] | 58 | </body> |
| 59 | </html> |