[Stacomir-commits] r299 - pkg/stacomir/inst/tests/testthat
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Mar 13 14:22:20 CET 2017
Author: briand
Date: 2017-03-13 14:22:20 +0100 (Mon, 13 Mar 2017)
New Revision: 299
Modified:
pkg/stacomir/inst/tests/testthat/test-05Bilan_carlot.R
pkg/stacomir/inst/tests/testthat/test-06Bilan_MigrationInterAnnuelle.R
pkg/stacomir/inst/tests/testthat/test-07BilanAgedemer.R
pkg/stacomir/inst/tests/testthat/test-08BilanArgentee.R
pkg/stacomir/inst/tests/testthat/test-09Bilan_MigrationAnnuelle.R
Log:
Modified: pkg/stacomir/inst/tests/testthat/test-05Bilan_carlot.R
===================================================================
--- pkg/stacomir/inst/tests/testthat/test-05Bilan_carlot.R 2017-03-13 09:41:25 UTC (rev 298)
+++ pkg/stacomir/inst/tests/testthat/test-05Bilan_carlot.R 2017-03-13 13:22:20 UTC (rev 299)
@@ -2,7 +2,7 @@
test_that("Test that view lot_ope_car exists",{
require(stacomiR)
- stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=FALSE)
+ stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=TRUE)
req<-new("RequeteODBC")
req at baseODBC<-get("baseODBC", envir=envir_stacomi)
sch=get("sch",envir=envir_stacomi)
@@ -14,7 +14,7 @@
test_that("Test an instance of Bilan_carlot loaded with choice_c",{
require(stacomiR)
- stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=FALSE)
+ stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=TRUE)
# overriding user schema to point to iav
baseODBC<-get("baseODBC",envir=envir_stacomi)
baseODBC[c(2,3)]<-rep("iav",2)
@@ -42,7 +42,7 @@
test_that("Test methods in Bilan_carlot",{
require(stacomiR)
- stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=FALSE)
+ stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=TRUE)
# overriding user schema to point to iav
baseODBC<-get("baseODBC",envir=envir_stacomi)
baseODBC[c(2,3)]<-rep("iav",2)
Modified: pkg/stacomir/inst/tests/testthat/test-06Bilan_MigrationInterAnnuelle.R
===================================================================
--- pkg/stacomir/inst/tests/testthat/test-06Bilan_MigrationInterAnnuelle.R 2017-03-13 09:41:25 UTC (rev 298)
+++ pkg/stacomir/inst/tests/testthat/test-06Bilan_MigrationInterAnnuelle.R 2017-03-13 13:22:20 UTC (rev 299)
@@ -3,7 +3,7 @@
test_that("Test an instance of Bilan_MigrationInterAnnuelle loaded with choice_c",{
require(stacomiR)
- stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=FALSE)
+ stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=TRUE)
# overriding user schema to point to iav
baseODBC<-get("baseODBC",envir=envir_stacomi)
baseODBC[c(2,3)]<-rep("iav",2)
@@ -30,9 +30,9 @@
})
-test_that("Test methods in BilanMigrationInterAnnuelle",{
+test_that("Test method summary in BilanMigrationInterAnnuelle",{
require(stacomiR)
- stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=FALSE)
+ stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=TRUE)
# overriding user schema to point to iav
baseODBC<-get("baseODBC",envir=envir_stacomi)
baseODBC[c(2,3)]<-rep("iav",2)
@@ -73,7 +73,7 @@
test_that("Test that loading two taxa will fail",
{
require(stacomiR)
- stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=FALSE)
+ stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=TRUE)
# overriding user schema to point to iav
baseODBC<-get("baseODBC",envir=envir_stacomi)
baseODBC[c(2,3)]<-rep("iav",2)
@@ -100,7 +100,7 @@
test_that("Test that bilanMigrationInterannuelle loads missing data with correct warning",
{
require(stacomiR)
- stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=FALSE)
+ stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=TRUE)
baseODBC<-get("baseODBC",envir=envir_stacomi)
baseODBC[c(2,3)]<-rep("logrami",2)
Modified: pkg/stacomir/inst/tests/testthat/test-07BilanAgedemer.R
===================================================================
--- pkg/stacomir/inst/tests/testthat/test-07BilanAgedemer.R 2017-03-13 09:41:25 UTC (rev 298)
+++ pkg/stacomir/inst/tests/testthat/test-07BilanAgedemer.R 2017-03-13 13:22:20 UTC (rev 299)
@@ -3,7 +3,7 @@
test_that("test creating an instance of BilanAgedemer with data loaded (logrami required)",{
require(stacomiR)
- stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=FALSE)
+ stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=TRUE)
# overriding user schema to point to iav
bilan_adm<-new("BilanAgedemer")
baseODBC<-get("baseODBC",envir=envir_stacomi)
Modified: pkg/stacomir/inst/tests/testthat/test-08BilanArgentee.R
===================================================================
--- pkg/stacomir/inst/tests/testthat/test-08BilanArgentee.R 2017-03-13 09:41:25 UTC (rev 298)
+++ pkg/stacomir/inst/tests/testthat/test-08BilanArgentee.R 2017-03-13 13:22:20 UTC (rev 299)
@@ -3,7 +3,7 @@
test_that("test creating an instance of BilanArgentee with data loaded (fd80 schema required)",{
require(stacomiR)
- stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=FALSE)
+ stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=TRUE)
# overriding user schema to point to iav
bilan_adm<-new("BilanAgedemer")
baseODBC<-get("baseODBC",envir=envir_stacomi)
@@ -26,7 +26,7 @@
test_that("test that loading bad limits fails",{
require(stacomiR)
- stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=FALSE)
+ stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=TRUE)
# overriding user schema to point to iav
bilan_adm<-new("BilanAgedemer")
baseODBC<-get("baseODBC",envir=envir_stacomi)
Modified: pkg/stacomir/inst/tests/testthat/test-09Bilan_MigrationAnnuelle.R
===================================================================
--- pkg/stacomir/inst/tests/testthat/test-09Bilan_MigrationAnnuelle.R 2017-03-13 09:41:25 UTC (rev 298)
+++ pkg/stacomir/inst/tests/testthat/test-09Bilan_MigrationAnnuelle.R 2017-03-13 13:22:20 UTC (rev 299)
@@ -3,7 +3,7 @@
test_that("Test an instance of BilanAnnuels loaded with choice_c",{
require(stacomiR)
- stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=FALSE)
+ stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=TRUE)
# overriding user schema to point to iav
baseODBC<-get("baseODBC",envir=envir_stacomi)
baseODBC[c(2,3)]<-rep("iav",2)
@@ -26,7 +26,7 @@
test_that("Test methods in BilanAnnuels",{
require(stacomiR)
- stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=FALSE)
+ stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=TRUE)
# overriding user schema to point to iav
baseODBC<-get("baseODBC",envir=envir_stacomi)
baseODBC[c(2,3)]<-rep("iav",2)
More information about the Stacomir-commits
mailing list