Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit a6ca4a8

Browse files
committed
test: Integration test for status project tableoutput
1 parent fd32123 commit a6ca4a8

File tree

8 files changed

+134
-0
lines changed

8 files changed

+134
-0
lines changed

cmd/dep/testdata/harness_tests/status/project_status/final/Gopkg.lock

+27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[[constraint]]
2+
branch = "master"
3+
name = "github.com/darkowlzz/deptest-project-status"
4+
5+
[[constraint]]
6+
name = "github.com/sdboyer/deptest"
7+
version = "1.0.0"
8+
9+
[[constraint]]
10+
name = "github.com/sdboyer/deptestdos"
11+
version = "2.0.0"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Copyright 2017 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
package main
6+
7+
import (
8+
_ "github.com/darkowlzz/deptest-project-status/pkgfoo"
9+
_ "github.com/sdboyer/deptest"
10+
_ "github.com/sdboyer/deptestdos"
11+
)
12+
13+
func main() {}

cmd/dep/testdata/harness_tests/status/project_status/initial/Gopkg.lock

+27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[[constraint]]
2+
branch = "master"
3+
name = "github.com/darkowlzz/deptest-project-status"
4+
5+
[[constraint]]
6+
name = "github.com/sdboyer/deptest"
7+
version = "1.0.0"
8+
9+
[[constraint]]
10+
name = "github.com/sdboyer/deptestdos"
11+
version = "2.0.0"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Copyright 2017 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
package main
6+
7+
import (
8+
_ "github.com/darkowlzz/deptest-project-status/pkgfoo"
9+
_ "github.com/sdboyer/deptest"
10+
_ "github.com/sdboyer/deptestdos"
11+
)
12+
13+
func main() {}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
PROJECT: github.com/sdboyer/deptest
3+
VERSION: v1.0.0
4+
CONSTRAINTS: []
5+
SOURCE: github.com/sdboyer/deptest
6+
ALT SOURCE:
7+
PUB VERSION: branches: master
8+
nonsemvers:
9+
semvers: v0.8.0, v0.8.1, v1.0.0
10+
REVISION: ff2948a2ac8f538c4ecd55962e919d1e13e74baf
11+
LATEST ALLOWED: ff2948a2ac8f538c4ecd55962e919d1e13e74baf
12+
SOURCE TYPE: git
13+
PACKAGES: github.com/sdboyer/deptest
14+
PROJECT IMPORTERS: github.com/darkowlzz/deptest-project-status, github.com/sdboyer/deptestdos
15+
PACKAGE IMPORTERS: github.com/sdboyer/deptest
16+
github.com/darkowlzz/deptest-project-status/pkgbar
17+
github.com/darkowlzz/deptest-project-status/pkgfoo
18+
github.com/sdboyer/deptestdos
19+
UPSTREAM EXISTS: yes
20+
UPSTREAM VERSION EXISTS: yes
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"commands": [
3+
["ensure"],
4+
["status", "github.com/sdboyer/deptest"]
5+
],
6+
"error-expected": "",
7+
"vendor-final": [
8+
"github.com/darkowlzz/deptest-project-status",
9+
"github.com/sdboyer/deptest",
10+
"github.com/sdboyer/deptestdos"
11+
]
12+
}

0 commit comments

Comments
 (0)