chromium/mojo/core/test/test_support_impl.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "mojo/core/test/test_support_impl.h"

#include <stddef.h>
#include <stdlib.h>
#include <string.h>

#include <string>
#include <string_view>

#include "base/check.h"
#include "base/files/file_enumerator.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "base/test/perf_log.h"

namespace mojo {
namespace core {
namespace test {
namespace {

base::FilePath ResolveSourceRootRelativePath(const char* relative_path) {}

}  // namespace

TestSupportImpl::TestSupportImpl() = default;

TestSupportImpl::~TestSupportImpl() = default;

void TestSupportImpl::LogPerfResult(const char* test_name,
                                    const char* sub_test_name,
                                    double value,
                                    const char* units) {}

FILE* TestSupportImpl::OpenSourceRootRelativeFile(const char* relative_path) {}

char** TestSupportImpl::EnumerateSourceRootRelativeDirectory(
    const char* relative_path) {}

}  // namespace test
}  // namespace core
}  // namespace mojo