Commit 263ffa7 1 parent 5edc964 commit 263ffa7 Copy full SHA for 263ffa7
File tree 33 files changed +57
-57
lines changed
33 files changed +57
-57
lines changed Original file line number Diff line number Diff line change 7
7
"net/url"
8
8
"strings"
9
9
10
+ "github.com/goadesign/goa"
10
11
. "github.com/onsi/ginkgo"
11
12
. "github.com/onsi/gomega"
12
- "github.com/goadesign/goa"
13
13
"golang.org/x/net/context"
14
14
"gopkg.in/inconshreveable/log15.v2"
15
15
)
Original file line number Diff line number Diff line change 1
1
package design_test
2
2
3
3
import (
4
+ "github.com/goadesign/goa/design"
4
5
. "github.com/onsi/ginkgo"
5
6
. "github.com/onsi/gomega"
6
- "github.com/goadesign/goa/design"
7
7
)
8
8
9
9
var _ = Describe ("IsRequired" , func () {
Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ package dsl_test
3
3
import (
4
4
"strconv"
5
5
6
- . "github.com/onsi/ginkgo"
7
- . "github.com/onsi/gomega"
8
6
. "github.com/goadesign/goa/design"
9
7
. "github.com/goadesign/goa/design/dsl"
8
+ . "github.com/onsi/ginkgo"
9
+ . "github.com/onsi/gomega"
10
10
)
11
11
12
12
var _ = Describe ("Action" , func () {
Original file line number Diff line number Diff line change 1
1
package dsl_test
2
2
3
3
import (
4
- . "github.com/onsi/ginkgo"
5
- . "github.com/onsi/gomega"
6
4
. "github.com/goadesign/goa/design"
7
5
. "github.com/goadesign/goa/design/dsl"
6
+ . "github.com/onsi/ginkgo"
7
+ . "github.com/onsi/gomega"
8
8
)
9
9
10
10
var _ = Describe ("API" , func () {
Original file line number Diff line number Diff line change 1
1
package dsl_test
2
2
3
3
import (
4
- . "github.com/onsi/ginkgo"
5
- . "github.com/onsi/gomega"
6
4
. "github.com/goadesign/goa/design"
7
5
. "github.com/goadesign/goa/design/dsl"
6
+ . "github.com/onsi/ginkgo"
7
+ . "github.com/onsi/gomega"
8
8
)
9
9
10
10
var _ = Describe ("Attribute" , func () {
Original file line number Diff line number Diff line change 1
1
package dsl_test
2
2
3
3
import (
4
+ "github.com/goadesign/goa/design/dsl"
4
5
. "github.com/onsi/ginkgo"
5
6
. "github.com/onsi/gomega"
6
- "github.com/goadesign/goa/design/dsl"
7
7
8
8
"testing"
9
9
)
Original file line number Diff line number Diff line change 1
1
package dsl_test
2
2
3
3
import (
4
- . "github.com/onsi/ginkgo"
5
- . "github.com/onsi/gomega"
6
4
. "github.com/goadesign/goa/design"
7
5
. "github.com/goadesign/goa/design/dsl"
6
+ . "github.com/onsi/ginkgo"
7
+ . "github.com/onsi/gomega"
8
8
)
9
9
10
10
var _ = Describe ("Resource" , func () {
Original file line number Diff line number Diff line change 1
1
package dsl_test
2
2
3
3
import (
4
- . "github.com/onsi/ginkgo"
5
- . "github.com/onsi/gomega"
6
4
. "github.com/goadesign/goa/design"
7
5
. "github.com/goadesign/goa/design/dsl"
6
+ . "github.com/onsi/ginkgo"
7
+ . "github.com/onsi/gomega"
8
8
)
9
9
10
10
var _ = Describe ("Response" , func () {
Original file line number Diff line number Diff line change 1
1
package dsl_test
2
2
3
3
import (
4
- . "github.com/onsi/ginkgo"
5
- . "github.com/onsi/gomega"
6
4
. "github.com/goadesign/goa/design"
7
5
. "github.com/goadesign/goa/design/dsl"
6
+ . "github.com/onsi/ginkgo"
7
+ . "github.com/onsi/gomega"
8
8
)
9
9
10
10
var _ = Describe ("DSL execution" , func () {
Original file line number Diff line number Diff line change 1
1
package test
2
2
3
3
import (
4
- . "github.com/onsi/ginkgo"
5
- . "github.com/onsi/gomega"
6
4
. "github.com/goadesign/goa/design"
7
5
. "github.com/goadesign/goa/design/dsl"
6
+ . "github.com/onsi/ginkgo"
7
+ . "github.com/onsi/gomega"
8
8
)
9
9
10
10
// Global test definitions
Original file line number Diff line number Diff line change 1
1
package dsl_test
2
2
3
3
import (
4
- . "github.com/onsi/ginkgo"
5
- . "github.com/onsi/gomega"
6
4
. "github.com/goadesign/goa/design"
7
5
. "github.com/goadesign/goa/design/dsl"
6
+ . "github.com/onsi/ginkgo"
7
+ . "github.com/onsi/gomega"
8
8
)
9
9
10
10
var _ = Describe ("Type" , func () {
Original file line number Diff line number Diff line change 1
1
package dsl_test
2
2
3
3
import (
4
- . "github.com/onsi/ginkgo"
5
- . "github.com/onsi/gomega"
6
4
. "github.com/goadesign/goa/design"
7
5
. "github.com/goadesign/goa/design/dsl"
6
+ . "github.com/onsi/ginkgo"
7
+ . "github.com/onsi/gomega"
8
8
)
9
9
10
10
var _ = Describe ("Validation" , func () {
Original file line number Diff line number Diff line change 5
5
"errors"
6
6
"fmt"
7
7
8
+ "github.com/goadesign/goa"
8
9
. "github.com/onsi/ginkgo"
9
10
. "github.com/onsi/gomega"
10
- "github.com/goadesign/goa"
11
11
)
12
12
13
13
// allErrorKinds list all the existing goa.ErrorID values.
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ import (
9
9
"runtime"
10
10
"text/template"
11
11
12
- . "github.com/onsi/ginkgo"
13
- . "github.com/onsi/gomega"
14
12
. "github.com/goadesign/goa/design"
15
13
. "github.com/goadesign/goa/design/dsl"
16
14
"github.com/goadesign/goa/goagen/codegen"
15
+ . "github.com/onsi/ginkgo"
16
+ . "github.com/onsi/gomega"
17
17
)
18
18
19
19
var _ = Describe ("code generation" , func () {
Original file line number Diff line number Diff line change 1
1
package codegen_test
2
2
3
3
import (
4
- . "github.com/onsi/ginkgo"
5
- . "github.com/onsi/gomega"
6
4
"github.com/goadesign/goa/design"
7
5
"github.com/goadesign/goa/goagen/codegen"
6
+ . "github.com/onsi/ginkgo"
7
+ . "github.com/onsi/gomega"
8
8
)
9
9
10
10
var _ = Describe ("validation code generation" , func () {
Original file line number Diff line number Diff line change 1
1
package genapp_test
2
2
3
3
import (
4
- . "github.com/onsi/ginkgo"
5
- . "github.com/onsi/gomega"
6
4
"github.com/goadesign/goa/goagen/codegen"
7
5
"github.com/goadesign/goa/goagen/gen_app"
6
+ . "github.com/onsi/ginkgo"
7
+ . "github.com/onsi/gomega"
8
8
"gopkg.in/alecthomas/kingpin.v2"
9
9
)
10
10
Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ import (
8
8
"strings"
9
9
"text/template"
10
10
11
- . "github.com/onsi/ginkgo"
12
- . "github.com/onsi/gomega"
13
11
"github.com/goadesign/goa/design"
14
12
"github.com/goadesign/goa/design/dsl"
15
13
"github.com/goadesign/goa/goagen/codegen"
16
14
"github.com/goadesign/goa/goagen/gen_app"
15
+ . "github.com/onsi/ginkgo"
16
+ . "github.com/onsi/gomega"
17
17
)
18
18
19
19
var _ = Describe ("NewGenerator" , func () {
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ import (
4
4
"io/ioutil"
5
5
"os"
6
6
7
- . "github.com/onsi/ginkgo"
8
- . "github.com/onsi/gomega"
9
7
"github.com/goadesign/goa/design"
10
8
"github.com/goadesign/goa/goagen/codegen"
11
9
"github.com/goadesign/goa/goagen/gen_app"
10
+ . "github.com/onsi/ginkgo"
11
+ . "github.com/onsi/gomega"
12
12
)
13
13
14
14
var _ = Describe ("ContextsWriter" , func () {
Original file line number Diff line number Diff line change 1
1
package genclient_test
2
2
3
3
import (
4
+ "github.com/goadesign/goa/goagen/gen_main"
4
5
. "github.com/onsi/ginkgo"
5
6
. "github.com/onsi/gomega"
6
- "github.com/goadesign/goa/goagen/gen_main"
7
7
"gopkg.in/alecthomas/kingpin.v2"
8
8
)
9
9
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ import (
6
6
"path/filepath"
7
7
"strings"
8
8
9
- . "github.com/onsi/ginkgo"
10
- . "github.com/onsi/gomega"
11
- "github.com/onsi/gomega/gexec"
12
9
"github.com/goadesign/goa/design"
13
10
"github.com/goadesign/goa/design/dsl"
14
11
"github.com/goadesign/goa/goagen/codegen"
15
12
"github.com/goadesign/goa/goagen/gen_client"
13
+ . "github.com/onsi/ginkgo"
14
+ . "github.com/onsi/gomega"
15
+ "github.com/onsi/gomega/gexec"
16
16
)
17
17
18
18
var _ = Describe ("NewGenerator" , func () {
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ import (
5
5
"os"
6
6
"path/filepath"
7
7
8
- . "github.com/onsi/ginkgo"
9
- . "github.com/onsi/gomega"
10
8
"github.com/goadesign/goa/goagen/codegen"
11
9
"github.com/goadesign/goa/goagen/gen_gen"
10
+ . "github.com/onsi/ginkgo"
11
+ . "github.com/onsi/gomega"
12
12
"gopkg.in/alecthomas/kingpin.v2"
13
13
)
14
14
Original file line number Diff line number Diff line change 1
1
package genjs_test
2
2
3
3
import (
4
+ "github.com/goadesign/goa/goagen/gen_main"
4
5
. "github.com/onsi/ginkgo"
5
6
. "github.com/onsi/gomega"
6
- "github.com/goadesign/goa/goagen/gen_main"
7
7
"gopkg.in/alecthomas/kingpin.v2"
8
8
)
9
9
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ import (
6
6
"path/filepath"
7
7
"strings"
8
8
9
- . "github.com/onsi/ginkgo"
10
- . "github.com/onsi/gomega"
11
9
"github.com/goadesign/goa/design"
12
10
"github.com/goadesign/goa/design/dsl"
13
11
"github.com/goadesign/goa/goagen/codegen"
14
12
"github.com/goadesign/goa/goagen/gen_js"
13
+ . "github.com/onsi/ginkgo"
14
+ . "github.com/onsi/gomega"
15
15
)
16
16
17
17
var _ = Describe ("NewGenerator" , func () {
Original file line number Diff line number Diff line change 1
1
package genmain_test
2
2
3
3
import (
4
+ "github.com/goadesign/goa/goagen/gen_main"
4
5
. "github.com/onsi/ginkgo"
5
6
. "github.com/onsi/gomega"
6
- "github.com/goadesign/goa/goagen/gen_main"
7
7
"gopkg.in/alecthomas/kingpin.v2"
8
8
)
9
9
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ import (
6
6
"path/filepath"
7
7
"strings"
8
8
9
- . "github.com/onsi/ginkgo"
10
- . "github.com/onsi/gomega"
11
- "github.com/onsi/gomega/gexec"
12
9
"github.com/goadesign/goa/design"
13
10
"github.com/goadesign/goa/design/dsl"
14
11
"github.com/goadesign/goa/goagen/codegen"
15
12
"github.com/goadesign/goa/goagen/gen_main"
13
+ . "github.com/onsi/ginkgo"
14
+ . "github.com/onsi/gomega"
15
+ "github.com/onsi/gomega/gexec"
16
16
)
17
17
18
18
var _ = Describe ("NewGenerator" , func () {
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ import (
7
7
"path/filepath"
8
8
"strings"
9
9
10
- . "github.com/onsi/ginkgo"
11
- . "github.com/onsi/gomega"
12
10
"github.com/goadesign/goa/design"
13
11
"github.com/goadesign/goa/design/dsl"
14
12
"github.com/goadesign/goa/goagen/codegen"
15
13
"github.com/goadesign/goa/goagen/gen_schema"
14
+ . "github.com/onsi/ginkgo"
15
+ . "github.com/onsi/gomega"
16
16
)
17
17
18
18
var _ = Describe ("NewGenerator" , func () {
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ import (
4
4
"encoding/json"
5
5
6
6
"github.com/go-swagger/go-swagger/spec"
7
- . "github.com/onsi/ginkgo"
8
- . "github.com/onsi/gomega"
9
7
_ "github.com/goadesign/goa-cellar/design"
10
8
. "github.com/goadesign/goa/design"
11
9
. "github.com/goadesign/goa/design/dsl"
12
10
"github.com/goadesign/goa/goagen/gen_schema"
13
11
"github.com/goadesign/goa/goagen/gen_swagger"
12
+ . "github.com/onsi/ginkgo"
13
+ . "github.com/onsi/gomega"
14
14
)
15
15
16
16
// Save cellar example API definition for tests.
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ import (
9
9
"path/filepath"
10
10
"regexp"
11
11
12
- . "github.com/onsi/ginkgo"
13
- . "github.com/onsi/gomega"
14
12
"github.com/goadesign/goa/goagen/codegen"
15
13
"github.com/goadesign/goa/goagen/meta"
14
+ . "github.com/onsi/ginkgo"
15
+ . "github.com/onsi/gomega"
16
16
)
17
17
18
18
var _ = Describe ("Run" , func () {
Original file line number Diff line number Diff line change 5
5
"net/http"
6
6
"net/url"
7
7
8
+ "github.com/goadesign/goa"
8
9
. "github.com/onsi/ginkgo"
9
10
. "github.com/onsi/gomega"
10
- "github.com/goadesign/goa"
11
11
)
12
12
13
13
var _ = Describe ("NewMiddleware" , func () {
Original file line number Diff line number Diff line change 7
7
"net/url"
8
8
"regexp"
9
9
10
- "github.com/julienschmidt/httprouter"
11
10
"github.com/goadesign/goa/design"
11
+ "github.com/julienschmidt/httprouter"
12
12
)
13
13
14
14
type (
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ package goa_test
3
3
import (
4
4
"net/http"
5
5
6
+ "github.com/goadesign/goa"
6
7
. "github.com/onsi/ginkgo"
7
8
. "github.com/onsi/gomega"
8
- "github.com/goadesign/goa"
9
9
)
10
10
11
11
var _ = Describe ("PathSelectVersionFunc" , func () {
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ import (
7
7
"net/http"
8
8
"net/url"
9
9
10
- . "github.com/onsi/ginkgo"
11
- . "github.com/onsi/gomega"
12
10
"github.com/goadesign/goa"
13
11
"github.com/goadesign/goa-middleware/middleware"
12
+ . "github.com/onsi/ginkgo"
13
+ . "github.com/onsi/gomega"
14
14
)
15
15
16
16
var _ = Describe ("Application" , func () {
Original file line number Diff line number Diff line change 1
1
package goa_test
2
2
3
3
import (
4
+ "github.com/goadesign/goa"
4
5
. "github.com/onsi/ginkgo"
5
6
. "github.com/onsi/gomega"
6
- "github.com/goadesign/goa"
7
7
)
8
8
9
9
var _ = Describe ("ValidateFormat" , func () {
You can’t perform that action at this time.
0 commit comments