(mocking func(), _example func())
| 29 | func exampleEndpoints() []string { return nil } |
| 30 | |
| 31 | func forUnitTestsRunInMockedContext(mocking func(), _example func()) { |
| 32 | mocking() |
| 33 | // TODO: Call 'example' when mocking() provides realistic mocking of transport. |
| 34 | |
| 35 | // The real testing logic of examples gets executed |
| 36 | // as part of ./tests/integration/clientv3/integration/... |
| 37 | } |
| 38 | |
| 39 | func TestMain(m *testing.M) { |
| 40 | testutil.MustTestMainWithLeakDetection(m) |
no outgoing calls
no test coverage detected
searching dependent graphs…