Skip to content
This repository was archived by the owner on May 11, 2020. It is now read-only.

Commit

Permalink
ALESIA-9: changed the Report test so that it now fails, i.e. the fail…
Browse files Browse the repository at this point in the history
…ure gets detected

(grafted from a278cfb417c4438c916762dde44593ba30750a86)
  • Loading branch information
Roland Ewald committed Jul 31, 2013
1 parent 403db14 commit bb9e622
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

}

0 comments on commit bb9e622

Please sign in to comment.