tests/testthat/test_submission_request.R

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

context("Test SubmissionRequest")

model.instance <- SubmissionRequest$new()

test_that("methodConfigurationNamespace", {
  # tests for the property `methodConfigurationNamespace` (character)
  # Namespace of the method configuration to execute.

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

test_that("methodConfigurationName", {
  # tests for the property `methodConfigurationName` (character)
  # Name of the method configuration to execute.

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

test_that("entityType", {
  # tests for the property `entityType` (character)
  # Type of root entity for expression. Optional if the method configuration has no root entity.

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

test_that("entityName", {
  # tests for the property `entityName` (character)
  # Name of root entity for expression. Optional if the method configuration has no root entity.

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

test_that("expression", {
  # tests for the property `expression` (character)
  # Expression that resolves to one or more entities matching the entity type in the method configuration. Optional if the method configuration has no root entity.

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

test_that("useCallCache", {
  # tests for the property `useCallCache` (character)
  # Whether or not to read from cache for this submission.

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

test_that("deleteIntermediateOutputFiles", {
  # tests for the property `deleteIntermediateOutputFiles` (character)
  # Whether or not to delete intermediate output files when the workflow completes. See Cromwell docs for more information.

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

test_that("useReferenceDisks", {
  # tests for the property `useReferenceDisks` (character)
  # Whether or not to use pre-built disks for common genome references

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

test_that("workflowFailureMode", {
  # tests for the property `workflowFailureMode` (character)
  # What happens after a task fails. Choose from ContinueWhilePossible and NoNewCalls. Defaults to NoNewCalls if not specified. See Cromwell docs for more information.

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