# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
context("Test MultiArrayUDF")
model.instance <- MultiArrayUDF$new()
test_that("udf_info_name", {
# tests for the property `udf_info_name` (character)
# name of UDFInfo to run, format is {namespace}/{udf_name}. Can not be used with exec
# uncomment below to test the property
#expect_equal(model.instance$`udf_info_name`, "EXPECTED_RESULT")
})
test_that("language", {
# tests for the property `language` (UDFLanguage)
# uncomment below to test the property
#expect_equal(model.instance$`language`, "EXPECTED_RESULT")
})
test_that("version", {
# tests for the property `version` (character)
# Type-specific version
# uncomment below to test the property
#expect_equal(model.instance$`version`, "EXPECTED_RESULT")
})
test_that("image_name", {
# tests for the property `image_name` (character)
# Docker image name to use for udf
# uncomment below to test the property
#expect_equal(model.instance$`image_name`, "EXPECTED_RESULT")
})
test_that("exec", {
# tests for the property `exec` (character)
# Type-specific executable text
# uncomment below to test the property
#expect_equal(model.instance$`exec`, "EXPECTED_RESULT")
})
test_that("exec_raw", {
# tests for the property `exec_raw` (character)
# optional raw text to store of serialized function, used for showing in UI
# uncomment below to test the property
#expect_equal(model.instance$`exec_raw`, "EXPECTED_RESULT")
})
test_that("result_format", {
# tests for the property `result_format` (ResultFormat)
# uncomment below to test the property
#expect_equal(model.instance$`result_format`, "EXPECTED_RESULT")
})
test_that("task_name", {
# tests for the property `task_name` (character)
# name of task, optional
# uncomment below to test the property
#expect_equal(model.instance$`task_name`, "EXPECTED_RESULT")
})
test_that("argument", {
# tests for the property `argument` (character)
# Argument(s) to pass to udf function, tuple or list of args/kwargs which can be in native or json format
# uncomment below to test the property
#expect_equal(model.instance$`argument`, "EXPECTED_RESULT")
})
test_that("stored_param_uuids", {
# tests for the property `stored_param_uuids` (array[character])
# The UUIDs of stored input parameters (passed in a language-specific format within \"argument\") to be retrieved from the server-side cache. Serialized in standard hex format with no {}.
# uncomment below to test the property
#expect_equal(model.instance$`stored_param_uuids`, "EXPECTED_RESULT")
})
test_that("store_results", {
# tests for the property `store_results` (character)
# store results for later retrieval
# uncomment below to test the property
#expect_equal(model.instance$`store_results`, "EXPECTED_RESULT")
})
test_that("ranges", {
# tests for the property `ranges` (QueryRanges)
# uncomment below to test the property
#expect_equal(model.instance$`ranges`, "EXPECTED_RESULT")
})
test_that("subarray", {
# tests for the property `subarray` (UDFSubarray)
# uncomment below to test the property
#expect_equal(model.instance$`subarray`, "EXPECTED_RESULT")
})
test_that("buffers", {
# tests for the property `buffers` (array[character])
# List of buffers to fetch (attributes + dimensions). Deprecated please set arrays with UDFArrayDetails
# uncomment below to test the property
#expect_equal(model.instance$`buffers`, "EXPECTED_RESULT")
})
test_that("arrays", {
# tests for the property `arrays` (array[UDFArrayDetails])
# Array ranges/buffer into to run UDF on
# uncomment below to test the property
#expect_equal(model.instance$`arrays`, "EXPECTED_RESULT")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.