#include "TreeTestBase.h"
#include "clang/Tooling/Syntax/BuildTree.h"
#include "clang/Tooling/Syntax/Nodes.h"
#include "gtest/gtest.h"
usingnamespaceclang;
usingnamespaceclang::syntax;
namespace {
class SynthesisTest : public SyntaxTreeTest { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(SynthesisTest, Leaf_Punctuation) { … }
TEST_P(SynthesisTest, Leaf_Punctuation_CXX) { … }
TEST_P(SynthesisTest, Leaf_Keyword) { … }
TEST_P(SynthesisTest, Leaf_Keyword_CXX11) { … }
TEST_P(SynthesisTest, Leaf_Identifier) { … }
TEST_P(SynthesisTest, Leaf_Number) { … }
TEST_P(SynthesisTest, Tree_Empty) { … }
TEST_P(SynthesisTest, Tree_Flat) { … }
TEST_P(SynthesisTest, Tree_OfTree) { … }
TEST_P(SynthesisTest, DeepCopy_Synthesized) { … }
TEST_P(SynthesisTest, DeepCopy_Original) { … }
TEST_P(SynthesisTest, DeepCopy_Child) { … }
TEST_P(SynthesisTest, DeepCopy_Macro) { … }
TEST_P(SynthesisTest, Statement_EmptyStatement) { … }
}