tests/testthat/test_locationservice.R

svc <- paws::locationservice()

test_that("list_geofence_collections", {
  expect_error(svc$list_geofence_collections(), NA)
})

test_that("list_geofence_collections", {
  expect_error(svc$list_geofence_collections(MaxResults = 20), NA)
})

test_that("list_keys", {
  expect_error(svc$list_keys(), NA)
})

test_that("list_keys", {
  expect_error(svc$list_keys(MaxResults = 20), NA)
})

test_that("list_maps", {
  expect_error(svc$list_maps(), NA)
})

test_that("list_maps", {
  expect_error(svc$list_maps(MaxResults = 20), NA)
})

test_that("list_place_indexes", {
  expect_error(svc$list_place_indexes(), NA)
})

test_that("list_place_indexes", {
  expect_error(svc$list_place_indexes(MaxResults = 20), NA)
})

test_that("list_route_calculators", {
  expect_error(svc$list_route_calculators(), NA)
})

test_that("list_route_calculators", {
  expect_error(svc$list_route_calculators(MaxResults = 20), NA)
})

test_that("list_trackers", {
  expect_error(svc$list_trackers(), NA)
})

test_that("list_trackers", {
  expect_error(svc$list_trackers(MaxResults = 20), NA)
})

Try the paws.application.integration package in your browser

Any scripts or data that you put into this service are public.

paws.application.integration documentation built on Sept. 12, 2024, 6:11 a.m.