tests/testthat/test_submission.R

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

context("Test Submission")

model.instance <- Submission$new()

test_that("submissionId", {
  # tests for the property `submissionId` (character)
  # SubmissionRequest unique identifier

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

test_that("submissionDate", {
  # tests for the property `submissionDate` (character)
  # SubmissionRequest date

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

test_that("submitter", {
  # tests for the property `submitter` (character)
  # user that created the submission

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

test_that("methodConfigurationNamespace", {
  # tests for the property `methodConfigurationNamespace` (character)
  # Method configuration namespace

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

test_that("methodConfigurationName", {
  # tests for the property `methodConfigurationName` (character)
  # Method configuration name

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

test_that("submissionEntity", {
  # tests for the property `submissionEntity` (AttributeEntityReference)

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

test_that("workflows", {
  # tests for the property `workflows` (array[Workflow])
  # Status of Workflow(s)

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

test_that("status", {
  # tests for the property `status` (SubmissionStatus)

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

test_that("cost", {
  # tests for the property `cost` (numeric)
  # The compute cost of this submission

  # uncomment below to test the property 
  #expect_equal(model.instance$`cost`, "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("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.