From: <eg...@us...> - 2006-04-12 11:58:44
|
Revision: 5925 Author: egonw Date: 2006-04-12 04:58:12 -0700 (Wed, 12 Apr 2006) ViewCVS: http://svn.sourceforge.net/cdk/?rev=5925&view=rev Log Message: ----------- OK, added test suite for NoNotify classes Modified Paths: -------------- trunk/cdk/build.xml trunk/cdk/src/META-INF/test-datadebug.cdkdepends trunk/cdk/src/META-INF/test-nonotify.cdkdepends trunk/cdk/src/META-INF/test-osjvmts.cdkdepends trunk/cdk/src/org/openscience/cdk/debug/DebugChemObjectBuilder.java trunk/cdk/src/org/openscience/cdk/nonotify/NNBioPolymer.java Added Paths: ----------- trunk/cdk/src/META-INF/nonotify.cdkdepends trunk/cdk/src/META-INF/nonotify.libdepends trunk/cdk/src/org/openscience/cdk/test/MnonotifyTests.java trunk/cdk/src/org/openscience/cdk/test/nonotify/ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAminoAcidTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomContainerTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomParityTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomTypeTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNBioPolymerTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNBondTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemFileTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemModelTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemObjectBuilderTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemObjectTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemSequenceTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNCrystalTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNElectronContainerTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNElementTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNIsotopeTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNLonePairTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNMoleculeTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNMonomerTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNPolymerTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNPseudoAtomTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNReactionTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNRingSetTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNRingTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNSetOfAtomContainersTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNSetOfMoleculesTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNSetOfReactionsTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNSingleElectronTest.java trunk/cdk/src/org/openscience/cdk/test/nonotify/NNStrandTest.java Modified: trunk/cdk/build.xml =================================================================== --- trunk/cdk/build.xml 2006-04-12 11:33:23 UTC (rev 5924) +++ trunk/cdk/build.xml 2006-04-12 11:58:12 UTC (rev 5925) @@ -589,7 +589,8 @@ <antcall target="compile-module"><param name="module" value="core"/></antcall> <antcall target="compile-module"><param name="module" value="standard"/></antcall> <antcall target="compile-module"><param name="module" value="data"/></antcall> - <antcall target="compile-module"><param name="module" value="data-debug"/></antcall> + <antcall target="compile-module"><param name="module" value="datadebug"/></antcall> + <antcall target="compile-module"><param name="module" value="nonotify"/></antcall> <antcall target="compile-module"><param name="module" value="render"/></antcall> <antcall target="compile-module"><param name="module" value="io"/></antcall> <antcall target="compile-module"><param name="module" value="pdb"/></antcall> @@ -612,6 +613,7 @@ <antcall target="compile-module"><param name="module" value="test-standard"/></antcall> <antcall target="compile-module"><param name="module" value="test-data"/></antcall> <antcall target="compile-module"><param name="module" value="test-datadebug"/></antcall> + <antcall target="compile-module"><param name="module" value="test-nonotify"/></antcall> <antcall target="compile-module"><param name="module" value="test-io"/></antcall> <antcall target="compile-module"><param name="module" value="test-extra"/></antcall> <antcall target="compile-module"><param name="module" value="test-reaction"/></antcall> @@ -852,6 +854,7 @@ <antcall target="test-module"><param name="module" value="core"/></antcall> <antcall target="test-module"><param name="module" value="data"/></antcall> <antcall target="test-module"><param name="module" value="datadebug"/></antcall> + <antcall target="test-module"><param name="module" value="nonotify"/></antcall> <antcall target="test-module"><param name="module" value="standard"/></antcall> <antcall target="test-module"><param name="module" value="io"/></antcall> <antcall target="test-module"><param name="module" value="extra"/></antcall> Added: trunk/cdk/src/META-INF/nonotify.cdkdepends =================================================================== --- trunk/cdk/src/META-INF/nonotify.cdkdepends (rev 0) +++ trunk/cdk/src/META-INF/nonotify.cdkdepends 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,3 @@ +cdk-interfaces.jar +cdk-core.jar +cdk-data.jar \ No newline at end of file Added: trunk/cdk/src/META-INF/nonotify.libdepends =================================================================== --- trunk/cdk/src/META-INF/nonotify.libdepends (rev 0) +++ trunk/cdk/src/META-INF/nonotify.libdepends 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1 @@ +vecmath1.2-1.14.jar Modified: trunk/cdk/src/META-INF/test-datadebug.cdkdepends =================================================================== --- trunk/cdk/src/META-INF/test-datadebug.cdkdepends 2006-04-12 11:33:23 UTC (rev 5924) +++ trunk/cdk/src/META-INF/test-datadebug.cdkdepends 2006-04-12 11:58:12 UTC (rev 5925) @@ -1,5 +1,6 @@ cdk-interfaces.jar cdk-core.jar cdk-data.jar +cdk-datadebug.jar cdk-test-core.jar -cdk-datadebug.jar \ No newline at end of file +cdk-test-data.jar \ No newline at end of file Modified: trunk/cdk/src/META-INF/test-nonotify.cdkdepends =================================================================== --- trunk/cdk/src/META-INF/test-nonotify.cdkdepends 2006-04-12 11:33:23 UTC (rev 5924) +++ trunk/cdk/src/META-INF/test-nonotify.cdkdepends 2006-04-12 11:58:12 UTC (rev 5925) @@ -1,5 +1,6 @@ cdk-interfaces.jar cdk-core.jar cdk-data.jar +cdk-nonotify.jar cdk-test-core.jar -cdk-datadebug.jar \ No newline at end of file +cdk-test-data.jar \ No newline at end of file Modified: trunk/cdk/src/META-INF/test-osjvmts.cdkdepends =================================================================== --- trunk/cdk/src/META-INF/test-osjvmts.cdkdepends 2006-04-12 11:33:23 UTC (rev 5924) +++ trunk/cdk/src/META-INF/test-osjvmts.cdkdepends 2006-04-12 11:58:12 UTC (rev 5925) @@ -2,7 +2,7 @@ cdk-core.jar cdk-standard.jar cdk-data.jar -cdk-data-debug.jar +cdk-datadebug.jar cdk-io.jar cdk-experimental.jar cdk-extra.jar @@ -18,3 +18,4 @@ cdk-test-standard.jar cdk-test-extra.jar cdk-test-io.jar +cdk-test-datadebug.jar Modified: trunk/cdk/src/org/openscience/cdk/debug/DebugChemObjectBuilder.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/debug/DebugChemObjectBuilder.java 2006-04-12 11:33:23 UTC (rev 5924) +++ trunk/cdk/src/org/openscience/cdk/debug/DebugChemObjectBuilder.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -61,7 +61,7 @@ * A helper class to instantiate a IChemObject for the debug implementation. * * @author egonw - * @cdk.module data-debug + * @cdk.module datadebug */ public class DebugChemObjectBuilder implements IChemObjectBuilder { Modified: trunk/cdk/src/org/openscience/cdk/nonotify/NNBioPolymer.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/nonotify/NNBioPolymer.java 2006-04-12 11:33:23 UTC (rev 5924) +++ trunk/cdk/src/org/openscience/cdk/nonotify/NNBioPolymer.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -31,7 +31,7 @@ import org.openscience.cdk.interfaces.IChemObjectBuilder; /** - * @cdk.module data + * @cdk.module nonotify */ public class NNBioPolymer extends BioPolymer { Added: trunk/cdk/src/org/openscience/cdk/test/MnonotifyTests.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/MnonotifyTests.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/MnonotifyTests.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,104 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-06 21:14:11 +0200 (Thu, 06 Apr 2006) $ + * $Revision: 5899 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +package org.openscience.cdk.test; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.test.nonotify.NNAminoAcidTest; +import org.openscience.cdk.test.nonotify.NNAtomContainerTest; +import org.openscience.cdk.test.nonotify.NNAtomTest; +import org.openscience.cdk.test.nonotify.NNAtomTypeTest; +import org.openscience.cdk.test.nonotify.NNBioPolymerTest; +import org.openscience.cdk.test.nonotify.NNBondTest; +import org.openscience.cdk.test.nonotify.NNChemFileTest; +import org.openscience.cdk.test.nonotify.NNChemModelTest; +import org.openscience.cdk.test.nonotify.NNChemObjectBuilderTest; +import org.openscience.cdk.test.nonotify.NNChemObjectTest; +import org.openscience.cdk.test.nonotify.NNChemSequenceTest; +import org.openscience.cdk.test.nonotify.NNCrystalTest; +import org.openscience.cdk.test.nonotify.NNElectronContainerTest; +import org.openscience.cdk.test.nonotify.NNElementTest; +import org.openscience.cdk.test.nonotify.NNIsotopeTest; +import org.openscience.cdk.test.nonotify.NNLonePairTest; +import org.openscience.cdk.test.nonotify.NNMoleculeTest; +import org.openscience.cdk.test.nonotify.NNMonomerTest; +import org.openscience.cdk.test.nonotify.NNPolymerTest; +import org.openscience.cdk.test.nonotify.NNPseudoAtomTest; +import org.openscience.cdk.test.nonotify.NNReactionTest; +import org.openscience.cdk.test.nonotify.NNRingSetTest; +import org.openscience.cdk.test.nonotify.NNRingTest; +import org.openscience.cdk.test.nonotify.NNSetOfAtomContainersTest; +import org.openscience.cdk.test.nonotify.NNSetOfMoleculesTest; +import org.openscience.cdk.test.nonotify.NNSetOfReactionsTest; +import org.openscience.cdk.test.nonotify.NNSingleElectronTest; +import org.openscience.cdk.test.nonotify.NNStrandTest; + +/** + * TestSuite that runs the nonotify tests. + * + * @cdk.module test-nonotify + * @cdk.depends log4j.jar + * @cdk.depends junit.jar + */ +public class MnonotifyTests { + + public static Test suite () { + TestSuite suite= new TestSuite("The cdk.debug Tests"); + + suite.addTest(NNChemObjectBuilderTest.suite()); + + suite.addTest(NNAminoAcidTest.suite()); + suite.addTest(NNAtomContainerTest.suite()); + suite.addTest(NNAtomTest.suite()); + suite.addTest(NNAtomTypeTest.suite()); + suite.addTest(NNBioPolymerTest.suite()); + suite.addTest(NNBondTest.suite()); + suite.addTest(NNChemObjectTest.suite()); + suite.addTest(NNChemFileTest.suite()); + suite.addTest(NNChemModelTest.suite()); + suite.addTest(NNChemSequenceTest.suite()); + suite.addTest(NNCrystalTest.suite()); + suite.addTest(NNElectronContainerTest.suite()); + suite.addTest(NNElementTest.suite()); + suite.addTest(NNIsotopeTest.suite()); + suite.addTest(NNLonePairTest.suite()); + suite.addTest(NNMoleculeTest.suite()); + suite.addTest(NNMonomerTest.suite()); + suite.addTest(NNPseudoAtomTest.suite()); + suite.addTest(NNPolymerTest.suite()); + suite.addTest(NNReactionTest.suite()); + suite.addTest(NNRingTest.suite()); + suite.addTest(NNRingSetTest.suite()); + suite.addTest(NNSetOfAtomContainersTest.suite()); + suite.addTest(NNSetOfMoleculesTest.suite()); + suite.addTest(NNSetOfReactionsTest.suite()); + suite.addTest(NNSingleElectronTest.suite()); + suite.addTest(NNStrandTest.suite()); + + return suite; + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAminoAcidTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAminoAcidTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAminoAcidTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.AminoAcidTest; + +/** + * Checks the functionality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNAminoAcidTest extends AminoAcidTest { + + public NNAminoAcidTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNAminoAcidTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomContainerTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomContainerTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomContainerTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.AtomContainerTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNAtomContainerTest extends AtomContainerTest { + + public NNAtomContainerTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNAtomContainerTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomParityTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomParityTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomParityTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.AtomParityTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNAtomParityTest extends AtomParityTest { + + public NNAtomParityTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNAtomParityTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.AtomTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNAtomTest extends AtomTest { + + public NNAtomTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNAtomTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomTypeTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomTypeTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNAtomTypeTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.AtomTypeTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNAtomTypeTest extends AtomTypeTest { + + public NNAtomTypeTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNAtomTypeTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNBioPolymerTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNBioPolymerTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNBioPolymerTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.BioPolymerTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNBioPolymerTest extends BioPolymerTest { + + public NNBioPolymerTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNBioPolymerTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNBondTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNBondTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNBondTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.BondTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNBondTest extends BondTest { + + public NNBondTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNBondTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemFileTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemFileTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemFileTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.ChemFileTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNChemFileTest extends ChemFileTest { + + public NNChemFileTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNChemFileTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemModelTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemModelTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemModelTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.ChemModelTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNChemModelTest extends ChemModelTest { + + public NNChemModelTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNChemModelTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemObjectBuilderTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemObjectBuilderTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemObjectBuilderTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,62 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 2002-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ + +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.interfaces.IChemObjectBuilder; +import org.openscience.cdk.nonotify.NNChemObject; +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.DefaultChemObjectBuilderTest; + +/** + * Checks the functionality of the Crystal. + * + * @cdk.module test-nonotify + */ +public class NNChemObjectBuilderTest extends DefaultChemObjectBuilderTest { + + public NNChemObjectBuilderTest(String name) { + super(name); + } + + public void setUp() { + super.rootObject = new NNChemObject(); + } + + public static Test suite() { + return new TestSuite(NNChemObjectBuilderTest.class); + } + + public void testGetInstance() { + Object builder = NoNotificationChemObjectBuilder.getInstance(); + assertNotNull(builder); + assertTrue(builder instanceof IChemObjectBuilder); + assertTrue(builder instanceof NoNotificationChemObjectBuilder); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemObjectTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemObjectTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemObjectTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.ChemObjectTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNChemObjectTest extends ChemObjectTest { + + public NNChemObjectTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNChemObjectTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemSequenceTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemSequenceTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNChemSequenceTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.ChemSequenceTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNChemSequenceTest extends ChemSequenceTest { + + public NNChemSequenceTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNChemSequenceTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNCrystalTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNCrystalTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNCrystalTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.CrystalTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNCrystalTest extends CrystalTest { + + public NNCrystalTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNCrystalTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNElectronContainerTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNElectronContainerTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNElectronContainerTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.ElectronContainerTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNElectronContainerTest extends ElectronContainerTest { + + public NNElectronContainerTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNElectronContainerTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNElementTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNElementTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNElementTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.ElementTest; + +/** + * Checks the funcitonality of DebugElement. + * + * @cdk.module test-nonotify + */ +public class NNElementTest extends ElementTest { + + public NNElementTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNElementTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNIsotopeTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNIsotopeTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNIsotopeTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.IsotopeTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNIsotopeTest extends IsotopeTest { + + public NNIsotopeTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNIsotopeTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNLonePairTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNLonePairTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNLonePairTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.LonePairTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNLonePairTest extends LonePairTest { + + public NNLonePairTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNLonePairTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNMoleculeTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNMoleculeTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNMoleculeTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.MoleculeTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNMoleculeTest extends MoleculeTest { + + public NNMoleculeTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNMoleculeTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNMonomerTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNMonomerTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNMonomerTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.MonomerTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNMonomerTest extends MonomerTest { + + public NNMonomerTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNMonomerTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNPolymerTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNPolymerTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNPolymerTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.PolymerTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNPolymerTest extends PolymerTest { + + public NNPolymerTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNPolymerTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNPseudoAtomTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNPseudoAtomTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNPseudoAtomTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.PseudoAtomTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNPseudoAtomTest extends PseudoAtomTest { + + public NNPseudoAtomTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNPseudoAtomTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNReactionTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNReactionTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNReactionTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nonotify.NoNotificationChemObjectBuilder; +import org.openscience.cdk.test.ReactionTest; + +/** + * Checks the funcitonality of the AtomContainer. + * + * @cdk.module test-nonotify + */ +public class NNReactionTest extends ReactionTest { + + public NNReactionTest(String name) { + super(name); + } + + public void setUp() { + super.builder = NoNotificationChemObjectBuilder.getInstance(); + } + + public static Test suite() { + return new TestSuite(NNReactionTest.class); + } + +} Added: trunk/cdk/src/org/openscience/cdk/test/nonotify/NNRingSetTest.java =================================================================== --- trunk/cdk/src/org/openscience/cdk/test/nonotify/NNRingSetTest.java (rev 0) +++ trunk/cdk/src/org/openscience/cdk/test/nonotify/NNRingSetTest.java 2006-04-12 11:58:12 UTC (rev 5925) @@ -0,0 +1,52 @@ +/* $RCSfile$ + * $Author: egonw $ + * $Date: 2006-04-12 11:16:35 +0200 (Wed, 12 Apr 2006) $ + * $Revision: 5921 $ + * + * Copyright (C) 1997-2006 The Chemistry Development Kit (CDK) project + * + * Contact: cdk...@li... + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.openscience.cdk.test.nonotify; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.openscience.cdk.nono... [truncated message content] |