Skip to content

Commit e7cf804

Browse files
johnmayegonw
authored andcommitted
Eliminate testdata dependency from cdk-ctab.
1 parent b35412b commit e7cf804

File tree

163 files changed

+2529
-294
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+2529
-294
lines changed

base/test-core/src/test/java/org/openscience/cdk/graph/PathToolsTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ public void testGetShortestPath_IAtomContainer_IAtom_IAtom() throws Exception {
120120

121121
@Test
122122
public void testGetShortestPath_Middle() throws Exception {
123-
String filename = "data/mdl/shortest_path_test.mol";
124-
InputStream ins = this.getClass().getClassLoader().getResourceAsStream(filename);
123+
String filename = "shortest_path_test.mol";
124+
InputStream ins = this.getClass().getResourceAsStream(filename);
125125
MDLV2000Reader reader = new MDLV2000Reader(ins);
126126
IAtomContainer testMolecule = new AtomContainer();
127127
reader.read(testMolecule);
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
CDK 4/11/06,15:26
3+
4+
9 9 0 0 0 0 0 0 0 0999 V2000
5+
284.0000 340.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
6+
252.8231 358.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
7+
315.1769 358.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
8+
252.8231 394.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
9+
315.1769 394.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
10+
284.0000 412.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
11+
284.0000 448.0000 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
12+
309.0000 473.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
13+
259.0000 473.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
14+
1 2 1 0 0 0 0
15+
3 1 1 0 0 0 0
16+
2 4 2 0 0 0 0
17+
5 3 2 0 0 0 0
18+
4 6 1 0 0 0 0
19+
6 5 1 0 0 0 0
20+
6 7 2 0 0 0 0
21+
7 8 1 0 0 0 0
22+
7 9 1 0 0 0 0
23+
M CHG 1 7 1
24+
M END
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
CDK
3+
4+
9 8 0 0 0 0 0 0 0 0999 V2000
5+
86.0000 1049.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
6+
117.0000 1066.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
7+
148.0000 1048.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
8+
179.0000 1065.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
9+
210.0000 1047.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
10+
241.0000 1064.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
11+
272.0000 1046.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
12+
303.0000 1063.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
13+
334.0000 1045.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
14+
1 2 2 0 0 0 0
15+
2 3 1 0 0 0 0
16+
3 4 2 0 0 0 0
17+
4 5 1 0 0 0 0
18+
5 6 1 0 0 0 0
19+
6 7 2 0 0 0 0
20+
7 8 1 0 0 0 0
21+
8 9 2 0 0 0 0
22+
M END
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
CDK
3+
4+
7 6 0 0 0 0 0 0 0 0999 V2000
5+
76.0000 992.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
6+
107.0000 1009.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
7+
76.0000 956.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
8+
143.0000 1009.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
9+
179.0000 1009.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
10+
204.0000 1034.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
11+
204.0000 1070.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
12+
1 2 1 0 0 0 0
13+
1 3 2 0 0 0 0
14+
2 4 2 0 0 0 0
15+
4 5 2 0 0 0 0
16+
5 6 1 0 0 0 0
17+
6 7 2 0 0 0 0
18+
M END
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
CDK
3+
4+
9 8 0 0 0 0 0 0 0 0999 V2000
5+
224.0000 193.0448 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
6+
255.3473 210.2353 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
7+
286.6947 192.0336 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
8+
318.0420 209.2241 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
9+
349.3893 191.0224 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
10+
380.7367 208.2129 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
11+
412.0840 190.0112 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
12+
443.4313 207.2017 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
13+
474.7787 189.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
14+
1 2 2 0 0 0 0
15+
2 3 1 0 0 0 0
16+
3 4 2 0 0 0 0
17+
4 5 1 0 0 0 0
18+
5 6 1 0 0 0 0
19+
6 7 2 0 0 0 0
20+
7 8 1 0 0 0 0
21+
8 9 2 0 0 0 0
22+
M CHG 1 5 1
23+
M END

0 commit comments

Comments
 (0)