File tree Expand file tree Collapse file tree 4 files changed +10
-21
lines changed
src/test/java/org/openscience/cdk/qsar/descriptors Expand file tree Collapse file tree 4 files changed +10
-21
lines changed Original file line number Diff line number Diff line change 178
178
<artifactId >cdk-qsaratomic</artifactId >
179
179
<version >${project.version} </version >
180
180
<scope >test</scope >
181
- <type >test-jar</type >
182
- </dependency >
183
- <dependency >
184
- <groupId >org.openscience.cdk</groupId >
185
- <artifactId >cdk-qsarbond</artifactId >
186
- <version >${project.version} </version >
187
- <scope >test</scope >
188
- <type >test-jar</type >
189
- </dependency >
190
- <dependency >
191
- <groupId >org.openscience.cdk</groupId >
192
- <artifactId >cdk-qsarmolecular</artifactId >
193
- <version >${project.version} </version >
194
- <scope >test</scope >
195
- <type >test-jar</type >
196
181
</dependency >
197
182
<dependency >
198
183
<groupId >org.mockito</groupId >
Original file line number Diff line number Diff line change 23
23
import org .junit .Ignore ;
24
24
import org .junit .Test ;
25
25
import org .junit .experimental .categories .Category ;
26
+ import org .openscience .cdk .CDKTestCase ;
26
27
import org .openscience .cdk .DefaultChemObjectBuilder ;
27
28
import org .openscience .cdk .SlowTest ;
28
29
import org .openscience .cdk .exception .CDKException ;
42
43
*
43
44
* @cdk.module test-qsarionpot
44
45
*/
45
- public class IPAtomicLearningDescriptorTest extends AtomicDescriptorTest {
46
+ public class IPAtomicLearningDescriptorTest extends CDKTestCase {
46
47
47
48
IPAtomicLearningDescriptor descriptor ;
48
49
private SmilesParser sp = new SmilesParser (DefaultChemObjectBuilder .getInstance ());
@@ -59,7 +60,7 @@ public IPAtomicLearningDescriptorTest() {
59
60
60
61
@ Before
61
62
public void setUp () throws Exception {
62
- setDescriptor ( IPAtomicLearningDescriptor . class );
63
+ descriptor = new IPAtomicLearningDescriptor ( );
63
64
}
64
65
65
66
/**
Original file line number Diff line number Diff line change 23
23
import org .junit .Ignore ;
24
24
import org .junit .Test ;
25
25
import org .junit .experimental .categories .Category ;
26
+ import org .openscience .cdk .CDKTestCase ;
26
27
import org .openscience .cdk .DefaultChemObjectBuilder ;
27
28
import org .openscience .cdk .SlowTest ;
28
29
import org .openscience .cdk .interfaces .IAtomContainer ;
36
37
*
37
38
* @cdk.module test-qsarionpot
38
39
*/
39
- public class IPBondLearningDescriptorTest extends BondDescriptorTest {
40
+ public class IPBondLearningDescriptorTest extends CDKTestCase {
40
41
41
42
private IPBondLearningDescriptor descriptor ;
42
43
private LonePairElectronChecker lpcheck = new LonePairElectronChecker ();
@@ -51,7 +52,7 @@ public IPBondLearningDescriptorTest() {
51
52
52
53
@ Before
53
54
public void setUp () throws Exception {
54
- setDescriptor ( IPBondLearningDescriptor . class );
55
+ descriptor = new IPBondLearningDescriptor ( );
55
56
}
56
57
57
58
/**
Original file line number Diff line number Diff line change 22
22
import org .junit .Before ;
23
23
import org .junit .Test ;
24
24
import org .junit .experimental .categories .Category ;
25
+ import org .openscience .cdk .CDKTestCase ;
25
26
import org .openscience .cdk .DefaultChemObjectBuilder ;
26
27
import org .openscience .cdk .SlowTest ;
27
28
import org .openscience .cdk .interfaces .IAtom ;
41
42
*
42
43
* @cdk.module test-qsarionpot
43
44
*/
44
- public class IPMolecularLearningDescriptorTest extends MolecularDescriptorTest {
45
+ public class IPMolecularLearningDescriptorTest extends CDKTestCase {
45
46
47
+ IPMolecularLearningDescriptor descriptor ;
46
48
private SmilesParser sp = new SmilesParser (DefaultChemObjectBuilder .getInstance ());
47
49
private IChemObjectBuilder builder = SilentChemObjectBuilder .getInstance ();
48
50
private LonePairElectronChecker lpcheck = new LonePairElectronChecker ();
@@ -55,7 +57,7 @@ public IPMolecularLearningDescriptorTest() {}
55
57
56
58
@ Before
57
59
public void setUp () throws Exception {
58
- super . setDescriptor ( IPMolecularLearningDescriptor . class );
60
+ descriptor = new IPMolecularLearningDescriptor ( );
59
61
}
60
62
61
63
@ Test
You can’t perform that action at this time.
0 commit comments