Home
last modified time | relevance | path

Searched refs:MATCHER_P (Results 1 – 25 of 102) sorted by relevance

12345

/external/llvm-project/compiler-rt/lib/xray/tests/unit/
Dtest_helpers.h32 MATCHER_P(FuncId, F, "") {
37 MATCHER_P(RecordType, T, "") {
42 MATCHER_P(HasArg, A, "") {
49 MATCHER_P(TSCIs, M, std::string("TSC is ") + ::testing::PrintToString(M)) {
/external/libtextclassifier/native/actions/
Dtest-utils.h34 MATCHER_P(IsActionOfType, type, "") { return Value(arg.type, type); }
35 MATCHER_P(IsSmartReply, response_text, "") {
40 MATCHER_P(IsSpan, span, "") {
/external/llvm-project/clang-tools-extra/clangd/unittests/
DConfigTesting.h68 MATCHER_P(DiagMessage, M, "") { return arg.Message == M; }
69 MATCHER_P(DiagKind, K, "") { return arg.Kind == K; }
70 MATCHER_P(DiagPos, P, "") { return arg.Pos == P; }
71 MATCHER_P(DiagRange, R, "") { return arg.Rng == R; }
DURITests.cpp26 MATCHER_P(Scheme, S, "") { return arg.scheme() == S; }
27 MATCHER_P(Authority, A, "") { return arg.authority() == A; }
28 MATCHER_P(Body, B, "") { return arg.body() == B; }
DHeadersTests.cpp131 MATCHER_P(Written, Name, "") { return arg.Written == Name; }
132 MATCHER_P(Resolved, Name, "") { return arg.Resolved == Name; }
133 MATCHER_P(IncludeLine, N, "") { return arg.HashLine == N; }
134 MATCHER_P(Directive, D, "") { return arg.Directive == D; }
DSymbolCollectorTests.cpp49 MATCHER_P(Labeled, Label, "") {
52 MATCHER_P(ReturnType, D, "") { return arg.ReturnType == D; }
53 MATCHER_P(Doc, D, "") { return arg.Documentation == D; }
54 MATCHER_P(Snippet, S, "") {
57 MATCHER_P(QName, Name, "") { return (arg.Scope + arg.Name).str() == Name; }
58 MATCHER_P(TemplateArgs, TemplArgs, "") {
61 MATCHER_P(DeclURI, P, "") {
64 MATCHER_P(DefURI, P, "") { return StringRef(arg.Definition.FileURI) == P; }
66 MATCHER_P(IncludeHeader, P, "") {
79 MATCHER_P(DeclRange, Pos, "") {
[all …]
DParsedASTTests.cpp50 MATCHER_P(DeclNamed, Name, "") {
61 MATCHER_P(DeclKind, Kind, "") {
74 MATCHER_P(WithTemplateArgs, ArgName, "") {
97 MATCHER_P(RangeIs, R, "") {
352 MATCHER_P(WithFileName, Inc, "") { return arg.FileName == Inc; }
DCodeCompleteTests.cpp53 MATCHER_P(Named, Name, "") { return arg.Name == Name; }
54 MATCHER_P(NameStartsWith, Prefix, "") {
57 MATCHER_P(Scope, S, "") { return arg.Scope == S; }
58 MATCHER_P(Qualifier, Q, "") { return arg.RequiredQualifier == Q; }
59 MATCHER_P(Labeled, Label, "") {
62 MATCHER_P(SigHelpLabeled, Label, "") { return arg.label == Label; }
63 MATCHER_P(Kind, K, "") { return arg.Kind == K; }
64 MATCHER_P(Doc, D, "") {
67 MATCHER_P(ReturnType, D, "") { return arg.ReturnType == D; }
68 MATCHER_P(HasInclude, IncludeHeader, "") {
[all …]
DFileIndexTests.cpp49 MATCHER_P(RefRange, Range, "") {
55 MATCHER_P(FileURI, F, "") { return llvm::StringRef(arg.Location.FileURI) == F; }
56 MATCHER_P(DeclURI, U, "") {
59 MATCHER_P(DefURI, U, "") {
62 MATCHER_P(QName, N, "") { return (arg.Scope + arg.Name).str() == N; }
63 MATCHER_P(NumReferences, N, "") { return arg.References == N; }
64 MATCHER_P(hasOrign, O, "") { return bool(arg.Origin & O); }
DFindSymbolsTests.cpp31 MATCHER_P(QName, Name, "") {
36 MATCHER_P(WithName, N, "") { return arg.name == N; }
37 MATCHER_P(WithKind, Kind, "") { return arg.kind == Kind; }
38 MATCHER_P(SymRange, Range, "") { return arg.range == Range; }
41 MATCHER_P(SymNameRange, Range, "") { return arg.selectionRange == Range; }
DCallHierarchyTests.cpp39 MATCHER_P(WithName, N, "") { return arg.name == N; }
40 MATCHER_P(WithSelectionRange, R, "") { return arg.selectionRange == R; }
DTypeHierarchyTests.cpp38 MATCHER_P(WithName, N, "") { return arg.name == N; }
39 MATCHER_P(WithKind, Kind, "") { return arg.kind == Kind; }
40 MATCHER_P(SelectionRangeIs, R, "") { return arg.selectionRange == R; }
209 MATCHER_P(ImplicitSpecOf, ClassTemplate, "") {
DDiagnosticsTests.cpp74 MATCHER_P(FixMessage, Message, "") { return arg.Message == Message; }
76 MATCHER_P(EqualToLSPDiag, LSPDiag,
87 MATCHER_P(DiagSource, S, "") { return arg.Source == S; }
88 MATCHER_P(DiagName, N, "") { return arg.Name == N; }
89 MATCHER_P(DiagSeverity, S, "") { return arg.Severity == S; }
91 MATCHER_P(EqualToFix, Fix, "LSP fix " + llvm::to_string(Fix)) {
DIndexActionTests.cpp32 MATCHER_P(HasDigest, Digest, "") { return arg.Digest == Digest; }
34 MATCHER_P(HasName, Name, "") { return arg.Name == Name; }
/external/icing/icing/testing/
Dcommon-matchers.h103 MATCHER_P(EqualsScoredDocumentHit, expected_scored_document_hit, "") {
120 MATCHER_P(EqualsSetSchemaResult, expected, "") {
308 MATCHER_P(IsOkAndHolds, matcher, "") {
319 MATCHER_P(StatusIs, status_code, "") {
356 MATCHER_P(ProtoStatusIs, status_code, "") {
378 MATCHER_P(EqualsSearchResultIgnoreStatsAndScores, expected, "") {
/external/llvm-project/clang/unittests/Index/
DIndexTests.cpp150 MATCHER_P(QName, Name, "") { return arg.QName == Name; }
151 MATCHER_P(WrittenAt, Pos, "") { return arg.WrittenPos == Pos; }
152 MATCHER_P(DeclAt, Pos, "") { return arg.DeclPos == Pos; }
153 MATCHER_P(Kind, SymKind, "") { return arg.SymInfo.Kind == SymKind; }
154 MATCHER_P(HasRole, Role, "") { return arg.Roles & static_cast<unsigned>(Role); }
/external/icing/icing/portable/
Dequals-proto.h34 MATCHER_P(EqualsProto, other, "Compare MessageLite by serialized string") {
/external/libtextclassifier/native/annotator/number/
Dnumber_test-include.cc70 MATCHER_P(IsCorrectCollection, collection, "collection is " + collection) {
74 MATCHER_P(IsCorrectNumericValue, numeric_value,
79 MATCHER_P(IsCorrectNumericDoubleValue, numeric_double_value,
84 MATCHER_P(IsCorrectScore, score, "score is " + std::to_string(score)) {
88 MATCHER_P(IsCorrectPriortyScore, priority_score,
93 MATCHER_P(IsCorrectSpan, span,
99 MATCHER_P(Classification, inner, "") {
/external/webrtc/modules/audio_coding/audio_network_adaptor/
Daudio_network_adaptor_impl_unittest.cc39 MATCHER_P(NetworkMetricsIs, metric, "") {
47 MATCHER_P(IsRtcEventAnaConfigEqualTo, config, "") {
55 MATCHER_P(EncoderRuntimeConfigIs, config, "") {
/external/nos/host/generic/libnos/generator/test/
Dtest.cpp43 MATCHER_P(ProtoMessageEq, msg, "") { return MessageDifferencer::Equals(arg, msg); }
47 MATCHER_P(DecodesToProtoMessage, msg, "Vector does not decode to correct message") {
/external/llvm-project/clang-tools-extra/unittests/clang-include-fixer/
DFuzzySymbolIndexTests.cpp30 MATCHER_P(MatchesSymbol, Identifier, "") {
/external/libtextclassifier/native/annotator/grammar/
Dtest-utils.h46 MATCHER_P(IsClassificationResult, collection,
/external/llvm-project/clang/unittests/Tooling/Syntax/
DTreeTestBase.h59 MATCHER_P(role, R, "") {
/external/libtextclassifier/native/annotator/
Dtest-utils.h36 MATCHER_P(IsAnnotationWithType, best_class, "") {
/external/llvm-project/libc/benchmarks/
DLibcMemoryBenchmarkTest.cpp58 MATCHER_P(IsDivisibleBy, n, "") {

12345