[Android WebView] Put AndroidStreamReaderURLRequestJob into a namespace
[chromium-blink-merge.git] / ui / ozone / run_all_unittests.cc
blob5f038b30deac3745c5b4c890b321753bb1de470f
1 // Copyright 2014 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.
5 #include "base/bind.h"
6 #include "base/test/launcher/unit_test_launcher.h"
7 #include "base/test/test_suite.h"
8 #include "build/build_config.h"
10 namespace {
12 class OzoneTestSuite : public base::TestSuite {
13 public:
14 OzoneTestSuite(int argc, char** argv);
16 protected:
17 // base::TestSuite:
18 void Initialize() override;
19 void Shutdown() override;
21 private:
22 DISALLOW_COPY_AND_ASSIGN(OzoneTestSuite);
25 OzoneTestSuite::OzoneTestSuite(int argc, char** argv)
26 : base::TestSuite(argc, argv) {}
28 void OzoneTestSuite::Initialize() {
29 base::TestSuite::Initialize();
32 void OzoneTestSuite::Shutdown() {
33 base::TestSuite::Shutdown();
36 } // namespace
38 int main(int argc, char** argv) {
39 OzoneTestSuite test_suite(argc, argv);
41 return base::LaunchUnitTests(argc,
42 argv,
43 base::Bind(&OzoneTestSuite::Run,
44 base::Unretained(&test_suite)));