llvm/clang/unittests/Format/FormatTestBase.h

//===- unittest/Format/FormatTestBase.h - Formatting test base classs -----===//
//
// 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
//
//===----------------------------------------------------------------------===//
//
//  This file defines the base class for format tests.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CLANG_UNITTESTS_FORMAT_FORMATTESTBASE_H
#define LLVM_CLANG_UNITTESTS_FORMAT_FORMATTESTBASE_H

#include "FormatTestUtils.h"

#include "clang/Format/Format.h"
#include "llvm/Support/Debug.h"
#include "gtest/gtest.h"

namespace clang {
namespace format {
namespace test {

#define DEBUG_TYPE

class FormatTestBase : public testing::Test {};

#undef DEBUG_TYPE

#define verifyIndependentOfContext(...)
#define verifyIncompleteFormat(...)
#define verifyNoChange(...)
#define verifyFormat(...)
#define verifyGoogleFormat(Code)

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

#endif