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

Unified Diff: mojo/services/files/public/c/tests/mojio_test_base.cc

Issue 1388413005: Move //mojo/services/X/public/... to //mojo/services/X/... (part 1). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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
Index: mojo/services/files/public/c/tests/mojio_test_base.cc
diff --git a/mojo/services/files/public/c/tests/mojio_test_base.cc b/mojo/services/files/public/c/tests/mojio_test_base.cc
deleted file mode 100644
index 1cae74f110fd1dd0ef6ccdfd16dac866d4071b5b..0000000000000000000000000000000000000000
--- a/mojo/services/files/public/c/tests/mojio_test_base.cc
+++ /dev/null
@@ -1,33 +0,0 @@
-// 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 "files/public/c/tests/mojio_test_base.h"
-
-#include "files/public/c/lib/singletons.h"
-#include "mojo/public/cpp/environment/logging.h"
-
-namespace mojio {
-namespace test {
-
-void MojioTestBase::SetUp() {
- MojioImplTestBase::SetUp();
-
- // Explicitly set up the singletons.
- MOJO_CHECK(singletons::GetErrnoImpl());
- MOJO_CHECK(singletons::GetFDTable());
- singletons::SetCurrentWorkingDirectory(directory().Pass());
- MOJO_CHECK(singletons::GetCurrentWorkingDirectory());
-}
-
-void MojioTestBase::TearDown() {
- // Explicitly tear down the singletons.
- singletons::ResetCurrentWorkingDirectory();
- singletons::ResetFDTable();
- singletons::ResetErrnoImpl();
-
- MojioImplTestBase::TearDown();
-}
-
-} // namespace test
-} // namespace mojio
« no previous file with comments | « mojo/services/files/public/c/tests/mojio_test_base.h ('k') | mojo/services/files/public/c/tests/mojio_unistd_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698