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

Unified Diff: athena/test/base/athena_unittests.cc

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « athena/test/base/athena_test_launcher_delegate.cc ('k') | athena/test/base/sample_activity.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/base/athena_unittests.cc
diff --git a/athena/test/base/athena_unittests.cc b/athena/test/base/athena_unittests.cc
deleted file mode 100644
index f106c2721fc55b6b4cbf0a89bc242cd108f507c0..0000000000000000000000000000000000000000
--- a/athena/test/base/athena_unittests.cc
+++ /dev/null
@@ -1,55 +0,0 @@
-// Copyright 2014 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/base_paths.h"
-#include "base/bind.h"
-#include "base/macros.h"
-#include "base/path_service.h"
-#include "base/test/launcher/unit_test_launcher.h"
-#include "base/test/test_suite.h"
-#include "testing/gtest/include/gtest/gtest.h"
-#include "ui/base/resource/resource_bundle.h"
-#include "ui/base/ui_base_paths.h"
-#include "ui/gfx/gfx_paths.h"
-#include "ui/gl/gl_surface.h"
-
-namespace {
-
-class AthenaTestSuite : public base::TestSuite {
- public:
- AthenaTestSuite(int argc, char** argv) : TestSuite(argc, argv) {}
- ~AthenaTestSuite() override {}
-
- protected:
- // base::TestSuite:
- void Initialize() override {
- base::TestSuite::Initialize();
- gfx::GLSurface::InitializeOneOffForTests();
- gfx::RegisterPathProvider();
- ui::RegisterPathProvider();
-
- base::FilePath test_pak_path;
- ASSERT_TRUE(PathService::Get(base::DIR_MODULE, &test_pak_path));
- test_pak_path = test_pak_path.AppendASCII("athena_resources.pak");
- ui::ResourceBundle::InitSharedInstanceWithPakPath(test_pak_path);
- }
- void Shutdown() override {
- ui::ResourceBundle::CleanupSharedInstance();
- base::TestSuite::Shutdown();
- }
-
- private:
- DISALLOW_COPY_AND_ASSIGN(AthenaTestSuite);
-};
-
-} // namespace
-
-int main(int argc, char** argv) {
- AthenaTestSuite test_suite(argc, argv);
-
- return base::LaunchUnitTestsSerially(
- argc,
- argv,
- base::Bind(&AthenaTestSuite::Run, base::Unretained(&test_suite)));
-}
« no previous file with comments | « athena/test/base/athena_test_launcher_delegate.cc ('k') | athena/test/base/sample_activity.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698