Skip to content

Commit

Permalink
fixed test directory
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/jyurek/Backups/repositories/jocha/trunk@6 5317845c-832e-0410-b2c0-db6c5bc7c761
  • Loading branch information
tfwright committed Apr 20, 2007
1 parent 677f5c2 commit fd7598d
Show file tree
Hide file tree
Showing 27 changed files with 2,423 additions and 0 deletions.
120 changes: 120 additions & 0 deletions test/jsunit/app/css/jsUnitStyle.css
@@ -0,0 +1,120 @@
/* jsUnit */
/* ***** 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) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Edward Hieatt, edward@jsunit.net (original author)
* Bob Clary, bc@bclary.com
*
* 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 GPL or the LGPL. 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 ***** */

body
{
margin-top: 0;
margin-bottom: 0;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #000;
font-size: 0.8em;
background-color: #fff;
}

td
{
padding: 0;
margin: 0;
}

td img
{
padding: 0;
margin: 0;
vertical-align: baseline;
display: block;
}

input
{
}

select
{
}

a:link, a:visited
{
color : #00F;
}

a:hover
{
color : #F00;
}

.jsUnitDefault
{
}

h1, th
{
font-size: 1.3em;
font-weight: bold;
color: #039;
}

h2
{
font-weight: bold;
color: #039;
}

h3
{
font-weight: bold;
color: #039;
text-decoration: underline;
}

h4
{
font-weight: bold;
color: #039;
}

.jsUnitTestResultSuccess
{
color: #000;
}

.jsUnitTestResultNotSuccess
{
color: #F00;
}
Expand Down
10 changes: 10 additions & 0 deletions test/jsunit/app/css/readme
@@ -0,0 +1,10 @@
this file is required due to differences in behavior between Mozilla/Opera
and Internet Explorer.

main-data.html calls kickOffTests() which calls top.testManager.start()
in the top most frame. top.testManager.start() initializes the output
frames using document.write and HTML containing a relative <link> to the
jsUnitStyle.css file. In MSIE, the base href used to find the CSS file is
that of the top level frame however in Mozilla/Opera the base href is
that of main-data.html. This leads to not-found for the jsUnitStyle.css
in Mozilla/Opera. Creating app/css/jsUnitStyle.css works around this problem.
13 changes: 13 additions & 0 deletions test/jsunit/app/emptyPage.html
@@ -0,0 +1,13 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- @author Edward Hieatt, edward@jsunit.net -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>emptyPage</title>
</head>

<body>
</body>
</html>

0 comments on commit fd7598d

Please sign in to comment.