类 TestTypeExcludeFilter

java.lang.Object
cn.taketoday.context.annotation.config.TypeExcludeFilter
cn.taketoday.framework.test.context.filter.TestTypeExcludeFilter
所有已实现的接口:
cn.taketoday.beans.factory.Aware, cn.taketoday.beans.factory.BeanFactoryAware, cn.taketoday.core.type.filter.TypeFilter

class TestTypeExcludeFilter extends cn.taketoday.context.annotation.config.TypeExcludeFilter
TypeExcludeFilter to exclude classes annotated with @TestComponent as well as inner-classes of tests.
从以下版本开始:
4.0
作者:
Phillip Webb, Andy Wilkinson, Harry Yang
  • 字段详细资料

    • BEAN_NAME

      private static final String BEAN_NAME
    • CLASS_ANNOTATIONS

      private static final String[] CLASS_ANNOTATIONS
    • METHOD_ANNOTATIONS

      private static final String[] METHOD_ANNOTATIONS
    • INSTANCE

      private static final TestTypeExcludeFilter INSTANCE
  • 构造器详细资料

    • TestTypeExcludeFilter

      TestTypeExcludeFilter()
  • 方法详细资料

    • match

      public boolean match(cn.taketoday.core.type.classreading.MetadataReader metadataReader, cn.taketoday.core.type.classreading.MetadataReaderFactory metadataReaderFactory) throws IOException
      指定者:
      match 在接口中 cn.taketoday.core.type.filter.TypeFilter
      覆盖:
      match 在类中 cn.taketoday.context.annotation.config.TypeExcludeFilter
      抛出:
      IOException
    • equals

      public boolean equals(Object obj)
      覆盖:
      equals 在类中 cn.taketoday.context.annotation.config.TypeExcludeFilter
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 cn.taketoday.context.annotation.config.TypeExcludeFilter
    • isTestConfiguration

      private boolean isTestConfiguration(cn.taketoday.core.type.classreading.MetadataReader metadataReader)
    • isTestClass

      private boolean isTestClass(cn.taketoday.core.type.classreading.MetadataReader metadataReader)
    • registerWith

      static void registerWith(cn.taketoday.beans.factory.config.ConfigurableBeanFactory beanFactory)