AddProject adds a project of the specified type, with random attributes, to the devfile schema
(projectType schema.ProjectSourceType)
| 90 | |
| 91 | // AddProject adds a project of the specified type, with random attributes, to the devfile schema |
| 92 | func (testDevfile *TestDevfile) AddProject(projectType schema.ProjectSourceType) string { |
| 93 | project := testDevfile.createProject(projectType) |
| 94 | testDevfile.SetProjectValues(&project) |
| 95 | return project.Name |
| 96 | } |
| 97 | |
| 98 | // AddStarterProject adds a starter project of the specified type, with random attributes, to the devfile schema |
| 99 | func (testDevfile *TestDevfile) AddStarterProject(projectType schema.ProjectSourceType) string { |
no test coverage detected