psdi.app.workorder.unittest

Class WOViewCostsTest3

  • java.lang.Object
    • psdi.app.workorder.unittest.WOViewCostsTest3


  • public class WOViewCostsTest3
    extends java.lang.Object
    Tests for issue 07-10700/07-13829-view cost when appr wo then unapprove wo.
    • Field Detail

      • delta

        protected static double delta
    • Constructor Detail

      • WOViewCostsTest3

        public WOViewCostsTest3()
    • Method Detail

      • init

        public void init()
      • getWOGrandTotal

        protected MboSetRemote getWOGrandTotal()
      • assertEstimate

        protected void assertEstimate(java.lang.String total,
                                      double expected,
                                      double est)
      • assertActual

        protected void assertActual(java.lang.String total,
                                    double expected,
                                    double act)
      • label

        public static java.lang.String label(MboRemote woTotal,
                                             java.lang.String maxvalue)
                                      throws java.rmi.RemoteException,
                                             MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • estimatedInternalLaborHours

        public static double estimatedInternalLaborHours(MboRemote wo)
                                                  throws java.rmi.RemoteException,
                                                         MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • estimatedExternalLaborHours

        public static double estimatedExternalLaborHours(MboRemote wo)
                                                  throws java.rmi.RemoteException,
                                                         MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • estimatedLaborHours

        public static double estimatedLaborHours(MboRemote wo)
                                          throws java.rmi.RemoteException,
                                                 MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • estimatedInternalLaborCost

        public static double estimatedInternalLaborCost(MboRemote wo)
                                                 throws java.rmi.RemoteException,
                                                        MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • estimatedExternalLaborCost

        public static double estimatedExternalLaborCost(MboRemote wo)
                                                 throws java.rmi.RemoteException,
                                                        MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • estimatedLaborCost

        public static double estimatedLaborCost(MboRemote wo)
                                         throws java.rmi.RemoteException,
                                                MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • estimatedMaterialCost

        public static double estimatedMaterialCost(MboRemote wo)
                                            throws java.rmi.RemoteException,
                                                   MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • estimatedToolCost

        public static double estimatedToolCost(MboRemote wo)
                                        throws java.rmi.RemoteException,
                                               MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • estimatedServiceCost

        public static double estimatedServiceCost(MboRemote wo)
                                           throws java.rmi.RemoteException,
                                                  MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • estimatedCost

        public static double estimatedCost(MboRemote wo)
                                    throws java.rmi.RemoteException,
                                           MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalEstimatedInternalLaborHours

        public static double hierarchicalEstimatedInternalLaborHours(MboRemote wo)
                                                              throws java.rmi.RemoteException,
                                                                     MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalEstimatedExternalLaborHours

        public static double hierarchicalEstimatedExternalLaborHours(MboRemote wo)
                                                              throws java.rmi.RemoteException,
                                                                     MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalEstimatedLaborHours

        public static double hierarchicalEstimatedLaborHours(MboRemote wo)
                                                      throws java.rmi.RemoteException,
                                                             MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalEstimatedInternalLaborCost

        public static double hierarchicalEstimatedInternalLaborCost(MboRemote wo)
                                                             throws java.rmi.RemoteException,
                                                                    MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalEstimatedExternalLaborCost

        public static double hierarchicalEstimatedExternalLaborCost(MboRemote wo)
                                                             throws java.rmi.RemoteException,
                                                                    MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalEstimatedLaborCost

        public static double hierarchicalEstimatedLaborCost(MboRemote wo)
                                                     throws java.rmi.RemoteException,
                                                            MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalEstimatedMaterialCost

        public static double hierarchicalEstimatedMaterialCost(MboRemote wo)
                                                        throws java.rmi.RemoteException,
                                                               MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalEstimatedToolCost

        public static double hierarchicalEstimatedToolCost(MboRemote wo)
                                                    throws java.rmi.RemoteException,
                                                           MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalEstimatedServiceCost

        public static double hierarchicalEstimatedServiceCost(MboRemote wo)
                                                       throws java.rmi.RemoteException,
                                                              MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalEstimatedCost

        public static double hierarchicalEstimatedCost(MboRemote wo)
                                                throws java.rmi.RemoteException,
                                                       MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • actualInternalLaborHours

        public static double actualInternalLaborHours(MboRemote wo)
                                               throws java.rmi.RemoteException,
                                                      MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • actualExternalLaborHours

        public static double actualExternalLaborHours(MboRemote wo)
                                               throws java.rmi.RemoteException,
                                                      MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • actualLaborHours

        public static double actualLaborHours(MboRemote wo)
                                       throws java.rmi.RemoteException,
                                              MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • actualInternalLaborCost

        public static double actualInternalLaborCost(MboRemote wo)
                                              throws java.rmi.RemoteException,
                                                     MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • actualExternalLaborCost

        public static double actualExternalLaborCost(MboRemote wo)
                                              throws java.rmi.RemoteException,
                                                     MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • actualLaborCost

        public static double actualLaborCost(MboRemote wo)
                                      throws java.rmi.RemoteException,
                                             MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • actualMaterialCost

        public static double actualMaterialCost(MboRemote wo)
                                         throws java.rmi.RemoteException,
                                                MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • actualToolCost

        public static double actualToolCost(MboRemote wo)
                                     throws java.rmi.RemoteException,
                                            MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • actualServiceCost

        public static double actualServiceCost(MboRemote wo)
                                        throws java.rmi.RemoteException,
                                               MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalActualInternalLaborHours

        public static double hierarchicalActualInternalLaborHours(MboRemote wo)
                                                           throws java.rmi.RemoteException,
                                                                  MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalActualExternalLaborHours

        public static double hierarchicalActualExternalLaborHours(MboRemote wo)
                                                           throws java.rmi.RemoteException,
                                                                  MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalActualLaborHours

        public static double hierarchicalActualLaborHours(MboRemote wo)
                                                   throws java.rmi.RemoteException,
                                                          MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalActualInternalLaborCost

        public static double hierarchicalActualInternalLaborCost(MboRemote wo)
                                                          throws java.rmi.RemoteException,
                                                                 MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalActualExternalLaborCost

        public static double hierarchicalActualExternalLaborCost(MboRemote wo)
                                                          throws java.rmi.RemoteException,
                                                                 MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalActualLaborCost

        public static double hierarchicalActualLaborCost(MboRemote wo)
                                                  throws java.rmi.RemoteException,
                                                         MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalActualMaterialCost

        public static double hierarchicalActualMaterialCost(MboRemote wo)
                                                     throws java.rmi.RemoteException,
                                                            MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalActualToolCost

        public static double hierarchicalActualToolCost(MboRemote wo)
                                                 throws java.rmi.RemoteException,
                                                        MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalActualServiceCost

        public static double hierarchicalActualServiceCost(MboRemote wo)
                                                    throws java.rmi.RemoteException,
                                                           MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hierarchicalActualCost

        public static double hierarchicalActualCost(MboRemote wo)
                                             throws java.rmi.RemoteException,
                                                    MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • testEstimatedInternalLaborHours

        public void testEstimatedInternalLaborHours()
      • testActualInternalLaborHours

        public void testActualInternalLaborHours()
      • testPackageEstimatedInternalLaborHours

        public void testPackageEstimatedInternalLaborHours()
      • testPackageActualInternalLaborHours

        public void testPackageActualInternalLaborHours()
      • testEstimatedExternalLaborHours

        public void testEstimatedExternalLaborHours()
      • testActualExternalLaborHours

        public void testActualExternalLaborHours()
      • testPackageEstimatedExternalLaborHours

        public void testPackageEstimatedExternalLaborHours()
      • testPackageActualExternalLaborHours

        public void testPackageActualExternalLaborHours()
      • testEstimatedLaborHours

        public void testEstimatedLaborHours()
      • testActualLaborHours

        public void testActualLaborHours()
      • testPackageEstimatedLaborHours

        public void testPackageEstimatedLaborHours()
      • testPackageActualLaborHours

        public void testPackageActualLaborHours()
      • testEstimatedInternalLaborCost

        public void testEstimatedInternalLaborCost()
      • testActualInternalLaborCost

        public void testActualInternalLaborCost()
      • testPackageEstimatedInternalLaborCost

        public void testPackageEstimatedInternalLaborCost()
      • testPackageActualInternalLaborCost

        public void testPackageActualInternalLaborCost()
      • testEstimatedExternalLaborCost

        public void testEstimatedExternalLaborCost()
      • testActualExternalLaborCost

        public void testActualExternalLaborCost()
      • testPackageEstimatedExternalLaborCost

        public void testPackageEstimatedExternalLaborCost()
      • testPackageActualExternalLaborCost

        public void testPackageActualExternalLaborCost()
      • testEstimatedLaborCost

        public void testEstimatedLaborCost()
      • testActualLaborCost

        public void testActualLaborCost()
      • testPackageEstimatedLaborCost

        public void testPackageEstimatedLaborCost()
      • testPackageActualLaborCost

        public void testPackageActualLaborCost()
      • testEstimatedMaterialCost

        public void testEstimatedMaterialCost()
      • testActualMaterialCost

        public void testActualMaterialCost()
      • testPackageEstimatedMaterialCost

        public void testPackageEstimatedMaterialCost()
      • testPackageActualMaterialCost

        public void testPackageActualMaterialCost()
      • testEstimatedToolCost

        public void testEstimatedToolCost()
      • testActualToolCost

        public void testActualToolCost()
      • testPackageEstimatedToolCost

        public void testPackageEstimatedToolCost()
      • testPackageActualToolCost

        public void testPackageActualToolCost()
      • testEstimatedServiceCost

        public void testEstimatedServiceCost()
      • testActualServiceCost

        public void testActualServiceCost()
      • testPackageEstimatedServiceCost

        public void testPackageEstimatedServiceCost()
      • testPackageActualServiceCost

        public void testPackageActualServiceCost()
      • testEstimatedCost

        public void testEstimatedCost()
      • testActualCost

        public void testActualCost()
      • testPackageEstimatedCost

        public void testPackageEstimatedCost()
      • testPackageActualCost

        public void testPackageActualCost()