From bb9e6226865af90e1a8a5ba16f214713654c487c Mon Sep 17 00:00:00 2001 From: Roland Ewald Date: Wed, 31 Jul 2013 09:35:35 +0200 Subject: [PATCH] ALESIA-9: changed the Report test so that it now fails, i.e. the failure gets detected (grafted from a278cfb417c4438c916762dde44593ba30750a86) --- sessl-james/src/test/scala/tests/sessl/james/TestReport.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sessl-james/src/test/scala/tests/sessl/james/TestReport.scala b/sessl-james/src/test/scala/tests/sessl/james/TestReport.scala index c0a0fb0..0d298a3 100644 --- a/sessl-james/src/test/scala/tests/sessl/james/TestReport.scala +++ b/sessl-james/src/test/scala/tests/sessl/james/TestReport.scala @@ -78,7 +78,7 @@ import org.junit.Assert._ val files = new File(exp.reportName).list.toSet assertTrue("The directory for raw data, the auxiliary plotting methods, and the report itself should be there", files("raw") && files("plotting.R") && files("report.Rtex")) val dataFiles = rawDataDir.listFiles - assertTrue("There should be some files containing the raw data, and none of them should be empty.", dataFiles.length > 0 && dataFiles.forall(_.length > 0)) + assertTrue("There should be 28 files containing the raw data, and none of them should be empty.", dataFiles.length == 28 && dataFiles.forall(_.length > 0)) } }