source: trunk/src/anaToMia/GDL_TmEngine/war/us.isidor.gdl.anaToMia.TmEngine.GDL_TmEngine.JUnit/junit.html

Last change on this file was 815, checked in by lgiessmann, 13 years ago

gdl-frontend: TmEngine?: fixed some bugs

File size: 2.3 KB
Line 
1<!--
2Copyright 2008 Google Inc.
3
4Licensed under the Apache License, Version 2.0 (the "License"); you may not
5use this file except in compliance with the License. You may obtain a copy of
6the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13License for the specific language governing permissions and limitations under
14the License.
15-->
16<html>
17<head>
18<meta name='gwt:onLoadErrorFn' content='junitOnLoadErrorFn'>
19<meta name='gwt:onPropertyErrorFn' content='junitOnPropertyErrorFn'>
20</head>
21<body>
22<script language='javascript'>
23<!--
24function junitOnLoadErrorFn(moduleName) {
25  junitError('Failed to load module "' + moduleName +
26    '".\nPlease see the log for details.');
27}
28
29function junitOnPropertyErrorFn(propName, allowedValues, badValue) {
30  var msg = 'While attempting to load the module, property "' + propName;
31  if (badValue != null) {
32    msg += '" was set to the unexpected value "' + badValue + '"';
33  } else {
34    msg += '" was not specified';
35  }
36  msg += 'Allowed values: ' + allowedValues;
37  junitError(msg);
38}
39
40function junitError(msg) {
41  var xmlHttpRequest = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP");
42  xmlHttpRequest.open('POST', 'junithost/loadError', true);
43  xmlHttpRequest.setRequestHeader('Content-Type', 'text/x-gwt-rpc; charset=utf-8');
44  xmlHttpRequest.send(msg);
45}
46
47function loadSelectionScript() {
48  var moduleName = document.location.href;
49  var pos = moduleName.lastIndexOf('/');
50  moduleName = moduleName.substr(0, pos);
51  pos = moduleName.lastIndexOf('/');
52  moduleName = moduleName.substr(pos + 1);
53  document.write("<script language='javascript' src='" + moduleName + ".nocache.js'></script>");
54}
55loadSelectionScript();
56-->
57</script>
58<iframe src="javascript:''" id='__gwt_historyFrame' style='position:absolute;width:0;height:0;border:0'></iframe>
59<noscript>
60  <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
61    Your web browser must have JavaScript enabled
62    in order for this application to display correctly.
63  </div>
64</noscript>
65</body>
66</html>
Note: See TracBrowser for help on using the repository browser.