"sync"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) BenchmarkConcurrentContainerActions(c *check.C) {
"github.com/docker/docker/cliconfig"
"github.com/docker/docker/pkg/reexec"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func Test(t *testing.T) {
"github.com/docker/docker/pkg/ioutils"
"github.com/docker/docker/pkg/tlsconfig"
"github.com/docker/go-connections/sockets"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Daemon represents a Docker daemon for the testing framework.
"time"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"golang.org/x/net/websocket"
)
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/engine-api/types"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Test case for #22244
"net/http"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestBuildApiDockerfilePath(c *check.C) {
"github.com/docker/engine-api/types"
containertypes "github.com/docker/engine-api/types/container"
networktypes "github.com/docker/engine-api/types/network"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestContainerApiGetAll(c *check.C) {
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestApiCreateWithNotExistImage(c *check.C) {
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/jsonmessage"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestEventsApiEmptyOutput(c *check.C) {
"sync"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestExecResizeApiHeightWidthNoInt(c *check.C) {
"time"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Regression test for #9414
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/engine-api/types"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestApiImagesFilter(c *check.C) {
"net/http"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestInfoApi(c *check.C) {
"github.com/docker/docker/pkg/stringutils"
"github.com/docker/engine-api/types"
"github.com/docker/engine-api/types/versions/v1p20"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestInspectApiContainerResponse(c *check.C) {
"net/http"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// #16665
"time"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestLogsApiWithStdout(c *check.C) {
"github.com/docker/engine-api/types"
"github.com/docker/engine-api/types/filters"
"github.com/docker/engine-api/types/network"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestApiNetworkGetDefaults(c *check.C) {
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestResizeApiResponse(c *check.C) {
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/version"
"github.com/docker/engine-api/types"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
var expectedNetworkInterfaceStats = strings.Split("rx_bytes rx_dropped rx_errors rx_packets tx_bytes tx_dropped tx_errors tx_packets", " ")
"github.com/docker/docker/api"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestApiOptionsRoute(c *check.C) {
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestApiUpdateContainer(c *check.C) {
"github.com/docker/docker/dockerversion"
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/engine-api/types"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestGetVersion(c *check.C) {
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/engine-api/types"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestVolumesApiList(c *check.C) {
"time"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
const attachWait = 5 * time.Second
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/stringid"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"github.com/kr/pty"
)
"github.com/docker/docker/pkg/authorization"
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/plugins"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
const (
"github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/stringutils"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestBuildJSONEmptyRun(c *check.C) {
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/go-units"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestBuildResourceConstraintsAreUsed(c *check.C) {
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/stringutils"
"github.com/docker/engine-api/types"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
var (
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestCommitAfterContainerIsDone(c *check.C) {
"github.com/docker/docker/dockerversion"
"github.com/docker/docker/pkg/homedir"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestConfigHttpHeader(c *check.C) {
"path/filepath"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// docker cp CONTAINER:PATH LOCALPATH
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
const (
"os"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// docker cp LOCALPATH CONTAINER:PATH
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/system"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Check ownership is root, both in non-userns and userns enabled modes
"github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
type fileType uint32
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/stringid"
"github.com/docker/go-connections/nat"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Make sure we can create a simple container with some args
"strings"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// TestDaemonRestartWithKilledRunningContainer requires live restore of running containers
"os"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// os.Kill should kill daemon ungracefully, leaving behind container mounts.
"github.com/docker/go-units"
"github.com/docker/libnetwork/iptables"
"github.com/docker/libtrust"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"github.com/kr/pty"
)
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// ensure that an added file shows up in docker diff
"github.com/docker/docker/daemon/events/testutils"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestEventsTimestampFormats(c *check.C) {
"unicode"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"github.com/kr/pty"
)
"time"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestExec(c *check.C) {
"time"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"github.com/kr/pty"
)
import (
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"strings"
)
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// export an image and try to import it into a new one
"github.com/docker/docker/daemon/graphdriver/vfs"
"github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/plugins"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func init() {
"github.com/docker/docker/pkg/homedir"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestHelpTextVerify(c *check.C) {
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// This is a heisen-test. Because the created timestamp of images and the behavior of
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/stringid"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestImagesEnsureImageIsListed(c *check.C) {
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestImportDisplay(c *check.C) {
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/utils"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// ensure docker info succeeds
import (
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/engine-api/types"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestInspectNamedMountPoint(c *check.C) {
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/engine-api/types"
"github.com/docker/engine-api/types/container"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func checkValidGraphDriver(c *check.C, name string) {
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestKillContainer(c *check.C) {
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/runconfig"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestLinksPingUnlinkedContainers(c *check.C) {
"os"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestLinksEtcHostsContentMatch(c *check.C) {
"os/exec"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestLoginWithoutTTY(c *check.C) {
"path/filepath"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerRegistryAuthHtpasswdSuite) TestLogoutWithExternalAuth(c *check.C) {
"strings"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) BenchmarkLogsCLIRotateFollow(c *check.C) {
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/jsonlog"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// This used to work, it test a log of PageSize-1 (gh#4851)
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func startServerContainer(c *check.C, msg string, port int) string {
import (
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/runconfig"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// GH14530. Validates combinations of --net= with other options
"github.com/docker/libnetwork/ipamapi"
remoteipam "github.com/docker/libnetwork/ipams/remote/api"
"github.com/docker/libnetwork/netlabel"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"github.com/vishvananda/netlink"
)
import (
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestInspectOomKilledTrue(c *check.C) {
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestPause(c *check.C) {
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestPortList(c *check.C) {
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestCliProxyDisableProxyUnixSock(c *check.C) {
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/stringid"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestPsListContainersBase(c *check.C) {
"github.com/docker/distribution/manifest/manifestlist"
"github.com/docker/distribution/manifest/schema2"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// testPullImageWithAliases pulls a specific image tag and verifies that any aliases (i.e., other
"github.com/docker/distribution/digest"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// TestPullFromCentralRegistry pulls an image from the central registry and verifies that the client
"time"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerTrustSuite) TestTrustedPull(c *check.C) {
"github.com/docker/distribution/digest"
"github.com/docker/docker/cliconfig"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Pushing an image to a private registry.
"net/http"
"regexp"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// unescapeBackslashSemicolonParens unescapes \;()
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/stringid"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestRenameStoppedContainer(c *check.C) {
"time"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestRestartStoppedContainer(c *check.C) {
"os"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestRmContainerWithRemovedVolume(c *check.C) {
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/stringid"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestRmiWithContainerFails(c *check.C) {
"github.com/docker/go-connections/nat"
"github.com/docker/libnetwork/netutils"
"github.com/docker/libnetwork/resolvconf"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
libcontainerUser "github.com/opencontainers/runc/libcontainer/user"
)
"github.com/docker/docker/pkg/mount"
"github.com/docker/docker/pkg/parsers"
"github.com/docker/docker/pkg/sysinfo"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"github.com/kr/pty"
)
"github.com/docker/distribution/digest"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// save a repo using gz compression and try to load it using stdout
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"github.com/kr/pty"
)
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// search for repos named "registry" on the central registry
"os/exec"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestClientSetsTLSServerName(c *check.C) {
"time"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Regression test for https://github.com/docker/docker/issues/7843
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/engine-api/types"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func init() {
"time"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestStatsNoStream(c *check.C) {
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/stringid"
"github.com/docker/docker/pkg/stringutils"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// tagging a named image in a new unprefixed repo should work
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestTopMultipleArgs(c *check.C) {
"time"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestUpdateRestartPolicy(c *check.C) {
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/engine-api/types"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestUpdateRunningContainer(c *check.C) {
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/system"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// user namespaces test: run daemon with remapped root setting
"net/http"
"os"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func makefile(contents string) (string, func(), error) {
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// ensure docker version works
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestVolumeCliCreate(c *check.C) {
"time"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// non-blocking wait with 0 exit code
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/parsers/kernel"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
var (
"strings"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func init() {
"github.com/docker/engine-api/types"
"github.com/docker/go-connections/tlsconfig"
"github.com/docker/go-units"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func init() {
"github.com/Sirupsen/logrus"
"github.com/docker/docker/daemon/events/testutils"
"github.com/docker/docker/pkg/integration/checker"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// eventMatcher is a function that tries to match an event input.
"path/filepath"
"github.com/docker/distribution/digest"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
const (
"strings"
"sync"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
type handlerFunc func(w http.ResponseWriter, r *http.Request)
"strings"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
type testCondition func() bool
"github.com/docker/docker/cliconfig"
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/tlsconfig"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
var notaryBinary = "notary"
import (
"testing"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Hook up gocheck into the "go test" runner.
"github.com/docker/docker/pkg/discovery"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Hook up gocheck into the "go test" runner.
package discovery
import (
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DiscoverySuite) TestGeneratorNotGenerate(c *check.C) {
"github.com/docker/libkv"
"github.com/docker/libkv/store"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Hook up gocheck into the "go test" runner.
"testing"
"github.com/docker/docker/pkg/discovery"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Hook up gocheck into the "go test" runner.
"github.com/docker/docker/pkg/discovery"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Hook up gocheck into the "go test" runner.
package checker
import (
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"github.com/vdemeester/shakers"
)
"strings"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// We use the elongated quote mechanism for quoting error returns as
"strings"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
const dockerBinary = "docker"