MCPcopy
hub / github.com/opencontainers/runc / TestStoppedStateTransition

Function TestStoppedStateTransition

libcontainer/state_linux_test.go:53–63  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

51}
52
53func TestStoppedStateTransition(t *testing.T) {
54 testTransitions(
55 t,
56 &stoppedState{c: &Container{}},
57 []containerState{
58 &stoppedState{},
59 &runningState{},
60 &restoredState{},
61 },
62 )
63}
64
65func TestPausedStateTransition(t *testing.T) {
66 testTransitions(

Callers

nothing calls this directly

Calls 1

testTransitionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…