This commit is contained in:
Erik Gubitz 2018-10-29 16:11:59 -07:00
Родитель bce6648e1e
Коммит 2fbd5a53fa
1 изменённых файлов: 3 добавлений и 9 удалений

Просмотреть файл

@ -6,12 +6,6 @@ library(RODBC)
library(RODBCext)
library(sqlmlutils)
setup({
})
teardown({
})
helper_parseConnectionString <- function(connectionString)
{
# parse a connection string (e.g. "Server=localhost;Database=RevoTestDB;Uid=RevoTester;Pwd=****")
@ -25,10 +19,10 @@ helper_parseConnectionString <- function(connectionString)
helper_getSetting <- function(key)
{
connectionStringDBO <- "Driver=SQL Server;Server=extensibilitypremium.confc-useue2-a.mscds.com;Database=RevoTestDB;Uid=***;Pwd=***"
connectionStringDBO <- TestArgs$connectionString
connSplit <- helper_parseConnectionString( connectionStringDBO )
connectionStringRevoTester <- sprintf("Driver=%s;Server=%s;Database=%s;Uid=***;Pwd=***", connSplit$Driver, connSplit$Server, connSplit$Database)
connectionStringPkgprivateextlib <- sprintf("Driver=%s;Server=%s;Database=%s;Uid=***;Pwd=***", connSplit$Driver, connSplit$Server, connSplit$Database)
connectionStringRevoTester <- sprintf("Driver=%s;Server=%s;Database=%s;Uid=RevoTester;Pwd=***", connSplit$Driver, connSplit$Server, connSplit$Database)
connectionStringPkgprivateextlib <- sprintf("Driver=%s;Server=%s;Database=%s;Uid=pkgprivateextlib;Pwd=***", connSplit$Driver, connSplit$Server, connSplit$Database)
repoFilePath <- file.path('***/PkgsRepo')
settings <- c(connectionStringDBO = connectionStringDBO,