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

Unified Diff: content/test/unittest_test_suite.h

Issue 10483003: Move the rest of the content\test headers that are used by embedders to content\public\test. This w… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
Index: content/test/unittest_test_suite.h
===================================================================
--- content/test/unittest_test_suite.h (revision 140261)
+++ content/test/unittest_test_suite.h (working copy)
@@ -1,38 +0,0 @@
-// 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_UNITTEST_TEST_SUITE_H_
-#define CONTENT_TEST_UNITTEST_TEST_SUITE_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
-
-namespace base {
-class TestSuite;
-}
-
-// A special test suite that also initializes WebKit once for all unittests.
-// This is useful for two reasons:
-// 1. It allows the use of some primitive WebKit data types like WebString.
-// 2. Individual unittests should not be initting WebKit on their own, initting
-// it here ensures attempts to do so within an individual test will fail.
-class UnitTestTestSuite {
- public:
- // Takes ownership of |test_suite|.
- explicit UnitTestTestSuite(base::TestSuite* test_suite);
- ~UnitTestTestSuite();
-
- int Run();
-
- private:
- scoped_ptr<base::TestSuite> test_suite_;
-
- class UnitTestWebKitPlatformSupport;
- scoped_ptr<UnitTestWebKitPlatformSupport> webkit_platform_support_;
-
- DISALLOW_COPY_AND_ASSIGN(UnitTestTestSuite);
-};
-
-#endif // CONTENT_TEST_UNITTEST_TEST_SUITE_H_

Powered by Google App Engine
This is Rietveld 408576698