MCPcopy Create free account
hub / github.com/grpc/grpc-java / matches

Method matches

api/src/testFixtures/java/io/grpc/StatusMatcher.java:71–77  ·  view source on GitHub ↗
(Status status)

Source from the content-addressed store, hash-verified

69 }
70
71 @Override
72 public boolean matches(Status status) {
73 return status != null
74 && codeMatcher.matches(status.getCode())
75 && (descriptionMatcher == null || descriptionMatcher.matches(status.getDescription()))
76 && (causeMatcher == null || causeMatcher.matches(status.getCause()));
77 }
78
79 @Override
80 public String toString() {

Callers

nothing calls this directly

Calls 4

getCodeMethod · 0.80
getCauseMethod · 0.80
matchesMethod · 0.65
getDescriptionMethod · 0.65

Tested by

no test coverage detected