tests/testthat/test_activity_spec_api.R

# Automatically generated
# Please update as you see appropriate

context("Test ActivitySpecApi")

api.instance <- ActivitySpecApi$new()

test_that("all", {
  # tests for all
  # base path: https://api.lamp.digital
  # Get all ActivitySpecs registered.
  # Get all ActivitySpecs registered.
  # @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 ActivitySpec.
  # Create a new ActivitySpec.
  # @param ActivitySpec  activity.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 ActivitySpec.
  # Delete an ActivitySpec.
  # @param character  activity.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 ActivitySpec.
  # Update an ActivitySpec.
  # @param character  activity.spec.name   
  # @param ActivitySpec  activity.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
  # View an ActivitySpec.
  # View an ActivitySpec.
  # @param character  activity.spec.name   
  # @param character  transform    (optional)
  # @return [character]

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