Skip to content

Commit

Permalink
Seperate out testdata from iordf.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmay authored and egonw committed Dec 29, 2021
1 parent ba7f25d commit 14cb010
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
7 changes: 0 additions & 7 deletions storage/iordf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,6 @@
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-testdata</artifactId>
<version>${project.parent.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class CDKOWLReaderTest extends SimpleChemObjectReaderTest {

@BeforeClass
public static void setup() {
setSimpleChemObjectReader(new CDKOWLReader(), "data/owl/molecule.n3");
setSimpleChemObjectReader(new CDKOWLReader(), "org/openscience/cdk/io/rdf/molecule.n3");
}

@Test
Expand All @@ -53,9 +53,9 @@ public void testAccepts() {

@Test
public void testMolecule() throws Exception {
String filename = "data/owl/molecule.n3";
String filename = "molecule.n3";
logger.info("Testing: " + filename);
InputStream ins = this.getClass().getClassLoader().getResourceAsStream(filename);
InputStream ins = this.getClass().getResourceAsStream(filename);
CDKOWLReader reader = new CDKOWLReader(new InputStreamReader(ins));
IAtomContainer mol = reader.read(new AtomContainer());
reader.close();
Expand Down

0 comments on commit 14cb010

Please sign in to comment.