tests/testthat/test_workflow_description.R

# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate

context("Test WorkflowDescription")

model.instance <- WorkflowDescription$new()

test_that("valid", {
  # tests for the property `valid` (character)
  # Whether the workflow and inputs as submitted passed validation

  # uncomment below to test the property 
  #expect_equal(model.instance$`valid`, "EXPECTED_RESULT")
})

test_that("errors", {
  # tests for the property `errors` (array[character])
  # The set of validation failure messages

  # uncomment below to test the property 
  #expect_equal(model.instance$`errors`, "EXPECTED_RESULT")
})

test_that("name", {
  # tests for the property `name` (character)
  # For a source file with one workflow and zero or more tasks, the name of the workflow. For a single task, the name of the task. For a source file with multiple tasks but no workflows, the empty string.

  # uncomment below to test the property 
  #expect_equal(model.instance$`name`, "EXPECTED_RESULT")
})

test_that("inputs", {
  # tests for the property `inputs` (array[ToolInputParameter])
  # A list of inputs for this tool

  # uncomment below to test the property 
  #expect_equal(model.instance$`inputs`, "EXPECTED_RESULT")
})

test_that("outputs", {
  # tests for the property `outputs` (array[ToolOutputParameter])
  # A list of outputs for this tool

  # uncomment below to test the property 
  #expect_equal(model.instance$`outputs`, "EXPECTED_RESULT")
})

test_that("submittedDescriptorType", {
  # tests for the property `submittedDescriptorType` (DescriptorTypeAndVersion)

  # uncomment below to test the property 
  #expect_equal(model.instance$`submittedDescriptorType`, "EXPECTED_RESULT")
})
vjcitn/terraClientR documentation built on Dec. 23, 2021, 4:07 p.m.