This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Integration test for status project tableoutput
- Loading branch information
Showing
8 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
cmd/dep/testdata/harness_tests/status/project_status/final/Gopkg.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
cmd/dep/testdata/harness_tests/status/project_status/final/Gopkg.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/darkowlzz/deptest-project-status" | ||
|
||
[[constraint]] | ||
name = "github.com/sdboyer/deptest" | ||
version = "1.0.0" | ||
|
||
[[constraint]] | ||
name = "github.com/sdboyer/deptestdos" | ||
version = "2.0.0" |
9 changes: 9 additions & 0 deletions
9
cmd/dep/testdata/harness_tests/status/project_status/final/main.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package main | ||
|
||
import ( | ||
_ "github.com/darkowlzz/deptest-project-status/pkgfoo" | ||
_ "github.com/sdboyer/deptest" | ||
_ "github.com/sdboyer/deptestdos" | ||
) | ||
|
||
func main() {} |
27 changes: 27 additions & 0 deletions
27
cmd/dep/testdata/harness_tests/status/project_status/initial/Gopkg.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
cmd/dep/testdata/harness_tests/status/project_status/initial/Gopkg.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/darkowlzz/deptest-project-status" | ||
|
||
[[constraint]] | ||
name = "github.com/sdboyer/deptest" | ||
version = "1.0.0" | ||
|
||
[[constraint]] | ||
name = "github.com/sdboyer/deptestdos" | ||
version = "2.0.0" |
9 changes: 9 additions & 0 deletions
9
cmd/dep/testdata/harness_tests/status/project_status/initial/main.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package main | ||
|
||
import ( | ||
_ "github.com/darkowlzz/deptest-project-status/pkgfoo" | ||
_ "github.com/sdboyer/deptest" | ||
_ "github.com/sdboyer/deptestdos" | ||
) | ||
|
||
func main() {} |
20 changes: 20 additions & 0 deletions
20
cmd/dep/testdata/harness_tests/status/project_status/stdout.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
PROJECT: github.com/sdboyer/deptest | ||
VERSION: v1.0.0 | ||
CONSTRAINTS: [] | ||
SOURCE: github.com/sdboyer/deptest | ||
ALT SOURCE: | ||
PUB VERSION: branches: master | ||
nonsemvers: | ||
semvers: v0.8.0, v0.8.1, v1.0.0 | ||
REVISION: ff2948a2ac8f538c4ecd55962e919d1e13e74baf | ||
LATEST ALLOWED: ff2948a2ac8f538c4ecd55962e919d1e13e74baf | ||
SOURCE TYPE: git | ||
PACKAGES: github.com/sdboyer/deptest | ||
PROJECT IMPORTERS: github.com/darkowlzz/deptest-project-status, github.com/sdboyer/deptestdos | ||
PACKAGE IMPORTERS: github.com/sdboyer/deptest | ||
github.com/darkowlzz/deptest-project-status/pkgbar | ||
github.com/darkowlzz/deptest-project-status/pkgfoo | ||
github.com/sdboyer/deptestdos | ||
UPSTREAM EXISTS: yes | ||
UPSTREAM VERSION EXISTS: yes |
12 changes: 12 additions & 0 deletions
12
cmd/dep/testdata/harness_tests/status/project_status/testcase.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"commands": [ | ||
["ensure"], | ||
["status", "github.com/sdboyer/deptest"] | ||
], | ||
"error-expected": "", | ||
"vendor-final": [ | ||
"github.com/darkowlzz/deptest-project-status", | ||
"github.com/sdboyer/deptest", | ||
"github.com/sdboyer/deptestdos" | ||
] | ||
} |