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

Unified Diff: mojo/public/cpp/test_support/test_utils.h

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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 | « mojo/public/cpp/test_support/test_support.h ('k') | mojo/public/cpp/utility/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/test_support/test_utils.h
diff --git a/mojo/public/cpp/test_support/test_utils.h b/mojo/public/cpp/test_support/test_utils.h
deleted file mode 100644
index a32eba126af35db851fb886bafd35bffeae96b59..0000000000000000000000000000000000000000
--- a/mojo/public/cpp/test_support/test_utils.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2013 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.
-
-#ifndef MOJO_PUBLIC_CPP_TEST_SUPPORT_TEST_UTILS_H_
-#define MOJO_PUBLIC_CPP_TEST_SUPPORT_TEST_UTILS_H_
-
-#include <string>
-
-#include "mojo/public/cpp/system/message_pipe.h"
-
-namespace mojo {
-namespace test {
-
-// Writes a message to |handle| with message data |text|. Returns true on
-// success.
-bool WriteTextMessage(const MessagePipeHandle& handle, const std::string& text);
-
-// Reads a message from |handle|, putting its contents into |*text|. Returns
-// true on success. (This blocks if necessary and will call |MojoReadMessage()|
-// multiple times, e.g., to query the size of the message.)
-bool ReadTextMessage(const MessagePipeHandle& handle, std::string* text);
-
-// Discards a message from |handle|. Returns true on success. (This does not
-// block. It will fail if no message is available to discard.)
-bool DiscardMessage(const MessagePipeHandle& handle);
-
-} // namespace test
-} // namespace mojo
-
-#endif // MOJO_PUBLIC_CPP_TEST_SUPPORT_TEST_UTILS_H_
« no previous file with comments | « mojo/public/cpp/test_support/test_support.h ('k') | mojo/public/cpp/utility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698