chromium/third_party/rust/fend_core/v1/wrapper/fend_core_unittest.cc

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

#include "third_party/rust/fend_core/v1/wrapper/fend_core.h"

#include <optional>
#include <string>
#include <string_view>

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

namespace fend_core {
namespace {

Eq;
Optional;

struct FendCoreTestCase {};

class FendCoreParamTest : public testing::TestWithParam<FendCoreTestCase> {};

TEST_P(FendCoreParamTest, Test) {}

// Tests which should NOT break from a fend-core roll.
INSTANTIATE_TEST_SUITE_P(
    , FendCoreParamTest,
    testing::ValuesIn<FendCoreTestCase>({};

// Tests which COULD break from a fend-core roll due to behaviour which could
// change between Fend versions.
// These tests can be run with `--gtest_also_run_disabled_tests`. Once these
// tests are fixed or stabilised, they should be moved above.
INSTANTIATE_TEST_SUITE_P(
    DISABLED_KnownUnexpectedBehavior, FendCoreParamTest,
    testing::ValuesIn<FendCoreTestCase>({};

TEST(FendCoreTest, CanTimeout) {}

} // namespace
} // namespace fend_core