Package core.apiCore

Class ServiceManager


  • public class ServiceManager
    extends Object
    • Constructor Detail

      • ServiceManager

        public ServiceManager()
    • Method Detail

      • runCombinedInterface

        public static void runCombinedInterface()
                                         throws Exception
        included generated interface from the client as well as existing interfaces
        Throws:
        Exception
      • runBeforeCsv

        public static void runBeforeCsv​(ServiceObject serviceObject)
                                 throws Exception
        runs before each csv file
        Parameters:
        serviceObject -
        Throws:
        Exception
      • setTestBaseOverride

        public static void setTestBaseOverride​(ServiceObject serviceObject)
      • runAfterCsv

        public static void runAfterCsv​(ServiceObject serviceObject)
                                throws Exception
        runs after each csv file
        Parameters:
        serviceObject -
        Throws:
        Exception
      • runServiceBeforeSuite

        public static void runServiceBeforeSuite()
        runs before suite
        Parameters:
        serviceObject -
        Throws:
        Exception
      • runServiceAfterSuite

        public static void runServiceAfterSuite()
        runs after suite
        Parameters:
        serviceObject -
        Throws:
        Exception
      • runServiceTestFile

        public static void runServiceTestFile​(String csvTestPath,
                                              String file,
                                              String testname,
                                              String parent)
        run csv test without data provider used for before/after class/suite
        Parameters:
        csvTestPath -
        file -
        parentFileName - : name of the class before/after class is running for
        Throws:
        Exception
      • runServiceTestFileWithoutDataProvider

        public static void runServiceTestFileWithoutDataProvider​(List<Object[]> testList,
                                                                 String testname,
                                                                 String parent)
        run csv tests without data provider used for before/after class/suite
        Parameters:
        csvTestPath -
        file -
        parentFileName - : name of the class before/after class is running for
        Throws:
        Exception
      • setupParentObject

        public static void setupParentObject​(ServiceObject serviceObject)
        parent object is setup once per csv test file all service tests will inherit from the parent object parent object is used to pass data from one test to another
        Parameters:
        serviceObject -
      • evaluateOption

        public static void evaluateOption​(ServiceObject serviceObject)
        set run count for individual test case
        Parameters:
        serviceObject -