OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "base/basictypes.h" |
| 6 #include "base/bind.h" |
| 7 #include "base/test/launcher/unit_test_launcher.h" |
| 8 #include "base/test/test_suite.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 #include "ui/gfx/font_list.h" |
| 11 |
| 12 namespace { |
| 13 |
| 14 class SecureDisplayTestSuite : public base::TestSuite { |
| 15 public: |
| 16 SecureDisplayTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {} |
| 17 |
| 18 protected: |
| 19 void Initialize() override { |
| 20 base::TestSuite::Initialize(); |
| 21 gfx::FontList::SetDefaultFontDescription("Arial,Times New Roman,13px"); |
| 22 } |
| 23 |
| 24 private: |
| 25 DISALLOW_COPY_AND_ASSIGN(SecureDisplayTestSuite); |
| 26 }; |
| 27 |
| 28 } // namespace |
| 29 |
| 30 int main(int argc, char** argv) { |
| 31 SecureDisplayTestSuite test_suite(argc, argv); |
| 32 |
| 33 return base::LaunchUnitTests( |
| 34 argc, argv, |
| 35 base::Bind(&SecureDisplayTestSuite::Run, base::Unretained(&test_suite))); |
| 36 } |
OLD | NEW |