#include "mojo/public/cpp/system/data_pipe_drainer.h"
#include <string_view>
#include "base/containers/span.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "base/values.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
namespace test {
template <typename Functor>
base::RepeatingClosure BindLambda(Functor callable) { … }
class DataPipeDrainerTest : public testing::Test,
public DataPipeDrainer::Client { … };
TEST_F(DataPipeDrainerTest, TestCompleteIsCalledOnce) { … }
}
}