Class ADOrgTreeTest

    • Constructor Detail

      • ADOrgTreeTest

        public ADOrgTreeTest()
    • Method Detail

      • testSingleNewOrganization

        public void testSingleNewOrganization()
        Creates a new organization just below * and do not cascade
      • testSingleNewOrganizationCascade

        public void testSingleNewOrganizationCascade()
        Creates a new organization just below * and do cascade
      • testTwoNewOrgsIndividually

        public void testTwoNewOrgsIndividually()
        Test creation of two new organizations (one below the other) and set as ready individually:
        • *
        • |__firstOrg
        • ___|__secondOrg
      • testTwoNewOrgsCascade

        public void testTwoNewOrgsCascade()
        Test creation of two new organizations (one below the other) and set as ready in Cascade:
        • *
        • |__firstOrg
        • ___|__secondOrg
      • testChildOrgValidation

        public void testChildOrgValidation()
        Creates parent and child organization and tries to set as ready the child organization (cascade and not cascade). Verify it fails because parent org is not set as ready yet
      • testCreateExtendedOrgTreeFewLevels

        public void testCreateExtendedOrgTreeFewLevels()
        Test we get expected records in AD_ORG_Tree table when the org tree has few levels
      • testCreateExtendedOrgTreeManyLevels

        public void testCreateExtendedOrgTreeManyLevels()
        Test we get expected records in AD_ORG_Tree table when the org tree has many levels
      • testCallAllCombinations

        public void testCallAllCombinations()
        Test all the possible combinations for calling AD_IsOrgIncluded function and compares the result to the original AD_IsOrgIncluded_TreeNode
      • testPerformanceI

        public void testPerformanceI()
        Test performance of new function is better than legacy one when used as a filter criteria in the where clause. Verify we get the same results.
      • testPerformanceII

        public void testPerformanceII()
        Test performance of new function is equivalent to legacy one when using individually. 300 consecutive calls done in a batch to have better range. Verify we get the same results