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

Unified Diff: javatests/org/chromium/distiller/webdocument/LIStartTest.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/LIStartTest.java
diff --git a/javatests/org/chromium/distiller/webdocument/LIStartTest.java b/javatests/org/chromium/distiller/webdocument/LIStartTest.java
new file mode 100644
index 0000000000000000000000000000000000000000..1eee876e0f585717282b5acbe3d68e85d249d306
--- /dev/null
+++ b/javatests/org/chromium/distiller/webdocument/LIStartTest.java
@@ -0,0 +1,14 @@
+package org.chromium.distiller.webdocument;
+
+import org.chromium.distiller.DomDistillerJsTestCase;
+
+public class LIStartTest extends DomDistillerJsTestCase {
+
+ public void testGenerateOutput() {
+ LIStart liStart = new LIStart();
+ String got = liStart.generateOutput(false);
+ String want = "<li>";
+
+ assertEquals(want, got);
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698