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

Unified Diff: ui/touch_selection/run_all_unittests.cc

Issue 1046783002: wip: Aura-specific implementation of unified touch selection: touch_selection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving the responsibility for showing the menu into the client. Created 5 years, 8 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 | « ui/touch_selection/DEPS ('k') | ui/touch_selection/selection_event_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/touch_selection/run_all_unittests.cc
diff --git a/ui/keyboard/test/run_all_unittests.cc b/ui/touch_selection/run_all_unittests.cc
similarity index 64%
copy from ui/keyboard/test/run_all_unittests.cc
copy to ui/touch_selection/run_all_unittests.cc
index c81e199c1a15f50dcb5d0b3ee57ccb04a7ba5043..d487057ed07888e517d796067bb1e2fafa6ed625 100644
--- a/ui/keyboard/test/run_all_unittests.cc
+++ b/ui/touch_selection/run_all_unittests.cc
@@ -1,10 +1,8 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2015 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/basictypes.h"
#include "base/bind.h"
-#include "base/compiler_specific.h"
#include "base/path_service.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
@@ -15,9 +13,11 @@
namespace {
-class KeyboardTestSuite : public base::TestSuite {
+class UITouchSelectionTestSuite : public base::TestSuite {
public:
- KeyboardTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {}
+ UITouchSelectionTestSuite(int argc, char** argv)
+ : base::TestSuite(argc, argv) {}
+ ~UITouchSelectionTestSuite() override {}
protected:
void Initialize() override {
@@ -36,16 +36,15 @@ class KeyboardTestSuite : public base::TestSuite {
}
private:
- DISALLOW_COPY_AND_ASSIGN(KeyboardTestSuite);
+ DISALLOW_COPY_AND_ASSIGN(UITouchSelectionTestSuite);
};
} // namespace
int main(int argc, char** argv) {
- KeyboardTestSuite test_suite(argc, argv);
+ UITouchSelectionTestSuite test_suite(argc, argv);
- return base::LaunchUnitTests(
- argc,
- argv,
- base::Bind(&KeyboardTestSuite::Run, base::Unretained(&test_suite)));
+ return base::LaunchUnitTests(argc, argv,
+ base::Bind(&UITouchSelectionTestSuite::Run,
+ base::Unretained(&test_suite)));
}
« no previous file with comments | « ui/touch_selection/DEPS ('k') | ui/touch_selection/selection_event_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698