#include "mojo/public/cpp/system/string_data_source.h"
#include <algorithm>
#include <list>
#include <memory>
#include <string>
#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/task/sequenced_task_runner.h"
#include "base/test/task_environment.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "mojo/public/cpp/system/data_pipe_producer.h"
#include "mojo/public/cpp/system/simple_watcher.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
namespace {
class DataPipeReader { … };
class StringDataSourceTest : public testing::Test { … };
TEST_F(StringDataSourceTest, EqualCapacity) { … }
TEST_F(StringDataSourceTest, UnderCapacity) { … }
TEST_F(StringDataSourceTest, OverCapacity) { … }
TEST_F(StringDataSourceTest, TinyPipe) { … }
TEST_F(StringDataSourceTest, MultipleWrites) { … }
}
}