llvm/clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp

//===- NamespaceEndCommentsFixerTest.cpp - Formatting 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/Debug.h"
#include "gtest/gtest.h"

#define DEBUG_TYPE

namespace clang {
namespace format {
namespace {

class NamespaceEndCommentsFixerTest : public testing::Test {};

TEST_F(NamespaceEndCommentsFixerTest, AddsEndComment) {}

TEST_F(NamespaceEndCommentsFixerTest, WorksForObjCpp) {}

TEST_F(NamespaceEndCommentsFixerTest, AddsMacroEndComment) {}

TEST_F(NamespaceEndCommentsFixerTest, AddsNewlineIfNeeded) {}

TEST_F(NamespaceEndCommentsFixerTest, DoesNotAddEndCommentForShortNamespace) {}

TEST_F(NamespaceEndCommentsFixerTest, DoesNotAddCommentAfterUnaffectedRBrace) {}

TEST_F(NamespaceEndCommentsFixerTest,
       DoesNotAddCommentAfterRBraceInPPDirective) {}

TEST_F(NamespaceEndCommentsFixerTest, KeepsValidEndComment) {}

TEST_F(NamespaceEndCommentsFixerTest, KeepsValidMacroEndComment) {}

TEST_F(NamespaceEndCommentsFixerTest, UpdatesInvalidEndLineComment) {}

TEST_F(NamespaceEndCommentsFixerTest, UpdatesInvalidMacroEndLineComment) {}

TEST_F(NamespaceEndCommentsFixerTest, UpdatesInvalidEndBlockComment) {}

TEST_F(NamespaceEndCommentsFixerTest, UpdatesInvalidMacroEndBlockComment) {}

TEST_F(NamespaceEndCommentsFixerTest,
       DoesNotAddEndCommentForNamespacesControlledByMacros) {}

TEST_F(NamespaceEndCommentsFixerTest, AddsEndCommentForNamespacesAroundMacros) {}

TEST_F(NamespaceEndCommentsFixerTest,
       DoesNotAddEndCommentForNamespacesInMacroDeclarations) {}

TEST_F(NamespaceEndCommentsFixerTest,
       DoesNotAddEndCommentForUnbalancedRBracesAfterNamespaceEnd) {}

TEST_F(NamespaceEndCommentsFixerTest, HandlesInlineAtEndOfLine_PR32438) {}

TEST_F(NamespaceEndCommentsFixerTest, IgnoreUnbalanced) {}

ShortNamespaceLinesTest;

TEST_F(ShortNamespaceLinesTest, ZeroUnwrappedLines) {}

TEST_F(ShortNamespaceLinesTest, OneUnwrappedLine) {}

TEST_F(ShortNamespaceLinesTest, MultipleUnwrappedLine) {}

TEST_F(ShortNamespaceLinesTest, NamespaceAlias) {}
} // end namespace
} // end namespace format
} // end namespace clang