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

Unified Diff: content/test/browser_test_suite.h

Issue 8036044: Add (not yet working) content_browsertests target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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: content/test/browser_test_suite.h
===================================================================
--- content/test/browser_test_suite.h (revision 0)
+++ content/test/browser_test_suite.h (revision 0)
@@ -0,0 +1,19 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_TEST_BROWSER_TEST_SUITE_H_
+#define CONTENT_TEST_BROWSER_TEST_SUITE_H_
+#pragma once
+
+#if defined(BROWSER_TESTS_USE_CONTENT)
+#include "base/test/test_suite.h"
+typedef base::TestSuite BrowserTestSuite;
+#elif defined(BROWSER_TESTS_USE_CHROME)
+#include "chrome/test/base/chrome_test_suite.h"
+typedef ChromeTestSuite BrowserTestSuite;
+#else
+#error Please define BROWSER_TESTS_USE_CONTENT or BROWSER_TESTS_USE_CHROME
+#endif
+
+#endif // CONTENT_TEST_BROWSER_TEST_SUITE_H_
Property changes on: content\test\browser_test_suite.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698