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

Method ParentAdded

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

ParentAdded adds the parent obj to the test schema

(parent *schema.Parent)

Source from the content-addressed store, hash-verified

32
33// ParentAdded adds the parent obj to the test schema
34func (devfile *TestDevfile) ParentAdded(parent *schema.Parent) {
35 LogInfoMessage("Parent added")
36 devfile.SchemaDevFile.Parent = parent
37}
38
39// setParentValues randomly adds/modifies object properties.
40func (devfile *TestDevfile) setParentValues(parent *schema.Parent) {

Callers 1

AddParentMethod · 0.95

Calls 1

LogInfoMessageFunction · 0.85

Tested by

no test coverage detected