/external/llvm-project/clang/unittests/Tooling/Syntax/ |
D | TokensTest.cpp | 55 using llvm::ValueIs; 640 ValueIs(SameRange(findSpelled("a1 a2 a3 b1 b2")))); in TEST_F() 642 ValueIs(SameRange(findSpelled("a1 a2 a3")))); in TEST_F() 644 ValueIs(SameRange(findSpelled("b1 b2")))); in TEST_F() 655 ValueIs(SameRange(findSpelled("A split B")))); in TEST_F() 657 ValueIs(SameRange(findSpelled("A split").drop_back()))); in TEST_F() 659 ValueIs(SameRange(findSpelled("split B").drop_front()))); in TEST_F() 675 ValueIs(SameRange(findSpelled("( B").drop_front()))); in TEST_F() 677 ValueIs(SameRange(findSpelled( in TEST_F() 682 ValueIs(SameRange(findSpelled("ID ( ID ( ID ( a1 ) a2 a3 ) ) split")))); in TEST_F() [all …]
|
/external/llvm-project/llvm/unittests/Support/ |
D | MatchersTest.cpp | 21 EXPECT_THAT(llvm::Optional<int>(llvm::None), Not(llvm::ValueIs(_))); in TEST() 22 EXPECT_THAT(llvm::Optional<int>(10), llvm::ValueIs(10)); in TEST() 23 EXPECT_THAT(llvm::Optional<int>(10), llvm::ValueIs(AllOf(Lt(11), Gt(9)))); in TEST()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | ClangdLSPServerTests.cpp | 119 llvm::ValueIs(testing::ElementsAre( in TEST_F() 124 llvm::ValueIs(testing::ElementsAre( in TEST_F() 129 EXPECT_THAT(Client.diagnostics("foo.cpp"), llvm::ValueIs(testing::IsEmpty())); in TEST_F() 139 llvm::ValueIs(testing::ElementsAre( in TEST_F() 148 llvm::ValueIs(testing::ElementsAre( in TEST_F() 157 llvm::ValueIs(testing::ElementsAre( in TEST_F()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersInternalTest.cpp | 180 EXPECT_THAT(M.getTraversalKind(), llvm::ValueIs(TK_AsIs)); in TEST() 185 EXPECT_THAT(M.getTraversalKind(), llvm::ValueIs(TK_AsIs)); in TEST() 192 llvm::ValueIs(TK_IgnoreUnlessSpelledInSource)); in TEST()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | SourceCodeTest.cpp | 24 using llvm::ValueIs; 448 ValueIs(AsRange(Context->getSourceManager(), Code.range("r")))); in TEST() 463 ValueIs(AsRange(Context->getSourceManager(), Code.range("r")))); in TEST() 492 ValueIs(AsRange(Context->getSourceManager(), Code.range("r")))); in TEST() 507 ValueIs(AsRange(Context->getSourceManager(), Code.range("r")))); in TEST()
|
D | SourceCodeBuildersTest.cpp | 23 using llvm::ValueIs; 136 ValueIs(std::string(Expected))); in testBuilder()
|
/external/abseil-cpp/absl/container/ |
D | inlined_vector_test.cc | 63 MATCHER_P(ValueIs, e, "") { 1229 EXPECT_THAT(v, AllOf(SizeIs(2), ElementsAre(ValueIs(123), ValueIs(123)))); in TYPED_TEST_P() 1247 EXPECT_THAT(v, AllOf(SizeIs(3), ElementsAre(ValueIs(123), ValueIs(123), in InstanceCountElemAssignWithAllocationTest() 1248 ValueIs(123)))); in InstanceCountElemAssignWithAllocationTest() 1452 AllOf(SizeIs(1), CapacityIs(1), ElementsAre(ValueIs(0)))); in TEST() 1459 AllOf(SizeIs(2), CapacityIs(Gt(1)), ElementsAre(ValueIs(0), ValueIs(1)))); in TEST() 1521 ElementsAre(ValueIs(3)))); in TYPED_TEST_P() 1528 v, AllOf(SizeIs(3), ElementsAre(ValueIs(3), ValueIs(4), ValueIs(5)))); in TYPED_TEST_P()
|
/external/libtextclassifier/abseil-cpp/absl/container/ |
D | inlined_vector_test.cc | 64 MATCHER_P(ValueIs, e, "") { 1240 EXPECT_THAT(v, AllOf(SizeIs(2), ElementsAre(ValueIs(123), ValueIs(123)))); in TYPED_TEST_P() 1258 EXPECT_THAT(v, AllOf(SizeIs(3), ElementsAre(ValueIs(123), ValueIs(123), in InstanceCountElemAssignWithAllocationTest() 1259 ValueIs(123)))); in InstanceCountElemAssignWithAllocationTest() 1463 AllOf(SizeIs(1), CapacityIs(1), ElementsAre(ValueIs(0)))); in TEST() 1470 AllOf(SizeIs(2), CapacityIs(Gt(1)), ElementsAre(ValueIs(0), ValueIs(1)))); in TEST() 1532 ElementsAre(ValueIs(3)))); in TYPED_TEST_P() 1539 v, AllOf(SizeIs(3), ElementsAre(ValueIs(3), ValueIs(4), ValueIs(5)))); in TYPED_TEST_P()
|
/external/webrtc/third_party/abseil-cpp/absl/container/ |
D | inlined_vector_test.cc | 63 MATCHER_P(ValueIs, e, "") { 1229 EXPECT_THAT(v, AllOf(SizeIs(2), ElementsAre(ValueIs(123), ValueIs(123)))); in TYPED_TEST_P() 1247 EXPECT_THAT(v, AllOf(SizeIs(3), ElementsAre(ValueIs(123), ValueIs(123), in InstanceCountElemAssignWithAllocationTest() 1248 ValueIs(123)))); in InstanceCountElemAssignWithAllocationTest() 1452 AllOf(SizeIs(1), CapacityIs(1), ElementsAre(ValueIs(0)))); in TEST() 1459 AllOf(SizeIs(2), CapacityIs(Gt(1)), ElementsAre(ValueIs(0), ValueIs(1)))); in TEST() 1521 ElementsAre(ValueIs(3)))); in TYPED_TEST_P() 1528 v, AllOf(SizeIs(3), ElementsAre(ValueIs(3), ValueIs(4), ValueIs(5)))); in TYPED_TEST_P()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/ |
D | inlined_vector_test.cc | 64 MATCHER_P(ValueIs, e, "") { 1240 EXPECT_THAT(v, AllOf(SizeIs(2), ElementsAre(ValueIs(123), ValueIs(123)))); in TYPED_TEST_P() 1258 EXPECT_THAT(v, AllOf(SizeIs(3), ElementsAre(ValueIs(123), ValueIs(123), in InstanceCountElemAssignWithAllocationTest() 1259 ValueIs(123)))); in InstanceCountElemAssignWithAllocationTest() 1463 AllOf(SizeIs(1), CapacityIs(1), ElementsAre(ValueIs(0)))); in TEST() 1470 AllOf(SizeIs(2), CapacityIs(Gt(1)), ElementsAre(ValueIs(0), ValueIs(1)))); in TEST() 1532 ElementsAre(ValueIs(3)))); in TYPED_TEST_P() 1539 v, AllOf(SizeIs(3), ElementsAre(ValueIs(3), ValueIs(4), ValueIs(5)))); in TYPED_TEST_P()
|
/external/angle/third_party/abseil-cpp/absl/container/ |
D | inlined_vector_test.cc | 64 MATCHER_P(ValueIs, e, "") { 1244 EXPECT_THAT(v, AllOf(SizeIs(2), ElementsAre(ValueIs(123), ValueIs(123)))); in TYPED_TEST_P() 1262 EXPECT_THAT(v, AllOf(SizeIs(3), ElementsAre(ValueIs(123), ValueIs(123), in InstanceCountElemAssignWithAllocationTest() 1263 ValueIs(123)))); in InstanceCountElemAssignWithAllocationTest() 1467 AllOf(SizeIs(1), CapacityIs(1), ElementsAre(ValueIs(0)))); in TEST() 1474 AllOf(SizeIs(2), CapacityIs(Gt(1)), ElementsAre(ValueIs(0), ValueIs(1)))); in TEST() 1536 ElementsAre(ValueIs(3)))); in TYPED_TEST_P() 1543 v, AllOf(SizeIs(3), ElementsAre(ValueIs(3), ValueIs(4), ValueIs(5)))); in TYPED_TEST_P()
|
/external/openscreen/third_party/abseil/src/absl/container/ |
D | inlined_vector_test.cc | 64 MATCHER_P(ValueIs, e, "") { 1244 EXPECT_THAT(v, AllOf(SizeIs(2), ElementsAre(ValueIs(123), ValueIs(123)))); in TYPED_TEST_P() 1262 EXPECT_THAT(v, AllOf(SizeIs(3), ElementsAre(ValueIs(123), ValueIs(123), in InstanceCountElemAssignWithAllocationTest() 1263 ValueIs(123)))); in InstanceCountElemAssignWithAllocationTest() 1467 AllOf(SizeIs(1), CapacityIs(1), ElementsAre(ValueIs(0)))); in TEST() 1474 AllOf(SizeIs(2), CapacityIs(Gt(1)), ElementsAre(ValueIs(0), ValueIs(1)))); in TEST() 1536 ElementsAre(ValueIs(3)))); in TYPED_TEST_P() 1543 v, AllOf(SizeIs(3), ElementsAre(ValueIs(3), ValueIs(4), ValueIs(5)))); in TYPED_TEST_P()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Testing/Support/ |
D | SupportHelpers.h | 102 detail::ValueIsMatcher<InnerMatcher> ValueIs(const InnerMatcher &ValueMatcher) { in ValueIs() function
|
/external/llvm-project/llvm/include/llvm/Testing/Support/ |
D | SupportHelpers.h | 104 detail::ValueIsMatcher<InnerMatcher> ValueIs(const InnerMatcher &ValueMatcher) { in ValueIs() function
|