Skip to content

Commit c92d01a

Browse files
committed
fix: align perf test datasets with smoke tests
1 parent dac736c commit c92d01a

9 files changed

Lines changed: 13 additions & 13 deletions

tests/testthat/test-perf-ds.cor.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#
1414

1515
# context("ds.cor::perf::setup")
16-
connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))
16+
connect.studies.dataset.survival(list("survtime", "time.id", "female"))
1717

1818
#
1919
# Tests
@@ -55,5 +55,5 @@ test_that("combine - performance", {
5555
#
5656

5757
# context("ds.cor::perf::shutdown")
58-
disconnect.studies.dataset.cnsim()
58+
disconnect.studies.dataset.survival()
5959
# context("ds.cor::perf::done")

tests/testthat/test-perf-ds.corTest.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#
1414

1515
# context("ds.corTest::perf::setup")
16-
connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))
16+
connect.studies.dataset.survival(list("survtime", "time.id"))
1717

1818
#
1919
# Tests
@@ -55,5 +55,5 @@ test_that("combine - performance", {
5555
#
5656

5757
# context("ds.corTest::perf::shutdown")
58-
disconnect.studies.dataset.cnsim()
58+
disconnect.studies.dataset.survival()
5959
# context("ds.corTest::perf::done")

tests/testthat/test-perf-ds.cov.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#
1414

1515
# context("ds.cov::perf::setup")
16-
connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))
16+
connect.studies.dataset.survival(list("survtime", "time.id", "female"))
1717

1818
#
1919
# Tests
@@ -55,5 +55,5 @@ test_that("combine - performance", {
5555
#
5656

5757
# context("ds.cov::perf::shutdown")
58-
disconnect.studies.dataset.cnsim()
58+
disconnect.studies.dataset.survival()
5959
# context("ds.cov::perf::done")

tests/testthat/test-perf-ds.kurtosis.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#
1414

1515
# context("ds.kurtosis::perf::setup")
16-
connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))
16+
connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG", "LAB_HDL", "LAB_GLUC_ADJUSTED", "PM_BMI_CONTINUOUS"))
1717

1818
#
1919
# Tests

tests/testthat/test-perf-ds.meanSdGp.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#
1414

1515
# context("ds.meanSdGp::perf::setup")
16-
connect.studies.dataset.cnsim(list("LAB_TSC", "PM_BMI_CATEGORICAL"))
16+
connect.studies.dataset.survival(list("age.60", "female"))
1717

1818
#
1919
# Tests
@@ -55,5 +55,5 @@ test_that("combine - performance", {
5555
#
5656

5757
# context("ds.meanSdGp::perf::shutdown")
58-
disconnect.studies.dataset.cnsim()
58+
disconnect.studies.dataset.survival()
5959
# context("ds.meanSdGp::perf::done")

tests/testthat/test-perf-ds.quantileMean.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#
1414

1515
# context("ds.quantileMean::perf::setup")
16-
connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))
16+
connect.studies.dataset.cnsim(list('LAB_HDL'))
1717

1818
#
1919
# Tests

tests/testthat/test-perf-ds.skewness.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#
1414

1515
# context("ds.skewness::perf::setup")
16-
connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))
16+
connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG", "LAB_HDL", "LAB_GLUC_ADJUSTED", "PM_BMI_CONTINUOUS"))
1717

1818
#
1919
# Tests

tests/testthat/test-perf-ds.summary.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55

66
# context("ds.summary::perf::setup")
7-
connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))
7+
connect.studies.dataset.cnsim(list('LAB_TSC', 'LAB_TRIG', 'LAB_HDL', 'LAB_GLUC_ADJUSTED', 'PM_BMI_CONTINUOUS', 'DIS_CVA', 'MEDI_LPD', 'DIS_DIAB', 'DIS_AMI', 'GENDER', 'PM_BMI_CATEGORICAL'))
88

99
#
1010
# Tests

tests/testthat/test-perf-ds.var.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#
1414

1515
# context("ds.var::perf::setup")
16-
connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))
16+
connect.studies.dataset.cnsim(list("LAB_TSC"))
1717

1818
#
1919
# Tests

0 commit comments

Comments
 (0)