Create a containerData instance for a test and add a default GetSpec mock.
(t *testing.T)
| 60 | |
| 61 | // Create a containerData instance for a test and add a default GetSpec mock. |
| 62 | func newTestContainerData(t *testing.T) (*containerData, *containertest.MockContainerHandler, *memory.InMemoryCache, *clock.FakeClock) { |
| 63 | return setupContainerData(t, itest.GenerateRandomContainerSpec(4)) |
| 64 | } |
| 65 | |
| 66 | func TestUpdateSubcontainers(t *testing.T) { |
| 67 | subcontainers := []info.ContainerReference{ |
no test coverage detected
searching dependent graphs…