Last active
December 23, 2015 23:29
-
-
Save crosbymichael/6709829 to your computer and use it in GitHub Desktop.
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
➜ ~GOPATH/src/github.com/dotcloud/gograph git:(master) ✗ gocov test | gocov report | |
ok github.com/dotcloud/gograph 0.003s | |
github.com/dotcloud/gograph/gograph.go Entity.children 100.00% (17/17) | |
github.com/dotcloud/gograph/gograph.go NewDatabase 100.00% (5/5) | |
github.com/dotcloud/gograph/gograph.go Database.RootEntity 100.00% (1/1) | |
github.com/dotcloud/gograph/gograph.go Entity.ID 100.00% (1/1) | |
github.com/dotcloud/gograph/gograph.go Database.List 92.31% (12/13) | |
github.com/dotcloud/gograph/gograph.go Database.newEdge 90.91% (10/11) | |
github.com/dotcloud/gograph/gograph.go Database.NewEntity 90.00% (9/10) | |
github.com/dotcloud/gograph/gograph.go Entity.AddChild 80.00% (4/5) | |
github.com/dotcloud/gograph/gograph.go Entity.Child 80.00% (4/5) | |
github.com/dotcloud/gograph/gograph.go Database.Walk 71.43% (5/7) | |
github.com/dotcloud/gograph ------------------- 90.67% (68/75) | |
➜ ~GOPATH/src/github.com/dotcloud/gograph git:(master) ✗ go test -v | |
=== RUN TestNewDatabase | |
--- PASS: TestNewDatabase (0.00 seconds) | |
=== RUN TestCreateRootEnity | |
--- PASS: TestCreateRootEnity (0.00 seconds) | |
=== RUN TestCreateExistingEnity | |
--- PASS: TestCreateExistingEnity (0.00 seconds) | |
=== RUN TestCreateChild | |
--- PASS: TestCreateChild (0.00 seconds) | |
=== RUN TestListAllRootChildren | |
--- PASS: TestListAllRootChildren (0.00 seconds) | |
=== RUN TestListAllSubChildren | |
--- PASS: TestListAllSubChildren (0.00 seconds) | |
=== RUN TestAddSelfAsChild | |
--- PASS: TestAddSelfAsChild (0.00 seconds) | |
=== RUN TestWalkAll | |
--- PASS: TestWalkAll (0.00 seconds) | |
gograph_test.go:162: Path: / Entity: 0 | |
gograph_test.go:162: Path: /db Entity: 2 | |
gograph_test.go:162: Path: /db/logs Entity: 4 | |
gograph_test.go:162: Path: /gograph Entity: 5 | |
gograph_test.go:162: Path: /webapp Entity: 1 | |
gograph_test.go:162: Path: /webapp/db Entity: 2 | |
gograph_test.go:162: Path: /webapp/db/logs Entity: 4 | |
gograph_test.go:162: Path: /webapp/same-ref-diff-name Entity: 5 | |
gograph_test.go:162: Path: /webapp/sentry Entity: 3 | |
gograph_test.go:162: Path: /logs Entity: 4 | |
gograph_test.go:162: Path: /sentry Entity: 3 | |
PASS | |
ok github.com/dotcloud/gograph 0.005s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment