(t *testing.T)
| 16 | } |
| 17 | |
| 18 | func TestRCInvalid(t *testing.T) { |
| 19 | kubeRC := new(kube.ReplicationController) |
| 20 | _, err := NewReplicationController(kubeRC, kube.ObjectMeta{}, "") |
| 21 | assert.Error(t, err, "invalid rc") |
| 22 | } |
| 23 | |
| 24 | func TestRCNoPod(t *testing.T) { |
| 25 | kubeRC := kube.ReplicationController{ |
nothing calls this directly
no test coverage detected