tests/testthat/test_call_metadata.R

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

context("Test CallMetadata")

model.instance <- CallMetadata$new()

test_that("inputs", {
  # tests for the property `inputs` (map(object))
  # map from input names onto resolved values

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

test_that("executionStatus", {
  # tests for the property `executionStatus` (character)
  # status of call

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

test_that("executionEvents", {
  # tests for the property `executionEvents` (array[ExecutionEvent])

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

test_that("backendStatus", {
  # tests for the property `backendStatus` (character)
  # status of the backend

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

test_that("backendLogs", {
  # tests for the property `backendLogs` (map(character))
  # map of log files from backend

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

test_that("outputs", {
  # tests for the property `outputs` (map(character))
  # map from output names to local files

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

test_that("start", {
  # tests for the property `start` (character)
  # starting time of call

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

test_that("end", {
  # tests for the property `end` (character)
  # ending time of call

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

test_that("jobId", {
  # tests for the property `jobId` (character)
  # unique ID of job

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

test_that("returnCode", {
  # tests for the property `returnCode` (integer)
  # result code

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

test_that("backend", {
  # tests for the property `backend` (character)
  # type of backend executing the call

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

test_that("stdout", {
  # tests for the property `stdout` (character)
  # location of stdout

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

test_that("stderr", {
  # tests for the property `stderr` (character)
  # location of stderr

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

test_that("shardIndex", {
  # tests for the property `shardIndex` (integer)
  # call index within a scatter block, as reported by execution service

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