| 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)));
|
| +}
|
|
|