Class BaseClassFinder

    • Constructor Detail

      • BaseClassFinder

        public BaseClassFinder()
    • Method Detail

      • putIClass

        protected void putIClass​(java.lang.Class<?> cls,
                                 IClass iClass)
      • getExistingClasses

        @Deprecated
        protected java.util.Map getExistingClasses()
        Deprecated.
      • classExists

        protected boolean classExists​(java.lang.Class<?> cls)
      • findTestClasses

        public IClass[] findTestClasses()
        Specified by:
        findTestClasses in interface ITestClassFinder
        Returns:
        An array of all the classes that contain test methods. This method usually returns an array of one class, which is the class on which TestNG is running, except in the following cases. - TestNG: the class contains an @Factory method - JUnit: the class contains a suite() method