| 13 | ) |
| 14 | |
| 15 | type fakeContext struct { |
| 16 | platform string |
| 17 | project string |
| 18 | build string |
| 19 | downloads string |
| 20 | offline bool |
| 21 | pkgCacheConfig context.PkgCacheConfig |
| 22 | devCacheConfig context.DevCacheConfig |
| 23 | } |
| 24 | |
| 25 | func (f fakeContext) Version() string { return "test" } |
| 26 | func (f fakeContext) Platform() context.Platform { return fakePlatform{name: f.platform} } |
nothing calls this directly
no outgoing calls
no test coverage detected