Skip to content

Commit

Permalink
If the test fails, report which data set it fails for...
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Aug 11, 2012
1 parent d240fa0 commit af85e45
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -199,7 +199,10 @@ CDKMolecule.INCHI_OBJECT, new InChI(
// now do the testing
List<String> compounds = opentox.listCompounds(uriString);
Assert.assertNotNull(compounds);
Assert.assertEquals(2, compounds.size());
Assert.assertEquals(
"Incorrect molecule count for " + uriString,
2, compounds.size()
);
}

@Test public void testListCompoundsDataSet2() throws Exception {
Expand Down

0 comments on commit af85e45

Please sign in to comment.