tests/testthat/test_sensor_spec_api.R

# Automatically generated
# Please update as you see appropriate

context("Test SensorSpecApi")

api.instance <- SensorSpecApi$new()

test_that("all", {
  # tests for all
  # base path: https://api.lamp.digital
  # Get all SensorSpecs registered.
  # Get all SensorSpecs registered by any Researcher.
  # @param character  transform    (optional)
  # @return [array[object]]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})

test_that("create", {
  # tests for create
  # base path: https://api.lamp.digital
  # Create a new SensorSpec.
  # Create a new SensorSpec.
  # @param SensorSpec  sensor.spec   
  # @return [character]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})

test_that("delete", {
  # tests for delete
  # base path: https://api.lamp.digital
  # Delete an SensorSpec.
  # Delete an SensorSpec.
  # @param character  sensor.spec.name   
  # @return [character]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})

test_that("update", {
  # tests for update
  # base path: https://api.lamp.digital
  # Update an SensorSpec.
  # Update an SensorSpec.
  # @param character  sensor.spec.name   
  # @param SensorSpec  sensor.spec   
  # @return [character]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})

test_that("view", {
  # tests for view
  # base path: https://api.lamp.digital
  # Get a SensorSpec.
  # Get a SensorSpec.
  # @param character  sensor.spec.name   
  # @param character  transform    (optional)
  # @return [array[object]]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})
BIDMCDigitalPsychiatry/LAMP-r documentation built on April 29, 2020, 9:51 a.m.