starterProjectAdded adds a new starter project to the test schema data and notifies the follower
(starterProject schema.StarterProject)
| 41 | |
| 42 | // starterProjectAdded adds a new starter project to the test schema data and notifies the follower |
| 43 | func (testDevfile *TestDevfile) starterProjectAdded(starterProject schema.StarterProject) { |
| 44 | LogInfoMessage(fmt.Sprintf("starter project added Name: %s", starterProject.Name)) |
| 45 | testDevfile.SchemaDevFile.StarterProjects = append(testDevfile.SchemaDevFile.StarterProjects, starterProject) |
| 46 | if testDevfile.Follower != nil { |
| 47 | testDevfile.Follower.AddStarterProject(starterProject) |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | // starterProjectUpdated notifies the follower of the starter project which has been updated |
| 52 | func (testDevfile *TestDevfile) starterProjectUpdated(starterProject schema.StarterProject) { |
no test coverage detected