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

Method rootIsNotCancelled

api/src/test/java/io/grpc/ContextTest.java:146–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

144 }
145
146 @Test
147 public void rootIsNotCancelled() {
148 assertFalse(Context.ROOT.isCancelled());
149 assertNull(Context.ROOT.cancellationCause());
150 }
151
152 @Test
153 public void attachedCancellableContextCannotBeCastFromCurrent() {

Callers

nothing calls this directly

Calls 2

isCancelledMethod · 0.45
cancellationCauseMethod · 0.45

Tested by

no test coverage detected