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

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

Powered by Google App Engine
This is Rietveld 408576698