chromium/testing/rust_gtest_interop/rust_gtest_interop.cc

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

#include "testing/rust_gtest_interop/rust_gtest_interop.h"

#include "testing/gtest/include/gtest/gtest.h"

namespace rust_gtest_interop {

extern "C" testing::Test* rust_gtest_default_factory(
    void (*body)(testing::Test*)) {}

extern "C" void rust_gtest_add_test(GtestFactoryFunction gtest_factory,
                                    void (*test_function)(testing::Test*),
                                    const char* test_suite_name,
                                    const char* test_name,
                                    const char* file,
                                    int32_t line) {}

extern "C" void rust_gtest_add_failure_at(const char* file,
                                          int32_t line,
                                          const char* message) {}

}  // namespace rust_gtest_interop