#if !defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)
#include <stddef.h>
#include <utility>
#include "mojo/public/cpp/bindings/lib/array_internal.h"
#include "mojo/public/cpp/bindings/lib/message_fragment.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/system/message_pipe.h"
#include "mojo/public/interfaces/bindings/tests/serialization_test_structs.mojom.h"
#include "mojo/public/interfaces/bindings/tests/test_unions.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
namespace test {
namespace {
ContainerValidateParams;
GetArrayOfEnumsValidator;
GetArrayValidator;
GetMapValidator;
std::vector<std::optional<std::vector<ScopedHandle>>>
CreateTestNestedHandleArray() { … }
class SerializationWarningTest : public testing::Test { … };
TEST_F(SerializationWarningTest, HandleInStruct) { … }
TEST_F(SerializationWarningTest, StructInStruct) { … }
TEST_F(SerializationWarningTest, ArrayOfStructsInStruct) { … }
TEST_F(SerializationWarningTest, FixedArrayOfStructsInStruct) { … }
TEST_F(SerializationWarningTest, ArrayOfArraysOfHandles) { … }
TEST_F(SerializationWarningTest, ArrayOfStrings) { … }
TEST_F(SerializationWarningTest, StructInUnion) { … }
TEST_F(SerializationWarningTest, UnionInUnion) { … }
TEST_F(SerializationWarningTest, HandleInUnion) { … }
}
}
}
#endif