projectAdded adds a new project to the test schema data and notifies the follower
(project schema.Project)
| 23 | |
| 24 | // projectAdded adds a new project to the test schema data and notifies the follower |
| 25 | func (testDevfile *TestDevfile) projectAdded(project schema.Project) { |
| 26 | LogInfoMessage(fmt.Sprintf("project added Name: %s", project.Name)) |
| 27 | testDevfile.SchemaDevFile.Projects = append(testDevfile.SchemaDevFile.Projects, project) |
| 28 | if testDevfile.Follower != nil { |
| 29 | testDevfile.Follower.AddProject(project) |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | // projectUpdated notifies the follower of the project which has been updated |
| 34 | func (testDevfile *TestDevfile) projectUpdated(project schema.Project) { |
no test coverage detected