inst/unitTests/local_test_getDatasetDetails.R

if(FALSE) {
  library( "RUnit" )
  library( "ENCODExplorer" )
}

load(file = "inst/extdata/test_rest_search_experiment.rda") #search_experiment
load(file = "inst/extdata/test_rest_search_dataset.rda") #search_dataset
load(file = "inst/extdata/test_matrices.rda") # matrices

res = getDatasetDetails(resultSet = search_dataset)
checkTrue(nrow(res) > 0, msg = "this function should return dataset data")
res = getDatasetDetails(resultSet = search_experiment)
checkTrue(nrow(res) == 0, msg = "this function shouldn't return any experiment data")
CharlesJB/ENCODExplorer documentation built on Dec. 9, 2019, 10:11 a.m.