Tests with problems (' + this.problemsListField.length + ' total) - JsUnit<\/p>'); - resDoc.write('
Running on ' + navigator.userAgent + '
'); - for (var i = 0; i < this.problemsListField.length; i++) - { - resDoc.write(''); - resDoc.write('' + (i + 1) + '. '); - resDoc.write(this.problemsListField[i].text); - resDoc.write('<\/b><\/p>
');
- resDoc.write(this._makeHTMLSafe(this.problemsListField[i].value));
- resDoc.write('<\/pre><\/p>');
- }
-
- resDoc.write('<\/body><\/html>');
- resDoc.close();
-}
-
-jsUnitTestManager.prototype._makeHTMLSafe = function (string) {
- string = string.replace(/&/g, '&');
- string = string.replace(//g, '>');
- return string;
-}
-
-jsUnitTestManager.prototype._clearProblemsList = function () {
- var listField = this.problemsListField;
- var initialLength = listField.options.length;
-
- for (var i = 0; i < initialLength; i++)
- listField.remove(0);
-}
-
-jsUnitTestManager.prototype.initialize = function () {
- this.setStatus('Initializing...');
- this._setRunButtonEnabled(false);
- this._clearProblemsList();
- this.updateProgressIndicators();
- this.setStatus('Done initializing');
-}
-
-jsUnitTestManager.prototype.finalize = function () {
- this._setRunButtonEnabled(true);
-}
-
-jsUnitTestManager.prototype._setRunButtonEnabled = function (b) {
- this.runButton.disabled = !b;
-}
-
-jsUnitTestManager.prototype.getTestFileName = function () {
- var rawEnteredFileName = this.testFileName.value;
- var result = rawEnteredFileName;
-
- while (result.indexOf('\\') != -1)
- result = result.replace('\\', '/');
-
- return result;
-}
-
-jsUnitTestManager.prototype.getTestFunctionName = function () {
- return this._testFunctionName;
-}
-
-jsUnitTestManager.prototype.resolveUserEnteredTestFileName = function (rawText) {
- var userEnteredTestFileName = top.testManager.getTestFileName();
-
- // only test for file:// since Opera uses a different format
- if (userEnteredTestFileName.indexOf('http://') == 0 || userEnteredTestFileName.indexOf('https://') == 0 || userEnteredTestFileName.indexOf('file://') == 0)
- return userEnteredTestFileName;
-
- return getTestFileProtocol() + this.getTestFileName();
-}
-
-jsUnitTestManager.prototype.storeRestoredHTML = function () {
- if (document.getElementById && top.testContainer.testFrame.document.getElementById(jsUnitTestManager.RESTORED_HTML_DIV_ID))
- this._restoredHTML = top.testContainer.testFrame.document.getElementById(jsUnitTestManager.RESTORED_HTML_DIV_ID).innerHTML;
-}
-
-jsUnitTestManager.prototype.fatalError = function(aMessage) {
- if (top.shouldSubmitResults())
- this.setStatus(aMessage);
- else
- alert(aMessage);
-}
-
-jsUnitTestManager.prototype.userConfirm = function(aMessage) {
- if (top.shouldSubmitResults())
- return false;
- else
- return confirm(aMessage);
-}
-
-function getTestFileProtocol() {
- return getDocumentProtocol();
-}
-
-function getDocumentProtocol() {
- var protocol = top.document.location.protocol;
-
- if (protocol == "file:")
- return "file:///";
-
- if (protocol == "http:")
- return "http://";
-
- if (protocol == 'https:')
- return 'https://';
-
- if (protocol == "chrome:")
- return "chrome://";
-
- return null;
-}
-
-function browserSupportsReadingFullPathFromFileField() {
- return !isOpera() && !isIE7();
-}
-
-function isOpera() {
- return navigator.userAgent.toLowerCase().indexOf("opera") != -1;
-}
-
-function isIE7() {
- return navigator.userAgent.toLowerCase().indexOf("msie 7") != -1;
-}
-
-function isBeingRunOverHTTP() {
- return getDocumentProtocol() == "http://";
-}
-
-function getWebserver() {
- if (isBeingRunOverHTTP()) {
- var myUrl = location.href;
- var myUrlWithProtocolStripped = myUrl.substring(myUrl.indexOf("/") + 2);
- return myUrlWithProtocolStripped.substring(0, myUrlWithProtocolStripped.indexOf("/"));
- }
- return null;
-}
-
-// the functions push(anArray, anObject) and pop(anArray)
-// exist because the JavaScript Array.push(anObject) and Array.pop()
-// functions are not available in IE 5.0
-
-function push(anArray, anObject) {
- anArray[anArray.length] = anObject;
-}
-
-function pop(anArray) {
- if (anArray.length >= 1) {
- delete anArray[anArray.length - 1];
- anArray.length--;
- }
-}
-
-if (xbDEBUG.on) {
- xbDebugTraceObject('window', 'jsUnitTestManager');
- xbDebugTraceFunction('window', 'getTestFileProtocol');
- xbDebugTraceFunction('window', 'getDocumentProtocol');
-}
diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/app/jsUnitTestSuite.js b/include/pear/tests/HTML_AJAX/tests/jsunit/app/jsUnitTestSuite.js
deleted file mode 100644
index 3f3eb8cd..00000000
--- a/include/pear/tests/HTML_AJAX/tests/jsunit/app/jsUnitTestSuite.js
+++ /dev/null
@@ -1,44 +0,0 @@
-function jsUnitTestSuite() {
- this.isjsUnitTestSuite = true;
- this.testPages = Array();
- this.pageIndex = 0;
-}
-
-jsUnitTestSuite.prototype.addTestPage = function (pageName)
-{
- this.testPages[this.testPages.length] = pageName;
-}
-
-jsUnitTestSuite.prototype.addTestSuite = function (suite)
-{
- for (var i = 0; i < suite.testPages.length; i++)
- this.addTestPage(suite.testPages[i]);
-}
-
-jsUnitTestSuite.prototype.containsTestPages = function ()
-{
- return this.testPages.length > 0;
-}
-
-jsUnitTestSuite.prototype.nextPage = function ()
-{
- return this.testPages[this.pageIndex++];
-}
-
-jsUnitTestSuite.prototype.hasMorePages = function ()
-{
- return this.pageIndex < this.testPages.length;
-}
-
-jsUnitTestSuite.prototype.clone = function ()
-{
- var clone = new jsUnitTestSuite();
- clone.testPages = this.testPages;
- return clone;
-}
-
-if (xbDEBUG.on)
-{
- xbDebugTraceObject('window', 'jsUnitTestSuite');
-}
-
diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/app/jsUnitTracer.js b/include/pear/tests/HTML_AJAX/tests/jsunit/app/jsUnitTracer.js
deleted file mode 100644
index b120e393..00000000
--- a/include/pear/tests/HTML_AJAX/tests/jsunit/app/jsUnitTracer.js
+++ /dev/null
@@ -1,102 +0,0 @@
-var TRACE_LEVEL_NONE = new JsUnitTraceLevel(0, null);
-var TRACE_LEVEL_WARNING = new JsUnitTraceLevel(1, "#FF0000");
-var TRACE_LEVEL_INFO = new JsUnitTraceLevel(2, "#009966");
-var TRACE_LEVEL_DEBUG = new JsUnitTraceLevel(3, "#0000FF");
-
-function JsUnitTracer(testManager) {
- this._testManager = testManager;
- this._traceWindow = null;
- this.popupWindowsBlocked = false;
-}
-
-JsUnitTracer.prototype.initialize = function() {
- if (this._traceWindow != null && top.testManager.closeTraceWindowOnNewRun.checked)
- this._traceWindow.close();
- this._traceWindow = null;
-}
-
-JsUnitTracer.prototype.finalize = function() {
- if (this._traceWindow != null) {
- this._traceWindow.document.write('<\/body>\n<\/html>');
- this._traceWindow.document.close();
- }
-}
-
-JsUnitTracer.prototype.warn = function() {
- this._trace(arguments[0], arguments[1], TRACE_LEVEL_WARNING);
-}
-
-JsUnitTracer.prototype.inform = function() {
- this._trace(arguments[0], arguments[1], TRACE_LEVEL_INFO);
-}
-
-JsUnitTracer.prototype.debug = function() {
- this._trace(arguments[0], arguments[1], TRACE_LEVEL_DEBUG);
-}
-
-JsUnitTracer.prototype._trace = function(message, value, traceLevel) {
- if (!top.shouldSubmitResults() && this._getChosenTraceLevel().matches(traceLevel)) {
- var traceString = message;
- if (value)
- traceString += ': ' + value;
- var prefix = this._testManager.getTestFileName() + ":" +
- this._testManager.getTestFunctionName() + " - ";
- this._writeToTraceWindow(prefix, traceString, traceLevel);
- }
-}
-
-JsUnitTracer.prototype._getChosenTraceLevel = function() {
- var levelNumber = eval(top.testManager.traceLevel.value);
- return traceLevelByLevelNumber(levelNumber);
-}
-
-JsUnitTracer.prototype._writeToTraceWindow = function(prefix, traceString, traceLevel) {
- var htmlToAppend = '' + prefix + '' + traceString + '<\/p>\n';
- this._getTraceWindow().document.write(htmlToAppend);
-}
-
-JsUnitTracer.prototype._getTraceWindow = function() {
- if (this._traceWindow == null && !top.shouldSubmitResults() && !this.popupWindowsBlocked) {
- this._traceWindow = window.open('', '', 'width=600, height=350,status=no,resizable=yes,scrollbars=yes');
- if (!this._traceWindow)
- this.popupWindowsBlocked = true;
- else {
- var resDoc = this._traceWindow.document;
- resDoc.write('\n
\n\nTracing - JsUnit<\/title>\n\n ');
- resDoc.write('Tracing - JsUnit<\/h2>\n');
- resDoc.write('
(Traces are color coded: ');
- resDoc.write('Warning - ');
- resDoc.write('Information - ');
- resDoc.write('Debug');
- resDoc.write(')
');
- }
- }
- return this._traceWindow;
-}
-
-if (xbDEBUG.on) {
- xbDebugTraceObject('window', 'JsUnitTracer');
-}
-
-function JsUnitTraceLevel(levelNumber, color) {
- this._levelNumber = levelNumber;
- this._color = color;
-}
-
-JsUnitTraceLevel.prototype.matches = function(anotherTraceLevel) {
- return this._levelNumber >= anotherTraceLevel._levelNumber;
-}
-
-JsUnitTraceLevel.prototype.getColor = function() {
- return this._color;
-}
-
-function traceLevelByLevelNumber(levelNumber) {
- switch (levelNumber) {
- case 0: return TRACE_LEVEL_NONE;
- case 1: return TRACE_LEVEL_WARNING;
- case 2: return TRACE_LEVEL_INFO;
- case 3: return TRACE_LEVEL_DEBUG;
- }
- return null;
-}
\ No newline at end of file
diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/app/jsUnitVersionCheck.js b/include/pear/tests/HTML_AJAX/tests/jsunit/app/jsUnitVersionCheck.js
deleted file mode 100644
index 41c88625..00000000
--- a/include/pear/tests/HTML_AJAX/tests/jsunit/app/jsUnitVersionCheck.js
+++ /dev/null
@@ -1,59 +0,0 @@
-var versionRequest;
-
-function isOutOfDate(newVersionNumber) {
- return JSUNIT_VERSION < newVersionNumber;
-}
-
-function sendRequestForLatestVersion(url) {
- versionRequest = createXmlHttpRequest();
- if (versionRequest) {
- versionRequest.onreadystatechange = requestStateChanged;
- versionRequest.open("GET", url, true);
- versionRequest.send(null);
- }
-}
-
-function createXmlHttpRequest() {
- if (window.XMLHttpRequest)
- return new XMLHttpRequest();
- else if (window.ActiveXObject)
- return new ActiveXObject("Microsoft.XMLHTTP");
-}
-
-function requestStateChanged() {
- if (versionRequest && versionRequest.readyState == 4) {
- if (versionRequest.status == 200) {
- var latestVersion = versionRequest.responseText;
- if (isOutOfDate(latestVersion))
- versionNotLatest(latestVersion);
- else
- versionLatest();
- } else
- versionCheckError();
- }
-}
-
-function checkForLatestVersion(url) {
- setLatestVersionDivHTML("Checking for newer version...");
- try {
- sendRequestForLatestVersion(url);
- } catch (e) {
- setLatestVersionDivHTML("An error occurred while checking for a newer version: " + e.message);
- }
-}
-
-function versionNotLatest(latestVersion) {
- setLatestVersionDivHTML('A newer version of JsUnit, version ' + latestVersion + ', is available.');
-}
-
-function versionLatest() {
- setLatestVersionDivHTML("You are running the latest version of JsUnit.");
-}
-
-function setLatestVersionDivHTML(string) {
- document.getElementById("versionCheckDiv").innerHTML = string;
-}
-
-function versionCheckError() {
- setLatestVersionDivHTML("An error occurred while checking for a newer version.");
-}
\ No newline at end of file
diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-counts-errors.html b/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-counts-errors.html
deleted file mode 100644
index ca726b52..00000000
--- a/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-counts-errors.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-Errors: 0
-
-
\ No newline at end of file
diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-counts-failures.html b/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-counts-failures.html
deleted file mode 100644
index 861c78b2..00000000
--- a/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-counts-failures.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-Failures: 0
-
-
-
diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-counts-runs.html b/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-counts-runs.html
deleted file mode 100644
index 5429f8fb..00000000
--- a/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-counts-runs.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-Runs: 0
-
-
-
diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-counts.html b/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-counts.html
deleted file mode 100644
index 0431eae4..00000000
--- a/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-counts.html
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-data.html b/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-data.html
deleted file mode 100644
index 34e279f0..00000000
--- a/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-data.html
+++ /dev/null
@@ -1,178 +0,0 @@
-
-
-
-
- JsUnit main-data.html
-
-
-
-
-
-
-
-![]() |
- - |
- JsUnit TestRunner- Running on - - |
-
-
-
- www.jsunit.net - - -
-
- |
-
|---|
- - - - diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-frame.html b/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-frame.html deleted file mode 100644 index af0dc7a7..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/app/main-frame.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
| Progress: | - -
- |
-
Javascript Debug Window
'); - this.debugwindow.focus(); -} - -xbDebug.prototype.close = function () -{ - if (!this.debugwindow) - return; - - if (!this.debugwindow.closed) - this.debugwindow.close(); - - // bc 2002-02-07, other windows may still hold a reference to this: this.debugwindow = null; -} - -xbDebug.prototype.dump = function (msg) -{ - if (!this.on) - return; - - if (!this.debugwindow || this.debugwindow.closed) - this.open(); - - this.debugwindow.document.write(msg + ''); - - return; -} - -var xbDEBUG = new xbDebug(); - -window.onunload = function () { - xbDEBUG.close(); -} - -function xbDebugGetFunctionName(funcref) -{ - - if (!funcref) - { - return ''; - } - - if (funcref.name) - return funcref.name; - - var name = funcref + ''; - name = name.substring(name.indexOf(' ') + 1, name.indexOf('(')); - funcref.name = name; - - if (!name) alert('name not defined'); - return name; -} - -// emulate functionref.apply for IE mac and IE win < 5.5 -function xbDebugApplyFunction(funcname, funcref, thisref, argumentsref) -{ - var rv; - - if (!funcref) - { - alert('xbDebugApplyFunction: funcref is null'); - } - - if (typeof(funcref.apply) != 'undefined') - return funcref.apply(thisref, argumentsref); - - var applyexpr = 'thisref.xbDebug_orig_' + funcname + '('; - var i; - - for (i = 0; i < argumentsref.length; i++) - { - applyexpr += 'argumentsref[' + i + '],'; - } - - if (argumentsref.length > 0) - { - applyexpr = applyexpr.substring(0, applyexpr.length - 1); - } - - applyexpr += ')'; - - return eval(applyexpr); -} - -function xbDebugCreateFunctionWrapper(scopename, funcname, precall, postcall) -{ - var wrappedfunc; - var scopeobject = eval(scopename); - var funcref = scopeobject[funcname]; - - scopeobject['xbDebug_orig_' + funcname] = funcref; - - wrappedfunc = function () - { - var rv; - - precall(scopename, funcname, arguments); - rv = xbDebugApplyFunction(funcname, funcref, scopeobject, arguments); - postcall(scopename, funcname, arguments, rv); - return rv; - }; - - if (typeof(funcref.constructor) != 'undefined') - wrappedfunc.constructor = funcref.constuctor; - - if (typeof(funcref.prototype) != 'undefined') - wrappedfunc.prototype = funcref.prototype; - - scopeobject[funcname] = wrappedfunc; -} - -function xbDebugCreateMethodWrapper(contextname, classname, methodname, precall, postcall) -{ - var context = eval(contextname); - var methodref = context[classname].prototype[methodname]; - - context[classname].prototype['xbDebug_orig_' + methodname] = methodref; - - var wrappedmethod = function () - { - var rv; - // eval 'this' at method run time to pick up reference to the object's instance - var thisref = eval('this'); - // eval 'arguments' at method run time to pick up method's arguments - var argsref = arguments; - - precall(contextname + '.' + classname, methodname, argsref); - rv = xbDebugApplyFunction(methodname, methodref, thisref, argsref); - postcall(contextname + '.' + classname, methodname, argsref, rv); - return rv; - }; - - return wrappedmethod; -} - -function xbDebugPersistToString(obj) -{ - var s = ''; - var p; - - if (obj == null) - return 'null'; - - switch (typeof(obj)) - { - case 'number': - return obj; - case 'string': - return '"' + obj + '"'; - case 'undefined': - return 'undefined'; - case 'boolean': - return obj + ''; - } - - if (obj.constructor) - return '[' + xbDebugGetFunctionName(obj.constructor) + ']'; - - return null; -} - -function xbDebugTraceBefore(scopename, funcname, funcarguments) -{ - var i; - var s = ''; - var execprofile = xbDEBUG.execprofile[scopename + '.' + funcname]; - if (!execprofile) - execprofile = xbDEBUG.execprofile[scopename + '.' + funcname] = { started: 0, time: 0, count: 0 }; - - for (i = 0; i < funcarguments.length; i++) - { - s += xbDebugPersistToString(funcarguments[i]); - if (i < funcarguments.length - 1) - s += ', '; - } - - xbDEBUG.dump('enter ' + scopename + '.' + funcname + '(' + s + ')'); - execprofile.started = (new Date()).getTime(); -} - -function xbDebugTraceAfter(scopename, funcname, funcarguments, rv) -{ - var i; - var s = ''; - var execprofile = xbDEBUG.execprofile[scopename + '.' + funcname]; - if (!execprofile) - xbDEBUG.dump('xbDebugTraceAfter: execprofile not created for ' + scopename + '.' + funcname); - else if (execprofile.started == 0) - xbDEBUG.dump('xbDebugTraceAfter: execprofile.started == 0 for ' + scopename + '.' + funcname); - else - { - execprofile.time += (new Date()).getTime() - execprofile.started; - execprofile.count++; - execprofile.started = 0; - } - - for (i = 0; i < funcarguments.length; i++) - { - s += xbDebugPersistToString(funcarguments[i]); - if (i < funcarguments.length - 1) - s += ', '; - } - - xbDEBUG.dump('exit ' + scopename + '.' + funcname + '(' + s + ')==' + xbDebugPersistToString(rv)); -} - -function xbDebugTraceFunction(scopename, funcname) -{ - xbDebugCreateFunctionWrapper(scopename, funcname, xbDebugTraceBefore, xbDebugTraceAfter); -} - -function xbDebugTraceObject(contextname, classname) -{ - var classref = eval(contextname + '.' + classname); - var p; - var sp; - - if (!classref || !classref.prototype) - return; - - for (p in classref.prototype) - { - sp = p + ''; - if (typeof(classref.prototype[sp]) == 'function' && (sp).indexOf('xbDebug_orig') == -1) - { - classref.prototype[sp] = xbDebugCreateMethodWrapper(contextname, classname, sp, xbDebugTraceBefore, xbDebugTraceAfter); - } - } -} - -function xbDebugDumpProfile() -{ - var p; - var execprofile; - var avg; - - for (p in xbDEBUG.execprofile) - { - execprofile = xbDEBUG.execprofile[p]; - avg = Math.round(100 * execprofile.time / execprofile.count) / 100; - xbDEBUG.dump('Execution profile ' + p + ' called ' + execprofile.count + ' times. Total time=' + execprofile.time + 'ms. Avg Time=' + avg + 'ms.'); - } -} diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/changelog.txt b/include/pear/tests/HTML_AJAX/tests/jsunit/changelog.txt deleted file mode 100644 index c3b520f9..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/changelog.txt +++ /dev/null @@ -1,60 +0,0 @@ -TRACING -- Tracing is now color coded by trace level -- Traces are now prefixed with the Test Page and Test Function from which the trace is made - -ASSERTION FUNCTIONS -- assertArrayEquals(array1, array2) introduced -- assertObjectEquals(object1, object2) introduced -- assertHTMLEquals function introduced -- assertEvaluatesToTrue and assertEvaluatesToFalse introduced -- assertHashEquals } -- assertRoughlyEquals } Pivotal functions -- assertContains } - -- changed expected/actual values display strings to use angle brackets, rather than square brackets - -- CLIENT-SIDE -- HTML in result output is now correctly escaped -- page load timeout changed to 120 seconds by default -- setup page timeout change to 120 seconds by default -- cache-buster for testpage retrieval & results submission -- jsUnitRestoredHTMLDiv -- turn off tracing, alerts, confirms when submitting -- testPage parameter should be URL-encoded (only opera cares though) -- Speed-up of Firefox/Mozilla (thanks to Chris Wesseling) -- jsUnitMockTimeout.js (thanks to Pivotal, especially Nathan Wilmes) - -SERVER -- start-browser scripts in bin -- Migration of Java code to require Java 5.0 -- JSPs require a JDK -- StandaloneTest and DistributedTest continue on after a failure in a particular browser or remote server respectively -- StandaloneTest has a suite() method that makes the test run have multiple JUnit tests, one per browser -- DistribuedTest has a suite() method that makes the test run have multiple JUnit tests, one per remote machine URL -- Change to XML output format of test runs to include more information and be more hierarchical (machine->browser->test page->test case) -- Logs are now prefixed with "JSTEST-" in order to match JUnit's "TEST-" -- Logs now contain the browser ID (e.g. JSTEST-12345.5.xml means browser with ID 5); displayer servlet now takes an id and a browserId parameter -- added support for launching the default system browser on Windows and UNIX (see the constant on net.jsunit.StandaloneTest) -- StandaloneTest now runs tests in all specified browsers, even after an earlier browser failed -- New "config" servlet that shows the configuration as XML of the server -- Distributed Tests now send back an XML document that includes the XML for browser results as opposed to just a "success"/"failure" node -- runner servlet takes a "url" querystring parameter that overrides the server's url property -- test run requests to the JsUnitServer and the FarmServer are queued up and in serial so that different clients don't step on eachother -- addition of new configuration parameter, "closeBrowsersAfterTestRuns", for whether to attempt to close browsers after test runs -- addition of new configuration property, "timeoutSeconds", for how long to time browsers out -- addition of new configuration property, "ignoreUnresponsiveRemoteMachines", for whether to care that remote machines don't uccessfully run the tests -- addition of new configuration property, "description", which contains a human-readable description of the server -- new index.jsp ("/") page -- jsunit.org registered; redirects to edwardh.com/jsunit - -BUGS -- fix for "retry test run" bug -- bug 1070436 fixed -- bug with multiple browsers and resultId specified fixed -- Bug 1281427 fixed (test submission for Opera) -- Safari fix -- Bug 1431040 fixed - -ECLIPSE PLUGIN -- Eclipse plugin version 1.0 - diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/css/jsUnitStyle.css b/include/pear/tests/HTML_AJAX/tests/jsunit/css/jsUnitStyle.css deleted file mode 100644 index cee68496..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/css/jsUnitStyle.css +++ /dev/null @@ -1,83 +0,0 @@ -body { - margin-top: 0; - margin-bottom: 0; - font-family: Verdana, Arial, Helvetica, sans-serif; - color: #000; - font-size: 0.8em; - background-color: #fff; -} - -a:link, a:visited { - color: #00F; -} - -a:hover { - color: #F00; -} - -h1 { - font-size: 1.2em; - font-weight: bold; - color: #039; - font-family: Verdana, Arial, Helvetica, sans-serif; -} - -h2 { - font-weight: bold; - color: #039; - font-family: Verdana, Arial, Helvetica, sans-serif; -} - -h3 { - font-weight: bold; - color: #039; - text-decoration: underline; - font-family: Verdana, Arial, Helvetica, sans-serif; -} - -h4 { - font-weight: bold; - color: #039; - font-family: Verdana, Arial, Helvetica, sans-serif; -} - -.jsUnitTestResultSuccess { - color: #000; -} - -.jsUnitTestResultNotSuccess { - color: #F00; -} - -.unselectedTab { - font-family: Verdana, Arial, Helvetica, sans-serif; - height: 26px; - background: #FFFFFF; - border-style: solid; - border-bottom-width: 1px; - border-top-width: 1px; - border-left-width: 1px; - border-right-width: 1px; -} - -.selectedTab { - font-family: Verdana, Arial, Helvetica, sans-serif; - height: 26px; - background: #DDDDDD; - font-weight: bold; - border-style: solid; - border-bottom-width: 0px; - border-top-width: 1px; - border-left-width: 1px; - border-right-width: 1px; -} - -.tabHeaderSeparator { - height: 26px; - background: #FFFFFF; - border-style: solid; - border-bottom-width: 1px; - border-top-width: 0px; - border-left-width: 0px; - border-right-width: 0px; -} \ No newline at end of file diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/images/green.gif b/include/pear/tests/HTML_AJAX/tests/jsunit/images/green.gif deleted file mode 100644 index b57ca342..00000000 Binary files a/include/pear/tests/HTML_AJAX/tests/jsunit/images/green.gif and /dev/null differ diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/images/logo_jsunit.gif b/include/pear/tests/HTML_AJAX/tests/jsunit/images/logo_jsunit.gif deleted file mode 100644 index 65b4bda2..00000000 Binary files a/include/pear/tests/HTML_AJAX/tests/jsunit/images/logo_jsunit.gif and /dev/null differ diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/images/powerby-transparent.gif b/include/pear/tests/HTML_AJAX/tests/jsunit/images/powerby-transparent.gif deleted file mode 100644 index 69c7d9df..00000000 Binary files a/include/pear/tests/HTML_AJAX/tests/jsunit/images/powerby-transparent.gif and /dev/null differ diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/images/red.gif b/include/pear/tests/HTML_AJAX/tests/jsunit/images/red.gif deleted file mode 100644 index 262550d9..00000000 Binary files a/include/pear/tests/HTML_AJAX/tests/jsunit/images/red.gif and /dev/null differ diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/licenses/JDOM_license.txt b/include/pear/tests/HTML_AJAX/tests/jsunit/licenses/JDOM_license.txt deleted file mode 100644 index 86e1d549..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/licenses/JDOM_license.txt +++ /dev/null @@ -1,56 +0,0 @@ -/*-- - - $Id: JDOM_license.txt 81 2003-07-24 04:44:54Z edwardhieatt $ - - Copyright (C) 2000-2003 Jason Hunter & Brett McLaughlin. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions, and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions, and the disclaimer that follows - these conditions in the documentation and/or other materials - provided with the distribution. - - 3. The name "JDOM" must not be used to endorse or promote products - derived from this software without prior written permission. For - written permission, please contact
- - The intent of this document is to state the conditions under which the - Jetty Package may be copied, such that the Copyright Holder maintains some - semblance of control over the development of the package, while giving the - users of the package the right to use, distribute and make reasonable - modifications to the Package in accordance with the goals and ideals of - the Open Source concept as described at - http://www.opensource.org. - -
- It is the intent of this license to allow commercial usage of the Jetty - package, so long as the source code is distributed or suitable visible - credit given or other arrangements made with the copyright holders. - -
Definitions: - -
- -
-
-
- "Jetty" refers to the collection of Java classes that are
- distributed as a HTTP server with servlet capabilities and
- associated utilities.
-
-
- -
- "Package" refers to the collection of files distributed by the
- Copyright Holder, and derivatives of that collection of files
- created through textual modification.
-
-
- -
- "Standard Version" refers to such a Package if it has not been
- modified, or has been modified in accordance with the wishes
- of the Copyright Holder.
-
-
- -
- "Copyright Holder" is whoever is named in the copyright or
- copyrights for the package.
- Mort Bay Consulting Pty. Ltd. (Australia) is the "Copyright - Holder" for the Jetty package. - -- -
- "You" is you, if you're thinking about copying or distributing
- this Package.
-
-
- -
- "Reasonable copying fee" is whatever you can justify on the
- basis of media cost, duplication charges, time of people involved,
- and so on. (You will not be required to justify it to the
- Copyright Holder, but only to the computing community at large
- as a market that must bear the fee.)
-
-
- -
- "Freely Available" means that no fee is charged for the item
- itself, though there may be fees involved in handling the item.
- It also means that recipients of the item may redistribute it
- under the same conditions they received it.
-
-
-
- - 1. The Standard Version of the Jetty package is - available from http://jetty.mortbay.org. - -
- - 2. You may make and distribute verbatim copies of the source form - of the Standard Version of this Package without restriction, provided that - you include this license and all of the original copyright notices - and associated disclaimers. - -
- - 3. You may make and distribute verbatim copies of the compiled form of the - Standard Version of this Package without restriction, provided that you - include this license. - -
- - 4. You may apply bug fixes, portability fixes and other modifications - derived from the Public Domain or from the Copyright Holder. A Package - modified in such a way shall still be considered the Standard Version. - -
- - 5. You may otherwise modify your copy of this Package in any way, provided - that you insert a prominent notice in each changed file stating how and - when you changed that file, and provided that you do at least ONE of the - following: - -
- -
- a) Place your modifications in the Public Domain or otherwise make them - Freely Available, such as by posting said modifications to Usenet or - an equivalent medium, or placing the modifications on a major archive - site such as ftp.uu.net, or by allowing the Copyright Holder to include - your modifications in the Standard Version of the Package.- -6. You may distribute modifications or subsets of this Package in source -code or compiled form, provided that you do at least ONE of the following:- - b) Use the modified Package only within your corporation or organization. - -
- - c) Rename any non-standard classes so the names do not conflict - with standard classes, which must also be provided, and provide - a separate manual page for each non-standard class that clearly - documents how it differs from the Standard Version. - -
- - d) Make other arrangements with the Copyright Holder. - -
-
- -
- a) Distribute this license and all original copyright messages, together - with instructions (in the about dialog, manual page or equivalent) on where - to get the complete Standard Version.- -7. You may charge a reasonable copying fee for any distribution of this -Package. You may charge any fee you choose for support of this Package. -You may not charge a fee for this Package itself. However, -you may distribute this Package in aggregate with other (possibly -commercial) programs as part of a larger (possibly commercial) software -distribution provided that you meet the other distribution requirements -of this license.- - b) Accompany the distribution with the machine-readable source of - the Package with your modifications. The modified package must include - this license and all of the original copyright notices and associated - disclaimers, together with instructions on where to get the complete - Standard Version. - -
- - c) Make other arrangements with the Copyright Holder. - -
-
- - 8. Input to or the output produced from the programs of this Package - do not automatically fall under the copyright of this Package, but - belong to whomever generated them, and may be sold commercially, and - may be aggregated with this Package. - -
- - 9. Any program subroutines supplied by you and linked into this Package - shall not be considered part of this Package. - -
- - 10. The name of the Copyright Holder may not be used to endorse or promote - products derived from this software without specific prior written - permission. - -
- - 11. This license may change with each release of a Standard Version of - the Package. You may choose to use the license associated with version - you are using or the license of the latest Standard Version. - -
- - 12. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR - IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. - -
- - 13. If any superior law implies a warranty, the sole remedy under such shall - be , at the Copyright Holders option either a) return of any price paid or - b) use or reasonable endeavours to repair or replace the software. - -
- - 14. This license shall be read under the laws of Australia. - -
- -
JsUnit Licenses |
-
-
- JsUnit Home - edward@jsunit.net - |
|---|
Third-party licenses:
--
-
- JDOM: Portions of this software are copyright Copyright (C) 2000-2003 Jason Hunter & Brett McLaughlin. All - rights reserved. See JDOM_license.txt. -
- Jetty: Portions of this software are copyright � Mort Bay Consulting Pty. Ltd. (Australia) and others. All - Rights Reserved. See Jetty_license.html. -
- Individual files in this package may contain additional copyright notices. The javax.servlet packages are - copyright Sun Microsystems Inc. All Rights Reserved. -
JsUnit licenses:
- JsUnit is licensed under 3 different licenses giving you the freedom - to use, modify and distribute JsUnit in a variety of fashions. - - --
-
-
-
-
-
See mozilla.org - for more details.
-
-
- -
-
-
-
See www.gnu.org - for more details.
-
-
- -
-
-
-
See www.gnu.org - for more details.
-
-
- Every Java and JavaScript source file in this distribution should be considered to be under the following licensing - terms. -
- ***** BEGIN LICENSE BLOCK ***** - - Version: MPL 1.1/GPL 2.0/LGPL 2.1 - - - - The contents of this file are subject to the Mozilla Public License Version - - 1.1 (the "License"); you may not use this file except in compliance with - - the License. You may obtain a copy of the License at - - http://www.mozilla.org/MPL/ - - - - Software distributed under the License is distributed on an "AS IS" basis, - - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - - for the specific language governing rights and limitations under the - - License. - - - - The Original Code is Edward Hieatt code. - - - - The Initial Developer of the Original Code is - - Edward Hieatt, edward@jsunit.net. - - Portions created by the Initial Developer are Copyright (C) 2003 - - the Initial Developer. All Rights Reserved. - - - - Author Edward Hieatt, edward@jsunit.net - - - - Alternatively, the contents of this file may be used under the terms of - - either the GNU General Public License Version 2 or later (the "GPL"), or - - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - - in which case the provisions of the GPL or the LGPL are applicable instead - - of those above. If you wish to allow use of your version of this file only - - under the terms of either the GPL or the LGPL, and not to allow others to - - use your version of this file under the terms of the MPL, indicate your - - decision by deleting the provisions above and replace them with the notice - - and other provisions required by the LGPL or the GPL. If you do not delete - - the provisions above, a recipient may use your version of this file under - - the terms of any one of the MPL, the GPL or the LGPL. - - - - ***** END LICENSE BLOCK ***** -- - - - diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/licenses/lgpl-2.1.txt b/include/pear/tests/HTML_AJAX/tests/jsunit/licenses/lgpl-2.1.txt deleted file mode 100644 index cbee875b..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/licenses/lgpl-2.1.txt +++ /dev/null @@ -1,504 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - -
foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- -foo
- - diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/data/staff.css b/include/pear/tests/HTML_AJAX/tests/jsunit/tests/data/staff.css deleted file mode 100644 index ae8e2ebc..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/data/staff.css +++ /dev/null @@ -1,30 +0,0 @@ -staff { - display: table; - color: black; - background-color: white; - border: solid 1px black; -} - -employee { - display: table-row; - border: solid 1px black; - padding: 1px; -} - -employeeId, name, position, salary, gender, address { - display: table-cell; - border: solid 1px black; - padding: 1px; -} - -address[domestic="Yes"] { - background-color: silver; -} - -address[street="Yes"] { - color: green; -} - -address[street="No"] { - color: red; -} diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/data/staff.dtd b/include/pear/tests/HTML_AJAX/tests/jsunit/tests/data/staff.dtd deleted file mode 100644 index d6c24a0d..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/data/staff.dtd +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/data/staff.xml b/include/pear/tests/HTML_AJAX/tests/jsunit/tests/data/staff.xml deleted file mode 100644 index c0ca1d60..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/data/staff.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Element data"> - - - - - ]> - -JsUnit Assertion Tests
- -This page contains tests for the JsUnit Assertion - functions. To see them, take a look at the source.
- - diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitFrameworkUtilityTests.html b/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitFrameworkUtilityTests.html deleted file mode 100644 index 1d50a233..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitFrameworkUtilityTests.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - -JsUnit Utility Tests
- -This page contains tests for the JsUnit framework uses. To see them, take a look at the source.
- - diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitMockTimeoutTest.html b/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitMockTimeoutTest.html deleted file mode 100644 index 48242ba3..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitMockTimeoutTest.html +++ /dev/null @@ -1,180 +0,0 @@ - - -JsUnit OnLoad Tests
- -This page contains tests for the JsUnit Framework. To see them, take a look at the source.
- - diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitRestoredHTMLDivTests.html b/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitRestoredHTMLDivTests.html deleted file mode 100644 index ca5834df..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitRestoredHTMLDivTests.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - -JsUnit Framework tests
- -This page contains tests for the JsUnit setUp and tearDown framework. To see them, take a look at the source.
- -JsUnit Framework tests
- -This page contains tests for the JsUnit setUp and tearDown framework. To see them, take a look at the source.
- - diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitTestLoadData.html b/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitTestLoadData.html deleted file mode 100644 index 86711a38..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitTestLoadData.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - -JsUnit Asynchronous Load Tests
- -This page tests loading data documents asynchronously. To see them, take a look at the source.
- - diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitTestLoadStaff.html b/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitTestLoadStaff.html deleted file mode 100644 index a2452c53..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitTestLoadStaff.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - -JsUnit Load XML
- -This page tests loading XML. To see them, take a look at the source.
- - diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitTestSetUpPages.html b/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitTestSetUpPages.html deleted file mode 100644 index 27673817..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitTestSetUpPages.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - -JsUnit Asynchronous setUpPages
- -This page tests asynchronoush pre tests. To see them, take a look at the source.
- - - diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitTestSetUpPagesSuite.html b/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitTestSetUpPagesSuite.html deleted file mode 100644 index df307973..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitTestSetUpPagesSuite.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - -JsUnit Test Suite
- -This page contains a suite of tests for testing JsUnit's setUpPages functionality.
- - diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitTestSuite.html b/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitTestSuite.html deleted file mode 100644 index d35483dc..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitTestSuite.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - -JsUnit Test Suite
- -This page contains a suite of tests for testing JsUnit.
- - diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitUtilityTests.html b/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitUtilityTests.html deleted file mode 100644 index 1b0067b1..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitUtilityTests.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - -JsUnit Utility Tests
- -This page contains tests for the utility functions - that JsUnit uses. To see them, take a look at the source.
- - diff --git a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitVersionCheckTests.html b/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitVersionCheckTests.html deleted file mode 100644 index 7f6d767f..00000000 --- a/include/pear/tests/HTML_AJAX/tests/jsunit/tests/jsUnitVersionCheckTests.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - -JsUnit Version Check Tests
- -This page contains tests for the version checking code in JsUnit that looks to see whether a newer version of JsUnit - is available. To see them, take a look at the source.
- - diff --git a/include/pear/tests/HTML_AJAX/tests/testRunner.html b/include/pear/tests/HTML_AJAX/tests/testRunner.html deleted file mode 100644 index 7813c963..00000000 --- a/include/pear/tests/HTML_AJAX/tests/testRunner.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - -
-