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

Unified Diff: components/dom_distiller/content/dom_distiller_viewer_source_unittest.cc

Issue 260073009: [dom_distiller] Add support for incremental viewer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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: components/dom_distiller/content/dom_distiller_viewer_source_unittest.cc
diff --git a/components/dom_distiller/content/dom_distiller_viewer_source_unittest.cc b/components/dom_distiller/content/dom_distiller_viewer_source_unittest.cc
index 1938dd819acbc42c54806dcd93109ffe6eb16349..55e5b4b87a74ce81245b18326588c1b6dbd4d045 100644
--- a/components/dom_distiller/content/dom_distiller_viewer_source_unittest.cc
+++ b/components/dom_distiller/content/dom_distiller_viewer_source_unittest.cc
@@ -22,8 +22,10 @@ class DomDistillerViewerSourceTest : public testing::Test {
};
TEST_F(DomDistillerViewerSourceTest, TestMimeType) {
- EXPECT_EQ("text/css", source_.get()->GetMimeType(kCssPath));
+ EXPECT_EQ("text/css", source_.get()->GetMimeType(kViewerCssPath));
EXPECT_EQ("text/html", source_.get()->GetMimeType("anythingelse"));
+ EXPECT_EQ("text/javascript", source_.get()->GetMimeType(kViewerJsPath));
+
}
} // namespace dom_distiller

Powered by Google App Engine
This is Rietveld 408576698