AddParent adds properties in the test schema structure and populates it with random attributes
()
| 24 | |
| 25 | // AddParent adds properties in the test schema structure and populates it with random attributes |
| 26 | func (devfile *TestDevfile) AddParent() schema.Parent { |
| 27 | parent := schema.Parent{} |
| 28 | devfile.ParentAdded(&parent) |
| 29 | devfile.setParentValues(&parent) |
| 30 | return parent |
| 31 | } |
| 32 | |
| 33 | // ParentAdded adds the parent obj to the test schema |
| 34 | func (devfile *TestDevfile) ParentAdded(parent *schema.Parent) { |
no test coverage detected