fakeContextAdapter records calls for assertions.
| 14 | |
| 15 | // fakeContextAdapter records calls for assertions. |
| 16 | type fakeContextAdapter struct { |
| 17 | createName, createMode, createDesc string |
| 18 | createPaths []string |
| 19 | createForce bool |
| 20 | attachName string |
| 21 | attachRag, attachPriority int |
| 22 | detachName, deleteName string |
| 23 | listed, statused, metricsed bool |
| 24 | updateName, showName, mergeName string |
| 25 | inspectName string |
| 26 | inspectChunk int |
| 27 | mergeSources []string |
| 28 | exportName, exportPath, importPath string |
| 29 | } |
| 30 | |
| 31 | func (f *fakeContextAdapter) Update(name string, paths []string, mode, desc string, tags []string) (string, error) { |
| 32 | f.updateName = name |
nothing calls this directly
no outgoing calls
no test coverage detected