source: trunk/src/anaToMia/GDL_TmEngine/www-test/us.isidor.gdl.anaToMia.TmEngine.GDL_TmEngine.JUnit/junit-standards.html

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

gdl-frontend: Topic Maps Engine: added a unit-test for the class JtmsTmengine? and the class TopicMap?; modified the referenced file: GDL_TopicMaps_Model.jar

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