2 <!-- ***** BEGIN LICENSE BLOCK *****
3 - Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 - The contents of this file are subject to the Mozilla Public License Version
6 - 1.1 (the "License"); you may not use this file except in compliance with
7 - the License. You may obtain a copy of the License at
8 - http://www.mozilla.org/MPL/
10 - Software distributed under the License is distributed on an "AS IS" basis,
11 - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 - for the specific language governing rights and limitations under the
15 - The Original Code is Mozilla Test Cases.
17 - The Initial Developer of the Original Code is
18 - Netscape Communications Corporation.
19 - Portions created by the Initial Developer are Copyright (C) 2001
20 - the Initial Developer. All Rights Reserved.
24 - Alternatively, the contents of this file may be used under the terms of
25 - either the GNU General Public License Version 2 or later (the "GPL"), or
26 - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 - in which case the provisions of the GPL or the LGPL are applicable instead
28 - of those above. If you wish to allow use of your version of this file only
29 - under the terms of either the GPL or the LGPL, and not to allow others to
30 - use your version of this file under the terms of the MPL, indicate your
31 - decision by deleting the provisions above and replace them with the notice
32 - and other provisions required by the LGPL or the GPL. If you do not delete
33 - the provisions above, a recipient may use your version of this file under
34 - the terms of any one of the MPL, the GPL or the LGPL.
36 - ***** END LICENSE BLOCK ***** -->
37 <html xmlns=
"http://www.w3.org/1999/xhtml">
39 <title>Web Service Proxy Tests
</title>
40 <style type=
"text/css">
43 border:
1px solid black;
54 <script type=
"text/javascript">
56 this.wsptest = new WebServiceProxyTest();
59 WSPTest.prototype.onIsPrimeProxyTestComplete = function(str) {
60 document.getElementById(
"id3").firstChild.nodeValue = str;
63 WSPTest.prototype.startTest = function() {
65 document.getElementById(
"id1").firstChild.nodeValue =
"Testing...";
66 document.getElementById(
"id1").firstChild.nodeValue = this.wsptest.testComplexTypeWrapper();
69 document.getElementById(
"id1").firstChild.nodeValue =
"FAILED!";
73 document.getElementById(
"id2").firstChild.nodeValue =
"Testing...";
74 document.getElementById(
"id2").firstChild.nodeValue = this.wsptest.testPropertyBagWrapper();
77 document.getElementById(
"id2").firstChild.nodeValue =
"FAILED!";
81 document.getElementById(
"id3").firstChild.nodeValue =
"Testing...";
82 this.wsptest.testIsPrimeProxy(this);
85 document.getElementById(
"id3").firstChild.nodeValue =
"FAILED!";
89 var test = new WSPTest();
92 <body onload=
"test.startTest()">
93 <h1>Web Service Proxy Tests
</h1>
95 <div class=
"box"><span class=
"boxheader">Complex Type Wrapper Test
</span>
96 <pre id=
"id1">@@No result@@
</pre>
98 <div class=
"box"><span class=
"boxheader">Property Bag Wrapper Test
</span>
99 <pre id=
"id2">@@No result@@
</pre>
101 <div class=
"box"><span class=
"boxheader">IsPrime Proxy Test
</span>
102 <pre id=
"id3">@@No result@@
</pre>