Class FragmentTest


  • public class FragmentTest
    extends java.lang.Object
    • Constructor Detail

      • FragmentTest

        public FragmentTest()
    • Method Detail

      • setUp

        public void setUp()
      • testFragment

        public void testFragment()
      • testAddAtom

        public void testAddAtom()
      • testAddBond

        public void testAddBond()
      • testImportFrag

        public void testImportFrag()
                            throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testImportFragWithIntraFragBonds1

        public void testImportFragWithIntraFragBonds1()
                                               throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testImportFragWithIntraFragBonds2

        public void testImportFragWithIntraFragBonds2()
                                               throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testGetIDFromLocant

        public void testGetIDFromLocant()
      • testGetAtomByLocant

        public void testGetAtomByLocant()
      • testGetAtomByID

        public void testGetAtomByID()
      • testFindBond

        public void testFindBond()
      • testGetChainLength

        public void testGetChainLength()
      • testRelabelSuffixLocants

        public void testRelabelSuffixLocants()
                                      throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testLabelCarbamimidamido

        public void testLabelCarbamimidamido()
                                      throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testLabelHydrazonoHydrazide

        public void testLabelHydrazonoHydrazide()
                                         throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testLabelCarbonimidoyl

        public void testLabelCarbonimidoyl()
                                    throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testLabelHydrazonicAmide

        public void testLabelHydrazonicAmide()
                                      throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testLabelHydrazonate

        public void testLabelHydrazonate()
                                  throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testLabelHexanDiamide

        public void testLabelHexanDiamide()
                                   throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testLabelDiimidooxalicDiamide

        public void testLabelDiimidooxalicDiamide()
                                           throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testLabelHydrazinecarbohydrazide

        public void testLabelHydrazinecarbohydrazide()
                                              throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testLabelCarbonicDihydrazide

        public void testLabelCarbonicDihydrazide()
                                          throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testLabelSulfonoThioate

        public void testLabelSulfonoThioate()
                                     throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testLabelAcetoanilide

        public void testLabelAcetoanilide()
                                   throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testLabelPyridine

        public void testLabelPyridine()
                               throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testLabelPiperazine

        public void testLabelPiperazine()
                                 throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testLabelCarboximidohydrazide

        public void testLabelCarboximidohydrazide()
                                           throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testIndicatedHydrogen

        public void testIndicatedHydrogen()
                                   throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testSpareValenciesOnAromaticAtoms

        public void testSpareValenciesOnAromaticAtoms()
                                               throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testConvertSpareValenciesToDoubleBonds

        public void testConvertSpareValenciesToDoubleBonds()
                                                    throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testGetAtomNeighbours

        public void testGetAtomNeighbours()
                                   throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testIsCharacteristicAtomSuffix

        public void testIsCharacteristicAtomSuffix()
                                            throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testIsCharacteristicAtomAldehyde

        public void testIsCharacteristicAtomAldehyde()
                                              throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testIsCharacteristicAtomFunctionalAtom

        public void testIsCharacteristicAtomFunctionalAtom()
                                                    throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
      • testIsCharacteristicAtomHydroxy

        public void testIsCharacteristicAtomHydroxy()
                                             throws uk.ac.cam.ch.wwmm.opsin.StructureBuildingException
        Throws:
        uk.ac.cam.ch.wwmm.opsin.StructureBuildingException