Class TestComboDatasource

    • Constructor Detail

      • TestComboDatasource

        public TestComboDatasource()
    • Method Detail

      • testFetchWithoutLimitParameters

        public void testFetchWithoutLimitParameters()
                                             throws Exception
        Test to fetch values from ComboTableDatasoureService using set parameters. Based on field information and current context, the field values are returned as jsonObject. The test case asserts the case where startRow and endRow parameters are not present. In this case OBException is raised
        Throws:
        Exception
      • testFetchWithLargeData

        public void testFetchWithLargeData()
                                    throws Exception
        Test to fetch values from ComboTableDatasoureService using set parameters. Based on field information and current context, the field values are returned as jsonObject. The test case asserts the case where more than 500 records are set to be fetched. In this case OBException is raised.
        Throws:
        Exception
      • testPaginatedFetch

        public void testPaginatedFetch()
                                throws Exception
        Test to fetch paginated values from ComboTableDatasoureService
        Throws:
        Exception
      • testDefaultNotInFirstPage

        public void testDefaultNotInFirstPage()
                                       throws Exception
        Checks selected value not in 1st page
        Throws:
        Exception
      • testFilter

        public void testFilter()
                        throws Exception
        Test to check filtering of the record using passed parameter
        Throws:
        Exception
      • testFilterWithPagination

        public void testFilterWithPagination()
                                      throws Exception
        Test to check filtering of the record using passed parameter and return paginated results
        Throws:
        Exception
      • testAccess

        public void testAccess()
                        throws Exception
        Test to check whether data is accessible to unauthorized user.
        Throws:
        Exception
      • testAccessForFilter

        public void testAccessForFilter()
                                 throws Exception
        Test to check whether filter data is accessible to unauthorized user.
        Throws:
        Exception
      • testForIssue27612

        public void testForIssue27612()
                               throws Exception
        Test to check when empty value is rendered in UIDefinition, proper data is returned.
        Throws:
        Exception
      • testRequestWithoutFieldAccess

        public void testRequestWithoutFieldAccess()
                                           throws Exception
        Tests a request to a combo with a role that has no access to field entity.
        Throws:
        Exception
      • testFetchDataFromNonGrantedOrg

        public void testFetchDataFromNonGrantedOrg()
                                            throws Exception
        Throws:
        Exception