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

Method call

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

Source from the content-addressed store, hash-verified

522 final Object ret = new Object();
523 Callable<Object> callable = new Callable<Object>() {
524 @Override
525 public Object call() {
526 runner.run();
527 return ret;
528 }
529 };
530
531 assertSame(ret, base.wrap(callable).call());

Callers 1

testWrapCallableMethod · 0.45

Calls 8

currentMethod · 0.95
assertEqualsMethod · 0.80
withValueMethod · 0.80
runMethod · 0.65
getMethod · 0.65
detachMethod · 0.65
submitMethod · 0.45
attachMethod · 0.45

Tested by

no test coverage detected