old references removed
This commit is contained in:
parent
7ea4b80c53
commit
45a965639a
10
cmd_test.go
10
cmd_test.go
@ -20,7 +20,7 @@ func TestMain(m *testing.M) {
|
|||||||
log.SetOutput(logT{})
|
log.SetOutput(logT{})
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestBlueprint_Clean(t *testing.T) {
|
func TestRealize_Clean(t *testing.T) {
|
||||||
r := realize{}
|
r := realize{}
|
||||||
r.Schema = append(r.Schema, Project{Name: "test0"})
|
r.Schema = append(r.Schema, Project{Name: "test0"})
|
||||||
r.Schema = append(r.Schema, Project{Name: "test0"})
|
r.Schema = append(r.Schema, Project{Name: "test0"})
|
||||||
@ -37,7 +37,7 @@ func TestBlueprint_Clean(t *testing.T) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestBlueprint_Add(t *testing.T) {
|
func TestRealize_Add(t *testing.T) {
|
||||||
r := realize{}
|
r := realize{}
|
||||||
// add all flags, test with expected
|
// add all flags, test with expected
|
||||||
set := flag.NewFlagSet("test", 0)
|
set := flag.NewFlagSet("test", 0)
|
||||||
@ -87,7 +87,7 @@ func TestBlueprint_Add(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestBlueprint_Check(t *testing.T) {
|
func TestRealize_Check(t *testing.T) {
|
||||||
r := realize{}
|
r := realize{}
|
||||||
err := r.check()
|
err := r.check()
|
||||||
if err == nil {
|
if err == nil {
|
||||||
@ -100,7 +100,7 @@ func TestBlueprint_Check(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestBlueprint_Remove(t *testing.T) {
|
func TestRealize_Remove(t *testing.T) {
|
||||||
r := realize{}
|
r := realize{}
|
||||||
set := flag.NewFlagSet("name", 0)
|
set := flag.NewFlagSet("name", 0)
|
||||||
set.String("name", "", "")
|
set.String("name", "", "")
|
||||||
@ -118,7 +118,7 @@ func TestBlueprint_Remove(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestBlueprint_Run(t *testing.T) {
|
func TestRealize_Run(t *testing.T) {
|
||||||
set := flag.NewFlagSet("test", 0)
|
set := flag.NewFlagSet("test", 0)
|
||||||
params := cli.NewContext(nil, set, nil)
|
params := cli.NewContext(nil, set, nil)
|
||||||
m := make(map[string]string)
|
m := make(map[string]string)
|
||||||
|
Loading…
Reference in New Issue
Block a user