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:
Matt T. Proud 2013-01-18 16:29:47 +01:00
parent c19702aca2
commit acf4e9ce2b
16 changed files with 15 additions and 18 deletions

View File

@ -1,8 +1,5 @@
language: go language: go
before_install:
- sudo apt-get install bzr >/dev/null 2>&1
before_script: before_script:
- go get -v github.com/matttproud/golang_instrumentation - go get -v github.com/matttproud/golang_instrumentation

View File

@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
package maths package maths
import ( import (
. "launchpad.net/gocheck" . "github.com/matttproud/gocheck"
"math" "math"
"reflect" "reflect"
) )

View File

@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
package maths package maths
import ( import (
. "launchpad.net/gocheck" . "github.com/matttproud/gocheck"
"testing" "testing"
) )

View File

@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
package maths package maths
import ( import (
. "launchpad.net/gocheck" . "github.com/matttproud/gocheck"
) )
func (s *S) TestAverageOnEmpty(c *C) { func (s *S) TestAverageOnEmpty(c *C) {

View File

@ -9,9 +9,9 @@ license that can be found in the LICENSE file.
package metrics package metrics
import ( import (
. "github.com/matttproud/gocheck"
"github.com/matttproud/golang_instrumentation/maths" "github.com/matttproud/golang_instrumentation/maths"
"github.com/matttproud/golang_instrumentation/utility" "github.com/matttproud/golang_instrumentation/utility"
. "launchpad.net/gocheck"
"time" "time"
) )

View File

@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
package metrics package metrics
import ( import (
. "launchpad.net/gocheck" . "github.com/matttproud/gocheck"
) )
func (s *S) TestCounterCreate(c *C) { func (s *S) TestCounterCreate(c *C) {

View File

@ -10,9 +10,9 @@ package metrics
import ( import (
"container/heap" "container/heap"
. "github.com/matttproud/gocheck"
"github.com/matttproud/golang_instrumentation/maths" "github.com/matttproud/golang_instrumentation/maths"
"github.com/matttproud/golang_instrumentation/utility" "github.com/matttproud/golang_instrumentation/utility"
. "launchpad.net/gocheck"
) )
func (s *S) TestEvictOldest(c *C) { func (s *S) TestEvictOldest(c *C) {

View File

@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
package metrics package metrics
import ( import (
. "launchpad.net/gocheck" . "github.com/matttproud/gocheck"
) )
func (s *S) TestGaugeCreate(c *C) { func (s *S) TestGaugeCreate(c *C) {

View File

@ -9,8 +9,8 @@ license that can be found in the LICENSE file.
package metrics package metrics
import ( import (
. "github.com/matttproud/gocheck"
"github.com/matttproud/golang_instrumentation/maths" "github.com/matttproud/golang_instrumentation/maths"
. "launchpad.net/gocheck"
) )
func (s *S) TestEquallySizedBucketsFor(c *C) { func (s *S) TestEquallySizedBucketsFor(c *C) {

View File

@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
package metrics package metrics
import ( import (
. "launchpad.net/gocheck" . "github.com/matttproud/gocheck"
"testing" "testing"
) )

View File

@ -9,8 +9,8 @@ license that can be found in the LICENSE file.
package metrics package metrics
import ( import (
. "github.com/matttproud/gocheck"
"github.com/matttproud/golang_instrumentation/maths" "github.com/matttproud/golang_instrumentation/maths"
. "launchpad.net/gocheck"
) )
func (s *S) TestTallyingPercentileEstimatorMinimum(c *C) { func (s *S) TestTallyingPercentileEstimatorMinimum(c *C) {

View File

@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
package metrics package metrics
import ( import (
. "launchpad.net/gocheck" . "github.com/matttproud/gocheck"
"time" "time"
) )

View File

@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
package utility package utility
import ( import (
. "launchpad.net/gocheck" . "github.com/matttproud/gocheck"
) )
func (s *S) TestEmptyOptional(c *C) { func (s *S) TestEmptyOptional(c *C) {

View File

@ -10,7 +10,7 @@ package utility
import ( import (
"container/heap" "container/heap"
. "launchpad.net/gocheck" . "github.com/matttproud/gocheck"
) )
func (s *S) TestPriorityQueueSort(c *C) { func (s *S) TestPriorityQueueSort(c *C) {

View File

@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
package utility package utility
import ( import (
. "launchpad.net/gocheck" . "github.com/matttproud/gocheck"
) )
type valueEqualsChecker struct { type valueEqualsChecker struct {

View File

@ -9,7 +9,7 @@ license that can be found in the LICENSE file.
package utility package utility
import ( import (
. "launchpad.net/gocheck" . "github.com/matttproud/gocheck"
"testing" "testing"
) )