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

Unified Diff: chromeos/process_mock.h

Issue 6602095: libchromeos: revert add process control library, syslog logging capability, and run unit tests (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/common.git@master
Patch Set: Created 9 years, 10 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 | « chromeos/process.cc ('k') | chromeos/process_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/process_mock.h
diff --git a/chromeos/process_mock.h b/chromeos/process_mock.h
deleted file mode 100644
index cf9144ce42b2989755695311aa9e1a86b6b4671f..0000000000000000000000000000000000000000
--- a/chromeos/process_mock.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROMEOS_PROCESS_MOCK_H_
-#define CHROMEOS_PROCESS_MOCK_H_
-
-#include <string>
-
-#include <chromeos/process.h>
-#include <gmock/gmock.h>
-
-namespace chromeos {
-
-class ProcessMock : public Process {
- public:
- ProcessMock() {}
- virtual ~ProcessMock() {}
-
- MOCK_METHOD1(AddArg, void(const std::string& arg));
- MOCK_METHOD1(RedirectOutput, void(const std::string& output_file));
- MOCK_METHOD0(Start, bool());
- MOCK_METHOD0(Wait, int());
- MOCK_METHOD0(Run, int());
- MOCK_METHOD0(pid, pid_t());
- MOCK_METHOD2(Kill, bool(int signal, int timeout));
- MOCK_METHOD1(Reset, void(pid_t));
- MOCK_METHOD1(ResetPidByFile, bool(const std::string& pid_file));
- MOCK_METHOD0(Release, pid_t());
-};
-
-} // namespace chromeos
-
-#endif // CHROMEOS_PROCESS_MOCK_H_
« no previous file with comments | « chromeos/process.cc ('k') | chromeos/process_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698