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

Unified Diff: ui/secure_display/test/run_all_unittests.cc

Issue 1233313005: Move elide_url to its own component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« ui/secure_display/OWNERS ('K') | « ui/secure_display/secure_display.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/secure_display/test/run_all_unittests.cc
diff --git a/ui/secure_display/test/run_all_unittests.cc b/ui/secure_display/test/run_all_unittests.cc
new file mode 100644
index 0000000000000000000000000000000000000000..3eef7abce06cc3943ed1f4a98cd14db6174c30d4
--- /dev/null
+++ b/ui/secure_display/test/run_all_unittests.cc
@@ -0,0 +1,36 @@
+// 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/test/launcher/unit_test_launcher.h"
+#include "base/test/test_suite.h"
+#include "testing/gtest/include/gtest/gtest.h"
+#include "ui/gfx/font_list.h"
+
+namespace {
+
+class SecureDisplayTestSuite : public base::TestSuite {
+ public:
+ SecureDisplayTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {}
+
+ protected:
+ void Initialize() override {
+ base::TestSuite::Initialize();
+ gfx::FontList::SetDefaultFontDescription("Arial,Times New Roman,13px");
+ }
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(SecureDisplayTestSuite);
+};
+
+} // namespace
+
+int main(int argc, char** argv) {
+ SecureDisplayTestSuite test_suite(argc, argv);
+
+ return base::LaunchUnitTests(
+ argc, argv,
+ base::Bind(&SecureDisplayTestSuite::Run, base::Unretained(&test_suite)));
+}
« ui/secure_display/OWNERS ('K') | « ui/secure_display/secure_display.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698