(t *testing.T)
| 86 | } |
| 87 | |
| 88 | func TestRunningStateTransition(t *testing.T) { |
| 89 | testTransitions( |
| 90 | t, |
| 91 | &runningState{c: &Container{}}, |
| 92 | []containerState{ |
| 93 | &stoppedState{}, |
| 94 | &pausedState{}, |
| 95 | &runningState{}, |
| 96 | }, |
| 97 | ) |
| 98 | } |
| 99 | |
| 100 | func TestCreatedStateTransition(t *testing.T) { |
| 101 | testTransitions( |
nothing calls this directly
no test coverage detected
searching dependent graphs…