#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
#include "base/test/task_environment.h"
#include "mojo/public/cpp/bindings/lib/message_fragment.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "mojo/public/interfaces/bindings/tests/test_data_view.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
namespace test {
namespace data_view {
namespace {
class DataViewTest : public testing::Test { … };
struct DataViewHolder { … };
std::unique_ptr<DataViewHolder> SerializeTestStruct(TestStructPtr input) { … }
class TestInterfaceImpl : public TestInterface { … };
}
TEST_F(DataViewTest, String) { … }
TEST_F(DataViewTest, NestedStruct) { … }
TEST_F(DataViewTest, NativeStruct) { … }
TEST_F(DataViewTest, BoolArray) { … }
TEST_F(DataViewTest, IntegerArray) { … }
TEST_F(DataViewTest, EnumArray) { … }
TEST_F(DataViewTest, InterfaceArray) { … }
TEST_F(DataViewTest, NestedArray) { … }
TEST_F(DataViewTest, StructArray) { … }
TEST_F(DataViewTest, Map) { … }
TEST_F(DataViewTest, UnionArray) { … }
}
}
}