|
|
Adds tests and reworks the Rhino test runner to make it a bit easier to
write the tests.
* Changed RhinoTestBed.runJsUnittestFromHtml to take an HTML tree,
and to properly find script elements in that HTML using the
HTML parser, and to cajole script elements that have "use strict,cajita";.
* Added an HTML test TamingTest.java/taming_test.html.
This test currently breaks if the IGNORE_KNOWN_FAILURES flag is set to
false.
Submitted @3348
Total comments: 17
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+530 lines, -90 lines) |
Patch |
 |
M |
src/com/google/caja/cajita.js
|
View
|
1
2
|
3 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/com/google/caja/lexer/CharProducer.java
|
View
|
1
2
|
2 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/com/google/caja/lexer/CssLexer.java
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/com/google/caja/lexer/HtmlLexer.java
|
View
|
1
2
|
3 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
src/com/google/caja/lexer/InputElementSplitter.java
|
View
|
1
2
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/com/google/caja/parser/html/DomTree.java
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/AllTests.java
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/demos/calendar/EventStoreTest.java
|
View
|
1
2
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/demos/calendar/HcalTest.java
|
View
|
1
2
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/demos/calendar/LayoutTest.java
|
View
|
1
2
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/demos/calendar/RRuleTest.java
|
View
|
1
2
|
1 chunk |
+13 lines, -9 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/opensocial/applet/TestBedTest.java
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A |
tests/com/google/caja/parser/quasiliteral/TamingTest.java
|
View
|
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/com/google/caja/parser/quasiliteral/taming_test.html
|
View
|
1
2
|
1 chunk |
+275 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/JsHtmlSanitizerTest.java
|
View
|
1
2
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/util/RhinoTestBed.java
|
View
|
1
2
|
4 chunks |
+167 lines, -42 lines |
0 comments
|
Download
|
Total messages: 9
|