tests/testthat/test_method_configuration.R

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

context("Test MethodConfiguration")

model.instance <- MethodConfiguration$new()

test_that("namespace", {
  # tests for the property `namespace` (character)
  # This method configuration&#39;s namespace

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

test_that("name", {
  # tests for the property `name` (character)
  # The name of the method configuration

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

test_that("rootEntityType", {
  # tests for the property `rootEntityType` (character)
  # The root entity type that the method will be running on. Optional if this method config doesn&#39;t run on an entity (i.e. uses only workspace attributes and literal inputs).

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

test_that("prerequisites", {
  # tests for the property `prerequisites` (map(character))
  # Map[String, String]

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

test_that("inputs", {
  # tests for the property `inputs` (map(character))
  # Map[String, String]

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

test_that("outputs", {
  # tests for the property `outputs` (map(character))
  # Map[String, String]

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

test_that("methodRepoMethod", {
  # tests for the property `methodRepoMethod` (MethodRepoMethod)

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

test_that("methodConfigVersion", {
  # tests for the property `methodConfigVersion` (integer)
  # Version number, incremented on edit

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

test_that("deleted", {
  # tests for the property `deleted` (character)
  # Is this config marked as deleted?

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

test_that("dataReferenceName", {
  # tests for the property `dataReferenceName` (character)
  # the name of the data reference within this workspace to be used to derive input values

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