llvm/clang/unittests/Format/ConfigParseTest.cpp

//===- unittest/Format/ConfigParseTest.cpp - Config parsing unit tests ----===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "clang/Format/Format.h"

#include "llvm/Support/VirtualFileSystem.h"
#include "gtest/gtest.h"

namespace clang {
namespace format {
namespace {

void dropDiagnosticHandler(const llvm::SMDiagnostic &, void *) {}
FormatStyle getGoogleStyle() {}

#define EXPECT_ALL_STYLES_EQUAL(Styles)

TEST(ConfigParseTest, GetsPredefinedStyleByName) {}

TEST(ConfigParseTest, GetsCorrectBasedOnStyle) {}

#define CHECK_PARSE_BOOL_FIELD(FIELD, CONFIG_NAME)

#define CHECK_PARSE_BOOL

#define CHECK_PARSE_NESTED_BOOL_FIELD(STRUCT, FIELD, CONFIG_NAME)

#define CHECK_PARSE_NESTED_BOOL(STRUCT, FIELD)

#define CHECK_PARSE(TEXT, FIELD, VALUE)

#define CHECK_PARSE_NESTED_VALUE(TEXT, STRUCT, FIELD, VALUE)

TEST(ConfigParseTest, ParsesConfigurationBools) {}

#undef CHECK_PARSE_BOOL

TEST(ConfigParseTest, ParsesConfiguration) {}

TEST(ConfigParseTest, ParsesConfigurationWithLanguages) {}

TEST(ConfigParseTest, UsesLanguageForBasedOnStyle) {}

TEST(ConfigParseTest, ConfigurationRoundTripTest) {}

TEST(ConfigParseTest, GetStyleWithEmptyFileName) {}

TEST(ConfigParseTest, GetStyleOfFile) {}

TEST(ConfigParseTest, GetStyleOfSpecificFile) {}

TEST(ConfigParseTest, GetStyleOutput) {}

} // namespace
} // namespace format
} // namespace clang