[Logging-commits] r69 - in oo: . pkg/inst/unitTest
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Apr 15 16:40:57 CEST 2011
Author: mariotomo
Date: 2011-04-15 16:40:57 +0200 (Fri, 15 Apr 2011)
New Revision: 69
Modified:
oo/
oo/pkg/inst/unitTest/runit.data.interaction.R
Log:
correcting code and tests.
Property changes on: oo
___________________________________________________________________
Added: svn:ignore
+ pkg.Rcheck
Modified: oo/pkg/inst/unitTest/runit.data.interaction.R
===================================================================
--- oo/pkg/inst/unitTest/runit.data.interaction.R 2011-04-15 14:38:25 UTC (rev 68)
+++ oo/pkg/inst/unitTest/runit.data.interaction.R 2011-04-15 14:40:57 UTC (rev 69)
@@ -6,6 +6,7 @@
test.000.getLoggerWithoutInitializingDoesNotCrash <- function() {
rootLogger <- Logger$new(name="")
+ checkTrue(TRUE)
}
test.001.defaultLoggingLevelIsINFO <- function() {
@@ -99,9 +100,9 @@
log2 <- getLogger('too.deep')
log2$addHandler(mockAction)
logged <<- NULL
- log1$debug('test', logger='other.branch')
- log1$info('test', logger='other.branch')
- log1$error('test', logger='other.branch')
+ log1$debug('test')
+ log1$info('test')
+ log1$error('test')
checkEquals(0, length(logged))
}
More information about the Logging-commits
mailing list