[Robast-commits] r599 - in branches/robast-0.9/pkg/RobExtremes/tests: . TestSuite
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Feb 12 12:03:59 CET 2013
Author: kroisand
Date: 2013-02-12 12:03:59 +0100 (Tue, 12 Feb 2013)
New Revision: 599
Removed:
branches/robast-0.9/pkg/RobExtremes/tests/TestSuite.R
branches/robast-0.9/pkg/RobExtremes/tests/TestSuite/TestExpectation/
branches/robast-0.9/pkg/RobExtremes/tests/testResult.html
branches/robast-0.9/pkg/RobExtremes/tests/testResult.txt
Log:
alte Tests und Ergebnisse gel?\195?\182scht
Deleted: branches/robast-0.9/pkg/RobExtremes/tests/TestSuite.R
===================================================================
--- branches/robast-0.9/pkg/RobExtremes/tests/TestSuite.R 2013-02-12 11:01:25 UTC (rev 598)
+++ branches/robast-0.9/pkg/RobExtremes/tests/TestSuite.R 2013-02-12 11:03:59 UTC (rev 599)
@@ -1,45 +0,0 @@
-##########################################
-## ##
-## TestSuite for RobExtremes Package ##
-## ##
-##########################################
-
-##load RobExtremes package
-require(RobExtremes)
-
-##load RUnit package
-require(RUnit)
-
-#Options: if the exceptions are shown as errors
-## Not run:
-## quiet log output
-ro <- getOption("RUnit")
-ro$silent <- TRUE
-ro$verbose <- 0L
-options("RUnit"=ro)
-## End(Not run)
-
-## run test suite
-myTestSuite <- defineTestSuite("RUnit Tests for RobExtremes",dirs="./TestSuite",
-testFileRegexp = "^Test.+\\.R$",testFuncRegexp = "^test.+")
-testResult <- runTestSuite(myTestSuite)
-
-## is test suite valid?
-isValidTestSuite(myTestSuite)
-
-## get all the errors
-#getErrors(myTestSuite)
-
-## prints detailed text protocol
-## to standard out:
-printTextProtocol(testResult, "testResult.txt",showDetails = TRUE)
-printHTMLProtocol(testResult, "testResult.html")
-
-
-#
-# runTestFile(absFileName, useOwnErrorHandler = TRUE,
-# testFuncRegexp = "^test.+",
-# rngKind = "Marsaglia-Multicarry",
-# rngNormalKind = "Kinderman-Ramage",
-# verbose = getOption("RUnit")$verbose)
-
Deleted: branches/robast-0.9/pkg/RobExtremes/tests/testResult.html
===================================================================
--- branches/robast-0.9/pkg/RobExtremes/tests/testResult.html 2013-02-12 11:01:25 UTC (rev 598)
+++ branches/robast-0.9/pkg/RobExtremes/tests/testResult.html 2013-02-12 11:03:59 UTC (rev 599)
@@ -1,95 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
-"http://www.w3.org/TR/html4/transitional.dtd">
-<html><head><title>RUNIT TEST PROTOCOL--Tue Feb 12 11:55:11 2013</title>
-</head>
-<body><h1 TRUE>RUNIT TEST PROTOCOL--Tue Feb 12 11:55:11 2013</h1>
-<p>Number of test functions: 2</p>
-<p>Number of errors: 0</p>
-<p style=color:red>Number of failures: 1</p>
-<hr>
-<h3 TRUE>1 Test suite</h3>
-<table border="1" width="60%" >
-<tr><th width="30%">Name</th>
-<th width="30%">Test functions</th>
-<th width="20%">Errors</th>
-<th width="20%">Failures</th>
-</tr>
-<tr><td><a href="#RUnit Tests for RobExtremes">RUnit Tests for RobExtremes</a></td>
-<td>2</td>
-<td>0</td>
-<td bgcolor="red">1</td>
-</tr>
-</table>
-<hr>
-<h3 TRUE>Failures</h3>
-<table border="1" width="100%" >
-<tr><th width="30%">Test suite : test function</th>
-<th width="70%">message</th>
-</tr>
-<tr><td><a href="#RUnit Tests for RobExtremes_._TestSuite_TestExpectationNeu.R_test.expectationPareto2">RUnit Tests for RobExtremes : test.expectationPareto2</a></td>
-<td>Error in checkEquals(expectation.Pareto(2, 1), 0) :
- Mean relative difference: 1
-</td>
-</tr>
-</table>
-<hr>
-<h3 TRUE>Details</h3>
-<p><a name="RUnit Tests for RobExtremes"><h5 TRUE>Test Suite: RUnit Tests for RobExtremes</h5>
-</a>Test function regexp: ^test.+<br/>Test file regexp: ^Test.+\.R$<br/>Involved directory:<br/>./TestSuite<br/><ul><li><a href="./TestSuite/TestExpectationNeu.R">Test file: TestExpectationNeu.R</a><ul><li><a name="RUnit Tests for RobExtremes_._TestSuite_TestExpectationNeu.R_test.expectationPareto1">test.expectationPareto1: (1 checks) ... OK (0.01 seconds)<br/></a></li><li><a name="RUnit Tests for RobExtremes_._TestSuite_TestExpectationNeu.R_test.expectationPareto2"><u style=color:red>test.expectationPareto2: FAILURE !! (check number 1) </u></a>Error in checkEquals(expectation.Pareto(2, 1), 0) :
- Mean relative difference: 1
-<br/></li></ul></li></li></li></li></li></li></li></li></li></li></li></li></li></ul><hr>
-<table border="0" width="80%" >
-<tr><th>Name</th>
-<th>Value</th>
-</tr>
-<tr><td>platform</td>
-<td>x86_64-suse-linux-gnu</td>
-</tr>
-<tr><td>arch</td>
-<td>x86_64</td>
-</tr>
-<tr><td>os</td>
-<td>linux-gnu</td>
-</tr>
-<tr><td>system</td>
-<td>x86_64, linux-gnu</td>
-</tr>
-<tr><td>status</td>
-<td></td>
-</tr>
-<tr><td>major</td>
-<td>2</td>
-</tr>
-<tr><td>minor</td>
-<td>15.2</td>
-</tr>
-<tr><td>year</td>
-<td>2012</td>
-</tr>
-<tr><td>month</td>
-<td>10</td>
-</tr>
-<tr><td>day</td>
-<td>26</td>
-</tr>
-<tr><td>svn rev</td>
-<td>61015</td>
-</tr>
-<tr><td>language</td>
-<td>R</td>
-</tr>
-<tr><td>version.string</td>
-<td>R version 2.15.2 (2012-10-26)</td>
-</tr>
-<tr><td>nickname</td>
-<td>Trick or Treat</td>
-</tr>
-<tr><td>host</td>
-<td>linus</td>
-</tr>
-<tr><td>compiler</td>
-<td>g++</td>
-</tr>
-</table>
-</body>
-</html>
Deleted: branches/robast-0.9/pkg/RobExtremes/tests/testResult.txt
===================================================================
--- branches/robast-0.9/pkg/RobExtremes/tests/testResult.txt 2013-02-12 11:01:25 UTC (rev 598)
+++ branches/robast-0.9/pkg/RobExtremes/tests/testResult.txt 2013-02-12 11:03:59 UTC (rev 599)
@@ -1,27 +0,0 @@
-RUNIT TEST PROTOCOL -- Tue Feb 12 11:55:11 2013
-***********************************************
-Number of test functions: 2
-Number of errors: 0
-Number of failures: 1
-
-
-1 Test Suite :
-RUnit Tests for RobExtremes - 2 test functions, 0 errors, 1 failure
-FAILURE in test.expectationPareto2: Error in checkEquals(expectation.Pareto(2, 1), 0) :
- Mean relative difference: 1
-
-
-
-Details
-***************************
-Test Suite: RUnit Tests for RobExtremes
-Test function regexp: ^test.+
-Test file regexp: ^Test.+\.R$
-Involved directory:
-./TestSuite
----------------------------
-Test file: ./TestSuite/TestExpectationNeu.R
-test.expectationPareto1: (1 checks) ... OK (0.01 seconds)
-test.expectationPareto2: FAILURE !! (check number 1)
-Error in checkEquals(expectation.Pareto(2, 1), 0) :
- Mean relative difference: 1
More information about the Robast-commits
mailing list