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

Method starterProjectUpdated

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

starterProjectUpdated notifies the follower of the starter project which has been updated

(starterProject schema.StarterProject)

Source from the content-addressed store, hash-verified

50
51// starterProjectUpdated notifies the follower of the starter project which has been updated
52func (testDevfile *TestDevfile) starterProjectUpdated(starterProject schema.StarterProject) {
53 LogInfoMessage(fmt.Sprintf("starter project updated Name: %s", starterProject.Name))
54 testDevfile.replaceSchemaStarterProject(starterProject)
55 if testDevfile.Follower != nil {
56 testDevfile.Follower.UpdateStarterProject(starterProject)
57 }
58}
59
60// replaceSchemaProject replaces a Project in the saved devfile schema structure
61func (testDevfile *TestDevfile) replaceSchemaProject(project schema.Project) {

Callers 1

Calls 3

LogInfoMessageFunction · 0.85
UpdateStarterProjectMethod · 0.80

Tested by

no test coverage detected