Upgrade gocheck

This commit is contained in:
Chris Read
2014-11-05 13:27:15 -06:00
parent 552b11e28d
commit daf887e54f
32 changed files with 60 additions and 32 deletions
+2 -1
View File
@@ -2,9 +2,10 @@ package deb
import (
"github.com/smira/aptly/utils"
. "launchpad.net/gocheck"
"path/filepath"
"runtime"
. "gopkg.in/check.v1"
)
type DebSuite struct {
+2 -1
View File
@@ -1,8 +1,9 @@
package deb
import (
. "launchpad.net/gocheck"
"testing"
. "gopkg.in/check.v1"
)
// Launch gocheck tests
+2 -1
View File
@@ -3,8 +3,9 @@ package deb
import (
"bufio"
"bytes"
. "launchpad.net/gocheck"
"strings"
. "gopkg.in/check.v1"
)
type ControlFileSuite struct {
+2 -1
View File
@@ -2,10 +2,11 @@ package deb
import (
"errors"
. "launchpad.net/gocheck"
"regexp"
"sort"
"strings"
. "gopkg.in/check.v1"
)
type containsChecker struct {
+2 -1
View File
@@ -3,7 +3,8 @@ package deb
import (
"errors"
"github.com/smira/aptly/database"
. "launchpad.net/gocheck"
. "gopkg.in/check.v1"
)
type LocalRepoSuite struct {
+2 -1
View File
@@ -3,7 +3,8 @@ package deb
import (
"github.com/smira/aptly/database"
"github.com/smira/aptly/utils"
. "launchpad.net/gocheck"
. "gopkg.in/check.v1"
)
type PackageCollectionSuite struct {
+2 -1
View File
@@ -3,9 +3,10 @@ package deb
import (
"github.com/smira/aptly/files"
"github.com/smira/aptly/utils"
. "launchpad.net/gocheck"
"os"
"path/filepath"
. "gopkg.in/check.v1"
)
type PackageFilesSuite struct {
+2 -1
View File
@@ -4,10 +4,11 @@ import (
"bytes"
"github.com/smira/aptly/files"
"github.com/smira/aptly/utils"
. "launchpad.net/gocheck"
"os"
"path/filepath"
"regexp"
. "gopkg.in/check.v1"
)
type PackageSuite struct {
+2 -1
View File
@@ -2,7 +2,8 @@ package deb
import (
"github.com/smira/aptly/utils"
. "launchpad.net/gocheck"
. "gopkg.in/check.v1"
)
type PpaSuite struct {
+2 -1
View File
@@ -9,9 +9,10 @@ import (
"github.com/smira/aptly/files"
"github.com/ugorji/go/codec"
"io/ioutil"
. "launchpad.net/gocheck"
"os"
"path/filepath"
. "gopkg.in/check.v1"
)
type pathExistsChecker struct {
+2 -1
View File
@@ -3,7 +3,8 @@ package deb
import (
"errors"
"github.com/smira/aptly/database"
. "launchpad.net/gocheck"
. "gopkg.in/check.v1"
)
type PackageRefListSuite struct {
+2 -1
View File
@@ -10,9 +10,10 @@ import (
"github.com/smira/aptly/utils"
"io"
"io/ioutil"
. "launchpad.net/gocheck"
"os"
"sort"
. "gopkg.in/check.v1"
)
type NullVerifier struct {
+2 -1
View File
@@ -3,7 +3,8 @@ package deb
import (
"errors"
"github.com/smira/aptly/database"
. "launchpad.net/gocheck"
. "gopkg.in/check.v1"
)
type SnapshotSuite struct {
+1 -1
View File
@@ -1,7 +1,7 @@
package deb
import (
. "launchpad.net/gocheck"
. "gopkg.in/check.v1"
)
type VersionSuite struct {