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

Unified Diff: chrome/browser/ui/webui/print_preview_browsertest.cc

Issue 7304014: Made Print Preview tests autogenerated from print_preview.js. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Made test_add_library a defaulted parameter with more clear logic. Created 9 years, 6 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
« no previous file with comments | « chrome/browser/ui/webui/javascript2webui.js ('k') | chrome/browser/ui/webui/web_ui_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/print_preview_browsertest.cc
diff --git a/chrome/browser/ui/webui/print_preview_browsertest.cc b/chrome/browser/ui/webui/print_preview_browsertest.cc
index a288956d73420fdc398cff154fed60b3d24ab220..05382998d7fc104013aeb05b06854c589ad1359d 100644
--- a/chrome/browser/ui/webui/print_preview_browsertest.cc
+++ b/chrome/browser/ui/webui/print_preview_browsertest.cc
@@ -33,6 +33,9 @@ void PrintAndWaitForPrintPreviewTab(
} // namespace
+// crbug.com/88104 - v8_shell#host doesn't build when host=="arm".
+#if !defined(ARCH_CPU_ARM_FAMILY)
Lei Zhang 2011/07/07 01:27:24 This should be #if defined(ARCH_CPU_X86_FAMILY). I
Sheridan Rawlins 2011/07/07 04:45:33 See crbug.com/88104 - this only doesn't compile v8
Lei Zhang 2011/07/07 05:17:53 I don't understand your reasoning. ARCH_CPU_X86_FA
Sheridan Rawlins 2011/07/07 07:01:55 Will ARCH_CPU_X86_FAMILY be defined for mac? for
Lei Zhang 2011/07/07 19:16:57 Sure, let's leave it as is then. We probably won't
+
class PrintPreviewWebUITest
: public WebUIBrowserTest,
public TestTabStripModelObserver::LoadStartObserver {
@@ -72,7 +75,6 @@ class PrintPreviewWebUITest
}
};
-IN_PROC_BROWSER_TEST_F(PrintPreviewWebUITest, FLAKY_TestPrintPreview) {
- ASSERT_TRUE(RunJavascriptTest("testPrintPreview",
- *Value::CreateBooleanValue(HasPDFLib())));
-}
+#include "chrome/test/data/webui/print_preview-inl.h"
Lei Zhang 2011/07/07 01:27:24 This is the dynamically generated test list?
Sheridan Rawlins 2011/07/07 04:45:33 Yes. The test is generated from any functions in
Lei Zhang 2011/07/07 05:17:53 Then it should go into out/{Release,Debug} or it's
Sheridan Rawlins 2011/07/07 07:01:55 It does go there. Please see http://codereview.ch
Lei Zhang 2011/07/07 19:16:57 Let's just make the #include obvious that it's a g
Sheridan Rawlins 2011/07/07 20:30:54 Done.
+
+#endif // !defined(ARCH_CPU_ARM_FAMILY)
« no previous file with comments | « chrome/browser/ui/webui/javascript2webui.js ('k') | chrome/browser/ui/webui/web_ui_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698