Skip to content

Commit 9035475

Browse files
johnmayegonw
authored andcommitted
cdk-test code is now in the main/ so goes through the JavaDoc (will fix later) - but we should make sure it doesn't have errors in it. First off there many case of a retrun on a void - looks like a copy paste error.
1 parent 83093a7 commit 9035475

File tree

61 files changed

+410
-410
lines changed

Some content is hidden

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

61 files changed

+410
-410
lines changed

base/data/src/test/java/org/openscience/cdk/ReactionSchemeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public IChemObject newTestObject() {
5050
/**
5151
* A unit test suite for JUnit.
5252
*
53-
* @return The test suite
53+
*
5454
*/
5555
@Test
5656
public void testReactionScheme() {

base/data/src/test/java/org/openscience/cdk/formula/AdductFormulaTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static void setUp() {
4444
/**
4545
* A unit test suite for JUnit.
4646
*
47-
* @return The test suite
47+
*
4848
*/
4949
@Test
5050
public void testAdductFormula() {
@@ -55,7 +55,7 @@ public void testAdductFormula() {
5555
/**
5656
* A unit test suite for JUnit.
5757
*
58-
* @return The test suite
58+
*
5959
*/
6060
@Test
6161
public void testAdductFormula_IMolecularFormula() {

base/data/src/test/java/org/openscience/cdk/formula/MolecularFormulaSetTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static void setUp() {
4444
/**
4545
* A unit test suite for JUnit.
4646
*
47-
* @return The test suite
47+
*
4848
*/
4949
@Test
5050
public void testMolecularFormulaSet() {
@@ -55,7 +55,7 @@ public void testMolecularFormulaSet() {
5555
/**
5656
* A unit test suite for JUnit.
5757
*
58-
* @return The test suite
58+
*
5959
*/
6060
@Test
6161
public void testMolecularFormulaSet_IMolecularFormula() {

base/data/src/test/java/org/openscience/cdk/formula/MolecularFormulaTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static void setUp() {
4646
/**
4747
* A unit test suite for JUnit.
4848
*
49-
* @return The test suite
49+
*
5050
*/
5151
@Test
5252
public void testMolecularFormula() {

base/reaction/src/test/java/org/openscience/cdk/reaction/ReactionProcessTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ public void testGetEntryRepresentation() throws Exception {
261261
/**
262262
* Test reactive center parameter
263263
*
264-
* @return The test suite
264+
*
265265
*/
266266
@Test
267267
public void testCentreActive() throws Exception {
@@ -285,7 +285,7 @@ public void testCentreActive() throws Exception {
285285
* Test extracting a reaction as example.
286286
*
287287
* TODO: REACT: One example for each reaction should be set in owl dictionary.
288-
* @return The test suite
288+
*
289289
*/
290290
@Test
291291
public void testGetExampleReaction() throws Exception {
@@ -316,7 +316,7 @@ public void testGetExampleReaction() throws Exception {
316316
*
317317
* TODO: REACT: How to comparing two reaction?
318318
*
319-
* @return The test suite
319+
*
320320
*/
321321
@Test
322322
public void testInitiate_IAtomContainerSet_IAtomContainerSet() throws Exception {

base/reaction/src/test/java/org/openscience/cdk/reaction/type/AdductionProtonLPReactionTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public void testAdductionProtonLPReaction() throws Exception {
8585
*
8686
* @cdk.inchi InChI=1/C2H4O/c1-2-3/h2H,1H3
8787
*
88-
* @return The test suite
88+
*
8989
*/
9090
@Test
9191
@Override
@@ -120,7 +120,7 @@ public void testInitiate_IAtomContainerSet_IAtomContainerSet() throws Exception
120120
*
121121
* @cdk.inchi InChI=1/C2H4O/c1-2-3/h2H,1H3
122122
*
123-
* @return The test suite
123+
*
124124
*/
125125
@Test
126126
public void testManuallyCentreActive() throws Exception {
@@ -155,7 +155,7 @@ public void testManuallyCentreActive() throws Exception {
155155
*
156156
* @cdk.inchi InChI=1/C2H4O/c1-2-3/h2H,1H3
157157
*
158-
* @return The test suite
158+
*
159159
*/
160160
@Test
161161
public void testCDKConstants_REACTIVE_CENTER() throws Exception {
@@ -202,7 +202,7 @@ public void testCDKConstants_REACTIVE_CENTER() throws Exception {
202202
*
203203
* @cdk.inchi InChI=1/C2H4O/c1-2-3/h2H,1H3
204204
*
205-
* @return The test suite
205+
*
206206
*/
207207
@Test
208208
public void testMapping() throws Exception {

base/reaction/src/test/java/org/openscience/cdk/reaction/type/AdductionProtonPBReactionTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public void testAdductionProtonPBReaction() throws Exception {
7878
*
7979
* @cdk.inchi InChI=1/C2H4/c1-2/h1-2H2
8080
*
81-
* @return The test suite
81+
*
8282
*/
8383
@Test
8484
@Override
@@ -115,7 +115,7 @@ public void testInitiate_IAtomContainerSet_IAtomContainerSet() throws Exception
115115
*
116116
* @cdk.inchi InChI=1/C2H4/c1-2/h1-2H2
117117
*
118-
* @return The test suite
118+
*
119119
*/
120120
@Test
121121
public void testManuallyCentreActive() throws Exception {
@@ -191,7 +191,7 @@ public void testCDKConstants_REACTIVE_CENTER() throws Exception {
191191
*
192192
* @cdk.inchi InChI=1/C2H4/c1-2/h1-2H2
193193
*
194-
* @return The test suite
194+
*
195195
*/
196196
@Test
197197
public void testMapping() throws Exception {

base/reaction/src/test/java/org/openscience/cdk/reaction/type/AdductionSodiumLPReactionTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public void testAdductionSodiumLPReaction() throws Exception {
7878
*
7979
* @cdk.inchi InChI=1/C2H4O/c1-2-3/h2H,1H3
8080
*
81-
* @return The test suite
81+
*
8282
*/
8383
@Test
8484
@Override
@@ -115,7 +115,7 @@ public void testInitiate_IAtomContainerSet_IAtomContainerSet() throws Exception
115115
*
116116
* @cdk.inchi InChI=1/C2H4O/c1-2-3/h2H,1H3
117117
*
118-
* @return The test suite
118+
*
119119
*/
120120
@Test
121121
public void testManuallyCentreActive() throws Exception {
@@ -152,7 +152,7 @@ public void testManuallyCentreActive() throws Exception {
152152
*
153153
* @cdk.inchi InChI=1/C2H4O/c1-2-3/h2H,1H3
154154
*
155-
* @return The test suite
155+
*
156156
*/
157157
@Test
158158
public void testCDKConstants_REACTIVE_CENTER() throws Exception {
@@ -201,7 +201,7 @@ public void testCDKConstants_REACTIVE_CENTER() throws Exception {
201201
*
202202
* @cdk.inchi InChI=1/C2H4O/c1-2-3/h2H,1H3
203203
*
204-
* @return The test suite
204+
*
205205
*/
206206
@Test
207207
public void testMapping() throws Exception {

base/reaction/src/test/java/org/openscience/cdk/reaction/type/CarbonylEliminationReactionTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void testCarbonylEliminationReaction() throws Exception {
7676
* A unit test suite for JUnit. Reaction: C-C#[O+] => [C+] + [|C-]#[O+]
7777
* Automatically looks for active centre.
7878
*
79-
* @return The test suite
79+
*
8080
*/
8181
@Test
8282
@Override
@@ -111,7 +111,7 @@ public void testInitiate_IAtomContainerSet_IAtomContainerSet() throws Exception
111111
* A unit test suite for JUnit. Reaction: C-C#[O+] => [C+] + [|C-]#[O+]
112112
* Automatically looks for active centre.
113113
*
114-
* @return The test suite
114+
*
115115
*/
116116
@Test
117117
public void testManuallyPCentreActiveExample1() throws Exception {
@@ -153,7 +153,7 @@ public void testManuallyPCentreActiveExample1() throws Exception {
153153
* A unit test suite for JUnit. Reaction: C-C#[O+] => [C+] + [|C-]#[O+]
154154
* Automatically looks for active centre.
155155
*
156-
* @return The test suite
156+
*
157157
*/
158158
@Test
159159
public void testMappingExample1() throws Exception {

base/reaction/src/test/java/org/openscience/cdk/reaction/type/ElectronImpactNBEReactionTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public void testAutomatic_Set_Active_Atom() throws Exception {
189189
*
190190
* @cdk.inchi InChI=1/CH5N/c1-2/h2H2,1H3
191191
*
192-
* @return The test suite
192+
*
193193
*/
194194
@Test
195195
public void testNsp3SingleB() throws Exception {
@@ -262,7 +262,7 @@ public void testNsp3SingleB() throws Exception {
262262
*
263263
* @cdk.inchi InChI=1/CH3N/c1-2/h2H,1H2
264264
*
265-
* @return The test suite
265+
*
266266
*/
267267
@Test
268268
public void testNsp2SingleB() throws Exception {
@@ -329,7 +329,7 @@ public void testNsp2SingleB() throws Exception {
329329
* @cdk.inchi InChI=1/CH3F/c1-2/h1H3
330330
*
331331
*
332-
* @return The test suite
332+
*
333333
*/
334334
@Test
335335
public void testFspSingleB() throws Exception {
@@ -395,7 +395,7 @@ public void testFspSingleB() throws Exception {
395395
*
396396
* @cdk.inchi InChI=1/CH2O/c1-2/h1H2
397397
*
398-
* @return The test suite
398+
*
399399
*/
400400
@Test
401401
public void testCDKConstants_REACTIVE_CENTER() throws Exception {
@@ -429,7 +429,7 @@ public void testCDKConstants_REACTIVE_CENTER() throws Exception {
429429
*
430430
* @cdk.inchi InChI=1/CH2O/c1-2/h1H2
431431
*
432-
* @return The test suite
432+
*
433433
*/
434434
@Test
435435
public void testMapping() throws Exception {

0 commit comments

Comments
 (0)