Class PowerMockRuleTestSuiteChunker

    • Constructor Detail

      • PowerMockRuleTestSuiteChunker

        public PowerMockRuleTestSuiteChunker​(java.lang.Class testClass)
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • shouldExecuteTestForMethod

        public boolean shouldExecuteTestForMethod​(java.lang.Class<?> testClass,
                                                  java.lang.reflect.Method potentialTestMethod)
        Description copied from interface: TestSuiteChunker
        Should reflect whether or not this method is eligible for testing.
        Parameters:
        testClass - The class that defines the method.
        potentialTestMethod - The method to inspect whether it should be executed in the test suite or not.
        Returns:
        true if the method is a test method and should be executed, false otherwise.