(step int32, ret *int32)
| 97 | } |
| 98 | |
| 99 | func (s *TestService) IncCounterSimpleArgs(step int32, ret *int32) error { |
| 100 | log.WithFields(log.Fields{ |
| 101 | "req": step, |
| 102 | "reply": ret, |
| 103 | }).Debug("calling IncCounter") |
| 104 | *ret = atomic.AddInt32(&s.counter, step) |
| 105 | |
| 106 | return nil |
| 107 | } |
| 108 | |
| 109 | func TestIncCounter(t *testing.T) { |
| 110 | log.SetLevel(log.FatalLevel) |
nothing calls this directly
no test coverage detected