JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Fix db_get_value after mysql->mysqli upgrade
[wfpl.git] / unit_tests / template.html
index 55b242f..1ba97c7 100644 (file)
@@ -1,24 +1,46 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!DOCTYPE html>
 
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html>
 <head>
-  <title>wfpl unit test results</title>
-  <meta name="robots" content="none" />
-  <style type="text/css">
-    .row_even, .row_odd {
-      font: 14px monospace;
-      margin-top: -1px;
-      border: 1px dotted black;
-      padding: 5px;
-    }
-    .row_even {
-      background-color: #ccf;
-    }
-    .row_odd {
-      background-color: #cfc;
-    }
-  </style>
+       <title>wfpl unit test results</title>
+       <meta name="robots" content="none">
+       <style type="text/css">
+               .row_even, .row_odd, .error_even, .error_odd, .pass_even, .pass_odd {
+                       font: 14px monospace;
+                       margin-top: -1px;
+                       border: 1px dotted black;
+                       padding: 5px;
+               }
+               .row_even {
+                       background-color: #ddf;
+               }
+               .row_odd {
+                       background-color: #def;
+               }
+               .error_even {
+                       font-family: monospace;
+                       background-color: #fcc;
+               }
+               .error_odd {
+                       font-family: monospace;
+                       background-color: #fdb;
+               }
+               .pass_even {
+                       font-family: monospace;
+                       background-color: #cfc;
+               }
+               .pass_odd {
+                       font-family: monospace;
+                       background-color: #bfd;
+               }
+</style>
+<script>
+       function showpass(thus) {
+               var me = $(thus);
+               me.parent().next().show();
+               me.hide();
+       }
+</script>
 </head>
 
 <body>
   <!--~wfpl_messages {~-->
       <div class="row_~row evenodd~">~data htmlbrnbsp~</div>
   <!--~}~-->
+
+       <!--~unit_tests {~-->
+               <!--~files {~-->
+                       <div class="row_~row evenodd~">
+                               <div class="file">running tests in <code>~file html~</code></div>
+                               <!--~fails {~-->
+                                       <div class="error_~err evenodd~">FAIL: ~data htmlbrnbsp~</div>
+                               <!--~}~-->
+                               <!--~count_passed once_if {~-->
+                                       <div><a href="javascript:void(0)" onclick="showpass(this)">~count_failed once_else {~All ~}~~count_passed html~ test~count_passed s~ passed</a></div>
+                                       <div style="display: none">
+                                               <!--~passes {~-->
+                                                       <div class="pass_~pass evenodd~">PASS: ~data htmlbrnbsp~</div>
+                                               <!--~}~-->
+                                       </div>
+                               <!--~}~-->
+                       </div>
+               <!--~}~-->
+               <div class="totals">Total Passed: ~total_passed html~, Total Failed: ~total_failed html~</div>
+       <!--~}~-->
+
+<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
 </body>
 </html>