github.com/gunjan5/docker@v1.8.2/daemon/graphdriver/overlay/overlay_test.go (about) 1 // +build linux 2 3 package overlay 4 5 import ( 6 "github.com/docker/docker/daemon/graphdriver/graphtest" 7 "testing" 8 ) 9 10 // This avoids creating a new driver for each test if all tests are run 11 // Make sure to put new tests between TestOverlaySetup and TestOverlayTeardown 12 func TestOverlaySetup(t *testing.T) { 13 graphtest.GetDriver(t, "overlay") 14 } 15 16 func TestOverlayCreateEmpty(t *testing.T) { 17 graphtest.DriverTestCreateEmpty(t, "overlay") 18 } 19 20 func TestOverlayCreateBase(t *testing.T) { 21 graphtest.DriverTestCreateBase(t, "overlay") 22 } 23 24 func TestOverlayCreateSnap(t *testing.T) { 25 graphtest.DriverTestCreateSnap(t, "overlay") 26 } 27 28 func TestOverlayTeardown(t *testing.T) { 29 graphtest.PutDriver(t) 30 }