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

Method projectUpdated

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

projectUpdated notifies the follower of the project which has been updated

(project schema.Project)

Source from the content-addressed store, hash-verified

32
33// projectUpdated notifies the follower of the project which has been updated
34func (testDevfile *TestDevfile) projectUpdated(project schema.Project) {
35 LogInfoMessage(fmt.Sprintf("project updated Name: %s", project.Name))
36 testDevfile.replaceSchemaProject(project)
37 if testDevfile.Follower != nil {
38 testDevfile.Follower.UpdateProject(project)
39 }
40}
41
42// starterProjectAdded adds a new starter project to the test schema data and notifies the follower
43func (testDevfile *TestDevfile) starterProjectAdded(starterProject schema.StarterProject) {

Callers 1

SetProjectValuesMethod · 0.95

Calls 3

replaceSchemaProjectMethod · 0.95
LogInfoMessageFunction · 0.85
UpdateProjectMethod · 0.80

Tested by

no test coverage detected