chromium/mojo/public/cpp/test_support/lib/test_utils.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "mojo/public/cpp/test_support/test_utils.h"

#include <stddef.h>
#include <stdint.h>

#include <vector>

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/ranges/algorithm.h"
#include "mojo/public/cpp/system/functions.h"
#include "mojo/public/cpp/system/message_pipe.h"
#include "mojo/public/cpp/system/wait.h"
#include "mojo/public/cpp/test_support/test_support.h"

namespace mojo {
namespace test {

bool WriteTextMessage(const MessagePipeHandle& handle,
                      const std::string& text) {}

bool ReadTextMessage(const MessagePipeHandle& handle, std::string* text) {}

bool DiscardMessage(const MessagePipeHandle& handle) {}

void IterateAndReportPerf(const char* test_name,
                          const char* sub_test_name,
                          PerfTestSingleIteration single_iteration,
                          void* closure) {}

BadMessageObserver::BadMessageObserver() :{}

BadMessageObserver::~BadMessageObserver() {}

std::string BadMessageObserver::WaitForBadMessage() {}

void BadMessageObserver::OnReportBadMessage(const std::string& message) {}

}  // namespace test
}  // namespace mojo