Skip to content

Commit

Permalink
Eliminate testdata from cdk-formula moving all resources to the modul…
Browse files Browse the repository at this point in the history
…e (and package) where they are used.
  • Loading branch information
johnmay authored and egonw committed Dec 29, 2021
1 parent c2066cc commit 6a4ee0f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions tool/formula/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,6 @@
<version>${project.parent.version}</version>
<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 @@ -1148,8 +1148,8 @@ public void testWithH_Initial() {
*/
@Test
public void testFromMol() throws Exception {
String filename = "data/mdl/formulatest.mol";
InputStream ins = this.getClass().getClassLoader().getResourceAsStream(filename);
String filename = "formulatest.mol";
InputStream ins = this.getClass().getResourceAsStream(filename);
MDLV2000Reader reader = new MDLV2000Reader(ins);
ChemFile chemFile = reader.read(new ChemFile());
reader.close();
Expand Down

0 comments on commit 6a4ee0f

Please sign in to comment.