import (
"testing"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func Test(t *testing.T) {
"strings"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"golang.org/x/net/websocket"
)
"github.com/docker/docker/api/types"
"github.com/docker/docker/pkg/stringid"
"github.com/docker/docker/runconfig"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestContainerApiGetAll(c *check.C) {
"net/http"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestEventsApiEmptyOutput(c *check.C) {
"net/http"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestExecResizeApiHeightWidthNoInt(c *check.C) {
"fmt"
"net/http"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Regression test for #9414
"strings"
"github.com/docker/docker/api/types"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestApiImagesFilter(c *check.C) {
"net/http"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestInfoApi(c *check.C) {
"net/http"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestInspectApiContainerResponse(c *check.C) {
"strings"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestLogsApiWithStdout(c *check.C) {
"fmt"
"net/http"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func isNetworkAvailable(c *check.C, name string) bool {
"net/http"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestResizeApiResponse(c *check.C) {
"fmt"
"net/http"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func isServiceAvailable(c *check.C, name string, network string) bool {
"time"
"github.com/docker/docker/api/types"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestCliStatsNoStreamGetCpu(c *check.C) {
"time"
"github.com/docker/docker/api"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestApiOptionsRoute(c *check.C) {
"github.com/docker/docker/api/types"
"github.com/docker/docker/autogen/dockerversion"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestGetVersion(c *check.C) {
"sync"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
const attachWait = 5 * time.Second
"time"
"github.com/docker/docker/pkg/stringid"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"github.com/kr/pty"
)
"github.com/docker/docker/builder/command"
"github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/stringutils"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestBuildJSONEmptyRun(c *check.C) {
"strings"
"github.com/docker/docker/pkg/ulimit"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestBuildResourceConstraintsAreUsed(c *check.C) {
"github.com/docker/distribution/digest"
"github.com/docker/distribution/manifest"
"github.com/docker/docker/utils"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
var (
import (
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestCommitAfterContainerIsDone(c *check.C) {
"github.com/docker/docker/autogen/dockerversion"
"github.com/docker/docker/pkg/homedir"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestConfigHttpHeader(c *check.C) {
"os"
"path/filepath"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// docker cp CONTAINER:PATH LOCALPATH
"path/filepath"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
const (
import (
"os"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// docker cp LOCALPATH CONTAINER:PATH
"strings"
"github.com/docker/docker/pkg/archive"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
type fileType uint32
"io/ioutil"
"github.com/docker/docker/pkg/nat"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Make sure we can create a simple container with some args
"os/exec"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func assertNetwork(c *check.C, d *Daemon, name string) {
"github.com/docker/libnetwork/iptables"
"github.com/docker/libtrust"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerDaemonSuite) TestDaemonRestartWithRunningContainersPorts(c *check.C) {
import (
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// ensure that an added file shows up in docker diff
"sync"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestEventsTimestampFormats(c *check.C) {
"os/exec"
"unicode"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"github.com/kr/pty"
)
"sync"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestExec(c *check.C) {
"strings"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"github.com/kr/pty"
)
import (
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestExperimentalVersion(c *check.C) {
"os/exec"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// export an image and try to import it into a new one
"unicode"
"github.com/docker/docker/pkg/homedir"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestHelpTextVerify(c *check.C) {
"strconv"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// This is a heisen-test. Because the created timestamp of images and the behavior of
"time"
"github.com/docker/docker/pkg/stringid"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestImagesEnsureImageIsListed(c *check.C) {
"os/exec"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestImportDisplay(c *check.C) {
"strings"
"github.com/docker/docker/utils"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// ensure docker info succeeds
import (
"github.com/docker/docker/api/types"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestInspectNamedMountPoint(c *check.C) {
"time"
"github.com/docker/docker/api/types"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestInspectImage(c *check.C) {
"net/http"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestKillContainer(c *check.C) {
import (
"fmt"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"reflect"
"regexp"
"strings"
"os"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestLinksEtcHostsRegularFile(c *check.C) {
"bytes"
"os/exec"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestLoginWithoutTTY(c *check.C) {
"time"
"github.com/docker/docker/pkg/timeutils"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// This used to work, it test a log of PageSize-1 (gh#4851)
"net"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func startServerContainer(c *check.C, msg string, port int) string {
import (
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func assertNwIsAvailable(c *check.C, name string) {
"fmt"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestPause(c *check.C) {
"sort"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestPortList(c *check.C) {
"net"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestPortHostBinding(c *check.C) {
"os/exec"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestCliProxyDisableProxyUnixSock(c *check.C) {
"strings"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestPsListContainers(c *check.C) {
"time"
"github.com/docker/distribution/digest"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// See issue docker/docker#8141
"strings"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Pushing an image to a private registry.
"strings"
"github.com/docker/docker/pkg/stringid"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestRenameStoppedContainer(c *check.C) {
"strings"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestRestartStoppedContainer(c *check.C) {
"os"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestRmContainerWithRemovedVolume(c *check.C) {
"os/exec"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestRmiWithContainerFails(c *check.C) {
"github.com/docker/docker/pkg/nat"
"github.com/docker/libnetwork/resolvconf"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// "test123" should be printed by docker run
"time"
"github.com/docker/docker/pkg/mount"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"github.com/kr/pty"
)
"sort"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// save a repo using gz compression and try to load it using stdout
"os"
"os/exec"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
"github.com/kr/pty"
)
import (
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// search for repos named "registry" on the central registry
"fmt"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func assertSrvIsAvailable(c *check.C, sname, name string) {
"strings"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Regression test for https://github.com/docker/docker/issues/7843
"path/filepath"
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func init() {
"strings"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestCliStatsNoStream(c *check.C) {
"strings"
"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
import (
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func (s *DockerSuite) TestTopMultipleArgs(c *check.C) {
"net/http"
"os"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
func makefile(contents string) (string, func(), error) {
import (
"strings"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// ensure docker version works
"strings"
"time"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// non-blocking wait with 0 exit code
"github.com/docker/docker/opts"
"github.com/docker/docker/pkg/ioutils"
"github.com/docker/docker/pkg/stringutils"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
// Daemon represents a Docker daemon for the testing framework.
"path/filepath"
"github.com/docker/distribution/digest"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
const v2binary = "registry-v2"
"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
"time"
"github.com/docker/docker/pkg/tlsconfig"
- "github.com/go-check/check"
+ "gopkg.in/check.v1"
)
var notaryBinary = "notary-server"