forked from jjeffery/stomp
-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1: use new import path and package name for check package (used to b…
…e go check)
- Loading branch information
Showing
24 changed files
with
29 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package stomp | ||
|
||
import ( | ||
. "launchpad.net/gocheck" | ||
. "gopkg.in/check.v1" | ||
) | ||
|
||
type EncodeSuite struct{} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package frame | ||
|
||
import ( | ||
. "launchpad.net/gocheck" | ||
. "gopkg.in/check.v1" | ||
"testing" | ||
"time" | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package stomp | ||
|
||
import ( | ||
. "launchpad.net/gocheck" | ||
. "gopkg.in/check.v1" | ||
) | ||
|
||
type FrameSuite struct{} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package stomp | ||
|
||
import ( | ||
. "launchpad.net/gocheck" | ||
. "gopkg.in/check.v1" | ||
"runtime" | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package stomp | ||
|
||
import ( | ||
. "gopkg.in/check.v1" | ||
"io" | ||
. "launchpad.net/gocheck" | ||
"strings" | ||
"testing/iotest" | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package client | ||
|
||
import ( | ||
"launchpad.net/gocheck" | ||
"gopkg.in/check.v1" | ||
"testing" | ||
) | ||
|
||
// Runs all gocheck tests in this package. | ||
// See other *_test.go files for gocheck tests. | ||
func TestClient(t *testing.T) { | ||
gocheck.TestingT(t) | ||
check.TestingT(t) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package client | ||
|
||
import ( | ||
. "launchpad.net/gocheck" | ||
. "gopkg.in/check.v1" | ||
) | ||
|
||
type SubscriptionListSuite struct{} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package client | ||
|
||
import ( | ||
. "launchpad.net/gocheck" | ||
. "gopkg.in/check.v1" | ||
"math" | ||
"time" | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package queue | ||
|
||
import ( | ||
. "launchpad.net/gocheck" | ||
. "gopkg.in/check.v1" | ||
) | ||
|
||
type ManagerSuite struct{} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package queue | ||
|
||
import ( | ||
"launchpad.net/gocheck" | ||
"gopkg.in/check.v1" | ||
"testing" | ||
) | ||
|
||
// Runs all gocheck tests in this package. | ||
// See other *_test.go files for gocheck tests. | ||
func TestQueue(t *testing.T) { | ||
gocheck.TestingT(t) | ||
check.TestingT(t) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package topic | ||
|
||
import ( | ||
. "launchpad.net/gocheck" | ||
. "gopkg.in/check.v1" | ||
) | ||
|
||
type ManagerSuite struct{} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package topic | ||
|
||
import ( | ||
"launchpad.net/gocheck" | ||
"gopkg.in/check.v1" | ||
"testing" | ||
) | ||
|
||
// Runs all gocheck tests in this package. | ||
// See other *_test.go files for gocheck tests. | ||
func Test(t *testing.T) { | ||
gocheck.TestingT(t) | ||
check.TestingT(t) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
package stomp | ||
|
||
import ( | ||
"launchpad.net/gocheck" | ||
"gopkg.in/check.v1" | ||
"testing" | ||
) | ||
|
||
// Runs all gocheck tests in this package. | ||
// See other *_test.go files for gocheck tests. | ||
func TestStomp(t *testing.T) { | ||
gocheck.TestingT(t) | ||
check.TestingT(t) | ||
} | ||
|
||
type StompSuite struct{} | ||
|
||
var _ = gocheck.Suite(&StompSuite{}) | ||
var _ = check.Suite(&StompSuite{}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package testutil | ||
|
||
import ( | ||
. "launchpad.net/gocheck" | ||
. "gopkg.in/check.v1" | ||
"testing" | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ package stomp | |
|
||
import ( | ||
"bytes" | ||
. "launchpad.net/gocheck" | ||
. "gopkg.in/check.v1" | ||
"strings" | ||
) | ||
|
||
|