Home
last modified time | relevance | path

Searched refs:TestMatch (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/clang/unittests/Tooling/
DRangeSelectorTest.cpp35 struct TestMatch { struct
43 template <typename M> TestMatch matchCode(StringRef Code, M Matcher) { in matchCode()
56 return TestMatch{std::move(ASTUnit), MatchResult(Matches[0], &Context)}; in matchCode()
60 Expected<StringRef> select(RangeSelector Selector, const TestMatch &Match) { in select()
72 TestMatch Match = in selectFromTrivial()
140 TestMatch Match = matchCode(Code, M); in TEST()
160 TestMatch Match = matchCode(Code, M); in TEST()
176 TestMatch Match = matchCode(Code, callExpr().bind(Call)); in TEST()
214 TestMatch Match = in TEST()
230 TestMatch Match = in TEST()
[all …]
DSourceCodeBuildersTest.cpp39 struct TestMatch { struct
52 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt()
66 return TestMatch{std::move(AstUnit), MatchResult(Matches[0], &Context)}; in matchStmt()
DStencilTest.cpp45 struct TestMatch { struct
58 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt()
73 return TestMatch{std::move(AstUnit), MatchResult(Matches[0], &Context)}; in matchStmt()
/external/libchrome/base/test/
Dtest_suite.h36 typedef bool (*TestMatch)(const testing::TestInfo&); typedef
/external/selinux/python/sepolgen/tests/
Dtest_matching.py26 class TestMatch(unittest.TestCase): class
/external/tensorflow/tensorflow/lite/
Dutil_test.cc78 TEST(EqualArrayAndTfLiteIntArray, TestMatch) { in TEST() argument