tests/testthat/test_tool_version.R

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

context("Test ToolVersion")

model.instance <- ToolVersion$new()

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

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

test_that("url", {
  # tests for the property `url` (character)
  # The URL for this tool in this registry, for example &#x60;http://agora.broadinstitute.org/tools/123456/1&#x60;

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

test_that("id", {
  # tests for the property `id` (character)
  # An identifier of the version of this tool for this particular tool registry, for example &#x60;v1&#x60;

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

test_that("image", {
  # tests for the property `image` (character)
  # The docker path to the image (and version) for this tool. (e.g. quay.io/seqware/seqware_full/1.1). This always returns an empty string.

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

test_that("descriptor-type", {
  # tests for the property `descriptor-type` (array[character])
  # The type (or types) of descriptors available.

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

test_that("dockerfile", {
  # tests for the property `dockerfile` (character)
  # Reports if this tool has a dockerfile available. This always returns false.

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

test_that("meta-version", {
  # tests for the property `meta-version` (character)
  # The version of this tool version in the registry. Iterates when fields like the description, author, etc. are updated.

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