1. Samuele Pedroni
  2. js-infrastructure

Commits

Anders Hammarquist  committed d7f193f

Copy test.css out of MochiKit

  • Participants
  • Parent commits 28fb082
  • Branches debian
  • Tags python-oejskit_0.9.0-1

Comments (0)

Files changed (4)

File MANIFEST.in

View file
 recursive-include oejskit/js *.js
-recursive-include oejskit/testing_rt *.js *.html *.txt
+recursive-include oejskit/testing_rt *.js *.html *.txt *.css
 recursive-include oejskit/weblib *
 recursive-include test *.py *.js *.html
 include README.txt

File debian/changelog

View file
 python-oejskit (0.9.0-1) unstable; urgency=low
 
   * Initial release (Closes: #616071)
+  * Use Debian-provided MochiKit
 
- --
+ -- Anders Hammarquist <iko@debian.org>  Fri, 04 Mar 2011 17:48:06 +0100
 

File oejskit/testing_rt/test.css

View file
+.test_ok {
+	color: green;
+	display: none;
+}
+.test_not_ok {
+	color: red;
+	display: block;
+}
+
+.test_ok, .test_not_ok {
+   border-bottom-width: 2px;
+   border-bottom-style: solid;
+   border-bottom-color: black;
+}
+
+.all_pass {
+    background-color: lime;
+}
+
+.some_fail {
+    background-color: red;
+}
+
+.tests_report {
+	border-width: 2px;
+	border-style: solid;
+	width: 20em;
+}

File oejskit/testing_rt/testing-new.js

View file
     var head = DOM.getFirstElementByTagAndClassName("HEAD")
     DOM.appendChildNodes(head, DOM.createDOM("LINK",
                              {'rel': "stylesheet", 'type': "text/css",
-                            'href': "/lib/mochikit/tests/SimpleTest/test.css"}))
+                            'href': "/browser_testing/rt/test.css"}))
 }
 
 Testing._init()