chromium/mojo/public/cpp/bindings/tests/bindings_test_base.h

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

#ifndef MOJO_PUBLIC_CPP_BINDINGS_TESTS_BINDINGS_TEST_BASE_H_
#define MOJO_PUBLIC_CPP_BINDINGS_TESTS_BINDINGS_TEST_BASE_H_

#include "base/test/task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace mojo {

// Used to parameterize tests which inherit from BindingsTestBase to exercise
// various message serialization-related code paths for intra-process bindings
// usage.
enum class BindingsTestSerializationMode {};

class BindingsTestBase
    : public testing::Test,
      public testing::WithParamInterface<BindingsTestSerializationMode> {};

}  // namespace mojo

#define INSTANTIATE_MOJO_BINDINGS_TEST_SUITE_P(fixture)

#endif  // MOJO_PUBLIC_CPP_BINDINGS_TESTS_BINDINGS_TEST_BASE_H_