Родитель
6a343b69ec
Коммит
8eb6408e9b
|
@ -11,6 +11,3 @@ matrix:
|
|||
- ls
|
||||
before_script:
|
||||
- sudo bash "../Travis-CI/installODBC.sh"
|
||||
script:
|
||||
- R CMD build .
|
||||
- travis_wait 60 R CMD check sqlmlutils_0.7.3.tar.gz --as-cran
|
||||
|
|
|
@ -380,6 +380,7 @@ speesBuilderFromFunction <- function(func, inputDataQuery, inputDataName, binArg
|
|||
list(result = result, output = output, warnings = funwarnings, errors = funerror)
|
||||
", funcName, funcBody, paste0(binArgs,collapse=";"), inputDataName, funcName)
|
||||
|
||||
#Call the spees builder to wrap the function; needs the returnVal resultset
|
||||
# Call the spees builder to wrap the function; needs the returnVal resultset
|
||||
#
|
||||
speesBuilder(speesBody, inputDataQuery, withResults = TRUE)
|
||||
}
|
||||
|
|
Двоичный файл не отображается.
Двоичный файл не отображается.
|
@ -0,0 +1,7 @@
|
|||
# Copyright(c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT license.
|
||||
|
||||
library(testthat)
|
||||
library(sqlmlutils)
|
||||
|
||||
test_check("sqlmlutils", filter = "Logins")
|
|
@ -0,0 +1,29 @@
|
|||
# Copyright(c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT license.
|
||||
|
||||
library(testthat)
|
||||
context("Tests to check logins")
|
||||
|
||||
test_that("Test DBO",
|
||||
{
|
||||
hodbc <- sqlmlutils:::connectToServer(helper_getSetting("connectionStringDBO"))
|
||||
|
||||
expect_false(is.null(hodbc))
|
||||
on.exit(dbDisconnect(hodbc), add = TRUE)
|
||||
})
|
||||
|
||||
test_that("Test AirlineUserdbowner",
|
||||
{
|
||||
hodbc <- sqlmlutils:::connectToServer(helper_getSetting("connectionStringAirlineUserdbowner"))
|
||||
|
||||
expect_false(is.null(hodbc))
|
||||
on.exit(dbDisconnect(hodbc), add = TRUE)
|
||||
})
|
||||
|
||||
test_that("Test AirlineUser",
|
||||
{
|
||||
hodbc <- sqlmlutils:::connectToServer(helper_getSetting("connectionStringAirlineUser"))
|
||||
|
||||
expect_false(is.null(hodbc))
|
||||
on.exit(dbDisconnect(hodbc), add = TRUE)
|
||||
})
|
Загрузка…
Ссылка в новой задаче