forked from mirror/client_golang
Decouple from Bazaar.
Having to use Bazaar to access gocheck is onerous. We have simply forked it at a revision until all tests can be replaced with table-driven ones.
This commit is contained in:
parent
c19702aca2
commit
acf4e9ce2b
|
@ -1,8 +1,5 @@
|
|||
language: go
|
||||
|
||||
before_install:
|
||||
- sudo apt-get install bzr >/dev/null 2>&1
|
||||
|
||||
before_script:
|
||||
- go get -v github.com/matttproud/golang_instrumentation
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
|
|||
package maths
|
||||
|
||||
import (
|
||||
. "launchpad.net/gocheck"
|
||||
. "github.com/matttproud/gocheck"
|
||||
"math"
|
||||
"reflect"
|
||||
)
|
||||
|
|
|
@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
|
|||
package maths
|
||||
|
||||
import (
|
||||
. "launchpad.net/gocheck"
|
||||
. "github.com/matttproud/gocheck"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
|
|||
package maths
|
||||
|
||||
import (
|
||||
. "launchpad.net/gocheck"
|
||||
. "github.com/matttproud/gocheck"
|
||||
)
|
||||
|
||||
func (s *S) TestAverageOnEmpty(c *C) {
|
||||
|
|
|
@ -9,9 +9,9 @@ license that can be found in the LICENSE file.
|
|||
package metrics
|
||||
|
||||
import (
|
||||
. "github.com/matttproud/gocheck"
|
||||
"github.com/matttproud/golang_instrumentation/maths"
|
||||
"github.com/matttproud/golang_instrumentation/utility"
|
||||
. "launchpad.net/gocheck"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
|
|||
package metrics
|
||||
|
||||
import (
|
||||
. "launchpad.net/gocheck"
|
||||
. "github.com/matttproud/gocheck"
|
||||
)
|
||||
|
||||
func (s *S) TestCounterCreate(c *C) {
|
||||
|
|
|
@ -10,9 +10,9 @@ package metrics
|
|||
|
||||
import (
|
||||
"container/heap"
|
||||
. "github.com/matttproud/gocheck"
|
||||
"github.com/matttproud/golang_instrumentation/maths"
|
||||
"github.com/matttproud/golang_instrumentation/utility"
|
||||
. "launchpad.net/gocheck"
|
||||
)
|
||||
|
||||
func (s *S) TestEvictOldest(c *C) {
|
||||
|
|
|
@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
|
|||
package metrics
|
||||
|
||||
import (
|
||||
. "launchpad.net/gocheck"
|
||||
. "github.com/matttproud/gocheck"
|
||||
)
|
||||
|
||||
func (s *S) TestGaugeCreate(c *C) {
|
||||
|
|
|
@ -9,8 +9,8 @@ license that can be found in the LICENSE file.
|
|||
package metrics
|
||||
|
||||
import (
|
||||
. "github.com/matttproud/gocheck"
|
||||
"github.com/matttproud/golang_instrumentation/maths"
|
||||
. "launchpad.net/gocheck"
|
||||
)
|
||||
|
||||
func (s *S) TestEquallySizedBucketsFor(c *C) {
|
||||
|
|
|
@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
|
|||
package metrics
|
||||
|
||||
import (
|
||||
. "launchpad.net/gocheck"
|
||||
. "github.com/matttproud/gocheck"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ license that can be found in the LICENSE file.
|
|||
package metrics
|
||||
|
||||
import (
|
||||
. "github.com/matttproud/gocheck"
|
||||
"github.com/matttproud/golang_instrumentation/maths"
|
||||
. "launchpad.net/gocheck"
|
||||
)
|
||||
|
||||
func (s *S) TestTallyingPercentileEstimatorMinimum(c *C) {
|
||||
|
|
|
@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
|
|||
package metrics
|
||||
|
||||
import (
|
||||
. "launchpad.net/gocheck"
|
||||
. "github.com/matttproud/gocheck"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
|
|||
package utility
|
||||
|
||||
import (
|
||||
. "launchpad.net/gocheck"
|
||||
. "github.com/matttproud/gocheck"
|
||||
)
|
||||
|
||||
func (s *S) TestEmptyOptional(c *C) {
|
||||
|
|
|
@ -10,7 +10,7 @@ package utility
|
|||
|
||||
import (
|
||||
"container/heap"
|
||||
. "launchpad.net/gocheck"
|
||||
. "github.com/matttproud/gocheck"
|
||||
)
|
||||
|
||||
func (s *S) TestPriorityQueueSort(c *C) {
|
||||
|
|
|
@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
|
|||
package utility
|
||||
|
||||
import (
|
||||
. "launchpad.net/gocheck"
|
||||
. "github.com/matttproud/gocheck"
|
||||
)
|
||||
|
||||
type valueEqualsChecker struct {
|
||||
|
|
|
@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
|
|||
package utility
|
||||
|
||||
import (
|
||||
. "launchpad.net/gocheck"
|
||||
. "github.com/matttproud/gocheck"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue