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

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

Powered by Google App Engine
This is Rietveld 408576698