psdi.app.swcatalog.unittest

Class SoftwarePartNumberTest

  • java.lang.Object
    • psdi.app.swcatalog.unittest.SoftwarePartNumberTest


  • public class SoftwarePartNumberTest
    extends java.lang.Object
    Test the addition of Software Part Number (TAMITSWPRTNUM table and TLOAMSOFTWARE.CCID column)
    Since:
    TAMIT 7.2.2
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      protected void createSWCatalog(java.lang.String uniqueid, java.lang.String CCID)
      Create new record in Software Catalog table (TLOAMSOFTWARE)
      protected void createSWPartNumber(java.lang.String partNumber, java.lang.String CCID)
      Create new record in Software Part Number table (TAMITSWPRTNUM)
      void setUp() 
      void testSWPartNumber()
      Test, new TAMITSWPRTNUM table and TLOAMSOFTWARE.CCID column.
      protected void verifySWPartNumberRelationship(java.lang.String parent, java.lang.String relationship, java.lang.String CCID)
      verify record can be retrieved with relationship base on CCID
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SoftwarePartNumberTest

        public SoftwarePartNumberTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSWPartNumber

        public void testSWPartNumber()
                              throws java.lang.Exception
        Test, new TAMITSWPRTNUM table and TLOAMSOFTWARE.CCID column. Insert/Delete into TAMITSWPRTNUM and TLOAMSOFTWARE tables
        Throws:
        java.lang.Exception
      • createSWPartNumber

        protected void createSWPartNumber(java.lang.String partNumber,
                                          java.lang.String CCID)
                                   throws java.lang.Exception
        Create new record in Software Part Number table (TAMITSWPRTNUM)
        Parameters:
        partNumber -
        CCID -
        Throws:
        java.lang.Exception
      • createSWCatalog

        protected void createSWCatalog(java.lang.String uniqueid,
                                       java.lang.String CCID)
                                throws java.lang.Exception
        Create new record in Software Catalog table (TLOAMSOFTWARE)
        Parameters:
        uniqueid -
        CCID -
        Throws:
        java.lang.Exception
      • verifySWPartNumberRelationship

        protected void verifySWPartNumberRelationship(java.lang.String parent,
                                                      java.lang.String relationship,
                                                      java.lang.String CCID)
                                               throws java.lang.Exception
        verify record can be retrieved with relationship base on CCID
        Parameters:
        parent -
        relationship -
        CCID -
        Throws:
        java.lang.Exception