summaryrefslogtreecommitdiffstats
path: root/ui/views/run_all_unittests.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-01 22:14:38 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-01 22:14:38 +0000
commit2a3851ec96ce92e9d51ef2737bf8a7137dad49e3 (patch)
treea0abc20bc21cef3eda852c0b2556f2ffe2b527be /ui/views/run_all_unittests.cc
parent4258ecebbc45339f390bf874726014eeff2400ed (diff)
downloadchromium_src-2a3851ec96ce92e9d51ef2737bf8a7137dad49e3.zip
chromium_src-2a3851ec96ce92e9d51ef2737bf8a7137dad49e3.tar.gz
chromium_src-2a3851ec96ce92e9d51ef2737bf8a7137dad49e3.tar.bz2
sFirst cut at an experiment with what a simplified View/Widget API would look like.
Of note: - Widget is a cross-platform class encapsulating widget-specific state - NativeWidget interface wraps different implementations of a native widget. Starting with HWND. - NativeWidget implementation should eventually be swappable at runtime. - Simpler Event construction directly from a NativeEvent (e.g. MSG struct) - Simpler View API with fewer, more clearly delineated overrides. Notes: - Window* are just empty files for now while I get View/Widget to work. BUG=none TEST=see unittests, in development Review URL: http://codereview.chromium.org/6286013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73353 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/run_all_unittests.cc')
-rw-r--r--ui/views/run_all_unittests.cc19
1 files changed, 19 insertions, 0 deletions
diff --git a/ui/views/run_all_unittests.cc b/ui/views/run_all_unittests.cc
new file mode 100644
index 0000000..d4dfd39
--- /dev/null
+++ b/ui/views/run_all_unittests.cc
@@ -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.
+
+#include "base/test/test_suite.h"
+
+class V2TestSuite : public base::TestSuite {
+ public:
+ V2TestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {}
+
+ protected:
+ virtual void Initialize() {
+ base::TestSuite::Initialize();
+ }
+};
+
+int main(int argc, char **argv) {
+ return V2TestSuite(argc, argv).Run();
+}