()
| 31 | ) |
| 32 | |
| 33 | func createTestProject() *types.Project { |
| 34 | return &types.Project{ |
| 35 | Services: types.Services{ |
| 36 | "test1": { |
| 37 | Name: "test1", |
| 38 | DependsOn: map[string]types.ServiceDependency{ |
| 39 | "test2": {}, |
| 40 | }, |
| 41 | }, |
| 42 | "test2": { |
| 43 | Name: "test2", |
| 44 | DependsOn: map[string]types.ServiceDependency{ |
| 45 | "test3": {}, |
| 46 | }, |
| 47 | }, |
| 48 | "test3": { |
| 49 | Name: "test3", |
| 50 | }, |
| 51 | }, |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | func TestTraversalWithMultipleParents(t *testing.T) { |
| 56 | dependent := types.ServiceConfig{ |
no outgoing calls
no test coverage detected