Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: javatests/org/chromium/distiller/webdocument/LIEndTest.java

Issue 1230583006: Fix for keeping lists structure (Closed) Base URL: https://github.com/chromium/dom-distiller.git@master
Patch Set: Using a new approach to keep list structure. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: javatests/org/chromium/distiller/webdocument/LIEndTest.java
diff --git a/javatests/org/chromium/distiller/webdocument/LIEndTest.java b/javatests/org/chromium/distiller/webdocument/LIEndTest.java
new file mode 100644
index 0000000000000000000000000000000000000000..115e9602452fe2894ada14786b05f697c2fa77d8
--- /dev/null
+++ b/javatests/org/chromium/distiller/webdocument/LIEndTest.java
@@ -0,0 +1,15 @@
+package org.chromium.distiller.webdocument;
+
+
+import org.chromium.distiller.DomDistillerJsTestCase;
+
+public class LIEndTest extends DomDistillerJsTestCase {
+
+ public void testGenerateOutput() {
+ LIEnd liEnd = new LIEnd();
+ String got = liEnd.generateOutput(false);
+ String want = "</li>";
+
+ assertEquals(want, got);
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698