| Index: javatests/org/chromium/distiller/webdocument/DomConverterTest.java
|
| diff --git a/javatests/org/chromium/distiller/webdocument/DomConverterTest.java b/javatests/org/chromium/distiller/webdocument/DomConverterTest.java
|
| index 42b71db0d1cbbb1e8cbc4bc9f828ff1dec55e2ca..2365443be870fe6ebc79cc10901bd84c9b1a2217 100644
|
| --- a/javatests/org/chromium/distiller/webdocument/DomConverterTest.java
|
| +++ b/javatests/org/chromium/distiller/webdocument/DomConverterTest.java
|
| @@ -239,4 +239,16 @@ public class DomConverterTest extends DomDistillerJsTestCase {
|
| runTest("<li></li>", "<li></li>");
|
| runTest("<li class=\"sharing\"></li>", "");
|
| }
|
| +
|
| + public void testWikiEditLinks() throws Throwable {
|
| + String notEdit = "<a href=\"index.php?action=edit&redlink=1\"></a>";
|
| + runTest(notEdit, notEdit);
|
| + runTest("<a href=\"index.php?action=edit§ion=3\" class=\"mw-ui-icon\"></a>", "");
|
| + }
|
| +
|
| + public void testWikiEditSection() throws Throwable {
|
| + String notEdit = "<span class=\"mw-headline\"></span>";
|
| + runTest(notEdit, notEdit);
|
| + runTest("<span class=\"mw-editsection\"></span>", "");
|
| + }
|
| }
|
|
|