Skip to content

Commit

Permalink
Decouple from Bazaar.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matttproud committed Jan 18, 2013
1 parent c19702a commit acf4e9c
Show file tree
Hide file tree
Showing 16 changed files with 15 additions and 18 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion maths/helpers_for_testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion maths/maths_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
package maths

import (
. "launchpad.net/gocheck"
. "github.com/matttproud/gocheck"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion maths/statistics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion metrics/accumulating_bucket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion metrics/counter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion metrics/eviction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion metrics/gauge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion metrics/histogram_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion metrics/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
package metrics

import (
. "launchpad.net/gocheck"
. "github.com/matttproud/gocheck"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion metrics/tallying_bucket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion metrics/timer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
package metrics

import (
. "launchpad.net/gocheck"
. "github.com/matttproud/gocheck"
"time"
)

Expand Down
2 changes: 1 addition & 1 deletion utility/optional_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion utility/priority_queue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package utility

import (
"container/heap"
. "launchpad.net/gocheck"
. "github.com/matttproud/gocheck"
)

func (s *S) TestPriorityQueueSort(c *C) {
Expand Down
2 changes: 1 addition & 1 deletion utility/test_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion utility/utility_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
package utility

import (
. "launchpad.net/gocheck"
. "github.com/matttproud/gocheck"
"testing"
)

Expand Down

0 comments on commit acf4e9c

Please sign in to comment.