tests/testthat/test_workspace_request_clone.R

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

context("Test WorkspaceRequestClone")

model.instance <- WorkspaceRequestClone$new()

test_that("namespace", {
  # tests for the property `namespace` (character)
  # The namespace (billing project) the workspace belongs to

  # 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 workspace

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

test_that("authorizationDomain", {
  # tests for the property `authorizationDomain` (array[ManagedGroupRef])
  # The list of groups in the Authorization Domain (empty if no AD is set)

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

test_that("attributes", {
  # tests for the property `attributes` (object)

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

test_that("copyFilesWithPrefix", {
  # tests for the property `copyFilesWithPrefix` (character)
  # Used for clone operations only; the prefix for files to copy between source and destination workspace buckets

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

test_that("noWorkspaceOwner", {
  # tests for the property `noWorkspaceOwner` (character)
  # Optional, false if not specified. If true, the workspace is created with a Billing Project owner but no workspace owner. Requires being a Billing Project owner.

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