Skip to content

Commit 2a1b103

Browse files
johnmayegonw
authored andcommitted
Some others errors in cdk-test
1 parent 9035475 commit 2a1b103

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

base/test/src/main/java/org/openscience/cdk/CDKTestCase.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ protected void assertHydrogenCounts(int[] hydrogenCounts, IAtomContainer contain
251251
/**
252252
* Asserts that the given String has zero length.
253253
*
254-
* @param String String to test the length of.
254+
* @param testString String to test the length of.
255255
*/
256256
public void assertZeroLength(String testString) {
257257
Assert.assertNotNull("Expected a non-null String.", testString);
@@ -262,7 +262,7 @@ public void assertZeroLength(String testString) {
262262
* Asserts that the given String consists of a single line, and thus
263263
* does not contain any '\r' and/or '\n' characters.
264264
*
265-
* @param String String to test.
265+
* @param testString String to test.
266266
*/
267267
public void assertOneLiner(String testString) {
268268
Assert.assertNotNull("Expected a non-null String.", testString);
@@ -274,8 +274,8 @@ public void assertOneLiner(String testString) {
274274
}
275275

276276
/**
277-
* This test allows people to use the {@link TestMethod} annotation for
278-
* methods that are testing in other classes than identified with {@link TestClass}.
277+
* This test allows people to use the {@code TestMethod} annotation for
278+
* methods that are testing in other classes than identified with {@code TestClass}.
279279
* Bit of a workaround for the current set up, but useful in situations where
280280
* a methods is rather untestable, such as SAXHandler's endElement() methods.
281281
*

base/test/src/main/java/org/openscience/cdk/interfaces/AbstractPseudoAtomTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public void testToString() {
142142
* Test for bug #1778479 "MDLWriter writes empty PseudoAtom label string".
143143
* We decided to let the pseudo atoms have a default label of '*'.
144144
*
145-
* Author: Andreas Schueller <a.schueller@chemie.uni-frankfurt.de>
145+
* Author: Andreas Schueller &lt;a.schueller@chemie.uni-frankfurt.de&gt;
146146
*
147147
* @cdk.bug 1778479
148148
*/

base/test/src/main/java/org/openscience/cdk/interfaces/AbstractRingSetTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public void testGetConnectedRings_IRing() {
312312
* Test for RingSetTest bug #1772613.
313313
* When using method getConnectedRings(...) of RingSet.java fused or bridged rings
314314
* returned a list of connected rings that contained duplicates.
315-
* Bug fix by Andreas Schueller <a.schueller@chemie.uni-frankfurt.de>
315+
* Bug fix by Andreas Schueller &lt;a.schueller@chemie.uni-frankfurt.de&gt;
316316
* @cdk.bug 1772613
317317
*/
318318
@Test

base/test/src/main/java/org/openscience/cdk/qsar/descriptors/DescriptorTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,15 @@ public void setDescriptor(Class<? extends T> descriptorClass,
5757
/**
5858
* Makes sure that the extending class has set the super.descriptor.
5959
* Each extending class should have this bit of code (JUnit3 formalism):
60-
* <pre>
60+
* <pre>{@code
6161
* @Test public void setUp() {
6262
* // Pass a Class, not an Object!
6363
* setDescriptor(SomeDescriptor.class);
64-
* }
64+
* }}
65+
* </pre>
6566
*
6667
* <p>The unit tests in the extending class may use this instance, but
6768
* are not required.
68-
*
69-
* </pre>
7069
*/
7170
@Test
7271
public void testHasSetSuperDotDescriptor() {

0 commit comments

Comments
 (0)