mirror of https://github.com/grpc/grpc-java.git
This is a big, but mostly mechanical change. The newly added Test*StreamTracer classes are designed to be extended which is why they are non final and have protected fields. There are a few notable things in this: 1. verifyNoMoreInteractions is gone. The API for StreamTracers doesn't make this guarantee. I have recovered this behavior by failing duplicate calls. This has resulted in a few bugs in the test code being fixed. 2. StreamTracers cannot be mocked anymore. Tracers need to be thread safe, which mocks simply are not. This leads to a HUGE number of reports when trying to find real races in gRPC. 3. If these classes are useful, we can promote them out of internal. I just put them here out of convenience. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||