Class TestFilterer

java.lang.Object
io.fluentlenium.adapter.testng.TestFilterer
All Implemented Interfaces:
org.testng.IMethodInterceptor, org.testng.ITestNGListener

public class TestFilterer extends Object implements org.testng.IMethodInterceptor
TestNG attempts to run default methods from inherited interfaces when there is class @Test annotation. Only methods returning void are treated as "tests". This filterer makes sure end user never sees this weird behaviour.
  • Constructor Details

    • TestFilterer

      public TestFilterer()
  • Method Details

    • intercept

      public List<org.testng.IMethodInstance> intercept (List<org.testng.IMethodInstance> methods, org.testng.ITestContext context)
      Specified by:
      intercept in interface org.testng.IMethodInterceptor