chromium/base/test/gtest_xml_unittest_result_printer.cc

// Copyright 2015 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/40284755): Remove this and spanify to fix the errors.
#pragma allow_unsafe_buffers
#endif

#include "base/test/gtest_xml_unittest_result_printer.h"

#include "base/base64.h"
#include "base/check.h"
#include "base/command_line.h"
#include "base/files/file_util.h"
#include "base/i18n/time_formatting.h"
#include "base/strings/string_util.h"
#include "base/test/test_switches.h"
#include "base/threading/thread_checker.h"
#include "base/time/time.h"

namespace base {

namespace {
const int kDefaultTestPartResultsLimit =;

const char kTestPartLesultsLimitExceeded[] =;

std::string EscapeString(const std::string& input_string) {}

}  // namespace

XmlUnitTestResultPrinter* XmlUnitTestResultPrinter::instance_ =;

XmlUnitTestResultPrinter::XmlUnitTestResultPrinter() {}

XmlUnitTestResultPrinter::~XmlUnitTestResultPrinter() {}

XmlUnitTestResultPrinter* XmlUnitTestResultPrinter::Get() {}

void XmlUnitTestResultPrinter::AddLink(const std::string& name,
                                       const std::string& url) {}

void XmlUnitTestResultPrinter::AddTag(const std::string& name,
                                      const std::string& value) {}

bool XmlUnitTestResultPrinter::Initialize(const FilePath& output_file_path) {}

void XmlUnitTestResultPrinter::OnAssert(const char* file,
                                        int line,
                                        const std::string& summary,
                                        const std::string& message) {}

void XmlUnitTestResultPrinter::OnTestSuiteStart(
    const testing::TestSuite& test_suite) {}

void XmlUnitTestResultPrinter::OnTestStart(
    const testing::TestInfo& test_info) {}

void XmlUnitTestResultPrinter::OnTestEnd(const testing::TestInfo& test_info) {}

void XmlUnitTestResultPrinter::OnTestSuiteEnd(
    const testing::TestSuite& test_suite) {}

void XmlUnitTestResultPrinter::WriteTestPartResult(
    const char* file,
    int line,
    testing::TestPartResult::Type result_type,
    const std::string& summary,
    const std::string& message) {}

}  // namespace base