chromium/third_party/fuzztest/src/fuzztest/internal/registry.cc

// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include "./fuzztest/internal/registry.h"

#include <deque>
#include <string>
#include <utility>

#include "absl/container/flat_hash_map.h"
#include "absl/functional/function_ref.h"
#include "absl/strings/string_view.h"
#include "./fuzztest/internal/registration.h"
#include "./fuzztest/internal/runtime.h"

namespace fuzztest::internal {
namespace {

auto& Regs() {}

SetUpTearDownTestSuiteFunctionPair;

auto& SetUpTearDownTestSuiteRegistry() {}

SetUpTearDownTestSuiteFunctionPair GetSetUpTearDownTestSuiteFunctions(
    absl::string_view suite_name) {}

}  // namespace

void ForEachTest(absl::FunctionRef<void(FuzzTest&)> func) {}

void RegisterImpl(BasicTestInfo test_info, FuzzTestFuzzerFactory factory) {}

void RegisterSetUpTearDownTestSuiteFunctions(
    absl::string_view suite_name,
    SetUpTearDownTestSuiteFunction set_up_test_suite,
    SetUpTearDownTestSuiteFunction tear_down_test_suite) {}

SetUpTearDownTestSuiteFunction GetSetUpTestSuite(absl::string_view suite_name) {}

SetUpTearDownTestSuiteFunction GetTearDownTestSuite(
    absl::string_view suite_name) {}

}  // namespace fuzztest::internal