createApplyCommand creates an apply command in a schema structure
()
| 217 | |
| 218 | // createApplyCommand creates an apply command in a schema structure |
| 219 | func (testDevFile *TestDevfile) createApplyCommand() *schema.Command { |
| 220 | |
| 221 | LogInfoMessage("Create a apply command :") |
| 222 | command := schema.Command{} |
| 223 | command.Id = GetRandomUniqueString(8, true) |
| 224 | LogInfoMessage(fmt.Sprintf("command Id: %s", command.Id)) |
| 225 | command.Apply = &schema.ApplyCommand{} |
| 226 | testDevFile.commandAdded(command) |
| 227 | return &command |
| 228 | } |
| 229 | |
| 230 | // SetApplyCommandValues randomly sets/updates apply command attributes to random values |
| 231 | func (testDevFile *TestDevfile) SetApplyCommandValues(command *schema.Command) { |
no test coverage detected