%
//
// Jala Project [http://opensvn.csie.org/traccgi/jala]
//
// Copyright 2004 ORF Online und Teletext GmbH
//
// Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an ``AS IS'' BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// $Revision$
// $LastChangedBy$
// $LastChangedDate$
// $HeadURL$
//
%>
Jala Unit Test Runner 
 " />
   
   
      
      
         
            
               Tests 
               Functions 
             
            
               <% test.testsRun %>  run 
               <% test.functionsPassed %>  passed 
             
            
               <% test.testsFailed %>  failed 
               <% test.functionsFailed %>  failed 
             
         
         <% test.results %>
      
 
    
<% #result ------------------------------------------------------------------ %>
Results of '<% param.name %>': 
<% param.log prefix="" suffix=" " %>
<% #item -------------------------------------------------------------------- %>
    /><% param.name %> 
 
<% #logFailed --------------------------------------------------------------- %>
Error 
   <% param.functionName prefix='' suffix='() ' %>
   <% param.name suffix=": " %><% param.message %>
   
   <% param.fileName prefix="at " %><% param.lineNumber prefix=":" %>
   <% param.stackTrace encoding="html" %>
 
<% #logPassed --------------------------------------------------------------- %>
Passed 
<% param.functionName %>() (in <% param.elapsed %> ms)  
<% #stylesheet -------------------------------------------------------------- %>
body {
   font-family: Verdana, Arial, Helvetica;
   font-size: 0.85em;
   margin: 0;
   padding: 0;
}
a {
   text-decoration: none;
   color: #333;
}
a:hover {
   text-decoration: underline;
}
div.header {
   background-color: #aaa;
   border-bottom: 1px solid #333;
   font-size: 18px;
   font-weight: bold;
   color: #ddd;
   padding: 10px 20px;
}
div.header div.title {
   float: left;
   font-size: 18px;
   font-weight: bold;
   color: #ddd;
}
div.header div.directory {
   text-align: right;
   font-size: 11px;
   font-weight: normal;
   color: #eee;
   padding: 5px;
}
div.main {
   margin: 20px;
}
div.footer {
   margin-top: 400px;
   padding: 10px 0 10px 20px;
   clear: both;
   background-color: #eee;
   font-size: 0.7em;
   color: #999;
}
div.list {
   float: left;
   width: 200px;
   padding-right: 30px;
   border-right: 1px solid #ccc;
}
div.list h4 {
   margin: 0;
   padding: 0 0 10px 0;
   font-size: 1em;
}
div.list form {
   margin: 0;
   padding: 0;
}
div.list ul {
   list-style-type: none;
   margin: 0;
   padding: 0;
}
div.list ul li {
   padding: 0;
   margin-top:1px;
   font-size: 0.95em;
}
div.list .submit {
   margin: 15px 0 0 0;
   padding: 0 10px;
   border: 1px solid gray;
}
div.result {
   margin-left: 250px;
   padding-left: 20px;
}
/** statistics **/
table.statistics {
   xborder: 1px solid black;
   border-collapse: collapse;
}
table.statistics th {
   text-align: left;
   font-size: 0.9em;
}
table.statistics td {
   padding-right: 15px;
   color: #666;
}
table.statistics span.passed {
   color: #009900;
   font-weight: bold;
}
table.statistics span.failed {
   color: #cc0000;
   font-weight: bold;
}
/** result formattings **/
div.result h4 {
   font-size: 1em;
   font-weight: bold;
   border-top: 1px solid #ccc;
   padding-top: 20px;
}
dt {
   float: left;
}
dt.test {
   width: 70px;
   padding: 2px 10px;
}
dt.passed {
   background-color:#33cc33;
   font-size: 0.9em;
}
dt.error {
   background-color:#cc0000;
   color: #efefef;
   font-size: 0.9em;
}
dd {
   font-size: 0.95em;
   margin: 0 0 10px 100px;
   padding: 2px;
}
span.title, span.function {
   width: 200px;
   padding-right:10px;
}
span.function {
   font-style: italic;
}
span.elapsed {
   font-size: 0.9em;
}