MCPcopy Create free account
hub / github.com/devfile/api / projectAdded

Method projectAdded

test/v200/utils/common/project_test_utils.go:25–31  ·  view source on GitHub ↗

projectAdded adds a new project to the test schema data and notifies the follower

(project schema.Project)

Source from the content-addressed store, hash-verified

23
24// projectAdded adds a new project to the test schema data and notifies the follower
25func (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
34func (testDevfile *TestDevfile) projectUpdated(project schema.Project) {

Callers 1

createProjectMethod · 0.95

Calls 2

LogInfoMessageFunction · 0.85
AddProjectMethod · 0.65

Tested by

no test coverage detected