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

Unified Diff: ui/chromeos/run_all_unittests.cc

Issue 738513002: Move the tests in ui/chromeos to a new target: ui_chromeos_unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years, 1 month 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: ui/chromeos/run_all_unittests.cc
diff --git a/ui/keyboard/test/run_all_unittests.cc b/ui/chromeos/run_all_unittests.cc
similarity index 76%
copy from ui/keyboard/test/run_all_unittests.cc
copy to ui/chromeos/run_all_unittests.cc
index c81e199c1a15f50dcb5d0b3ee57ccb04a7ba5043..a677d66e846da4e96e85b07b8b198d865c889580 100644
--- a/ui/keyboard/test/run_all_unittests.cc
+++ b/ui/chromeos/run_all_unittests.cc
@@ -15,9 +15,10 @@
namespace {
-class KeyboardTestSuite : public base::TestSuite {
+class UIChromeOSTestSuite : public base::TestSuite {
public:
- KeyboardTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {}
+ UIChromeOSTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {}
+ ~UIChromeOSTestSuite() override {}
tfarina 2014/11/19 17:32:18 why did you need to override the dtor?
protected:
void Initialize() override {
@@ -36,16 +37,16 @@ class KeyboardTestSuite : public base::TestSuite {
}
private:
- DISALLOW_COPY_AND_ASSIGN(KeyboardTestSuite);
+ DISALLOW_COPY_AND_ASSIGN(UIChromeOSTestSuite);
};
} // namespace
int main(int argc, char** argv) {
- KeyboardTestSuite test_suite(argc, argv);
+ UIChromeOSTestSuite test_suite(argc, argv);
return base::LaunchUnitTests(
argc,
argv,
- base::Bind(&KeyboardTestSuite::Run, base::Unretained(&test_suite)));
+ base::Bind(&UIChromeOSTestSuite::Run, base::Unretained(&test_suite)));
}
« ui/chromeos/BUILD.gn ('K') | « ui/chromeos/BUILD.gn ('k') | ui/chromeos/ui_chromeos.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698