Class FieldTestDescriptor

  • All Implemented Interfaces:
    org.junit.platform.engine.TestDescriptor, Testable

    public final class FieldTestDescriptor
    extends org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
    implements Testable
    A TestDescriptor for Fields.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.junit.platform.engine.TestDescriptor

        org.junit.platform.engine.TestDescriptor.Type, org.junit.platform.engine.TestDescriptor.Visitor
    • Field Summary

      • Fields inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor

        children
    • Constructor Summary

      Constructors 
      Constructor Description
      FieldTestDescriptor​(org.junit.platform.engine.UniqueId uniqueId, java.lang.Class<?> javaClass, java.lang.reflect.Field javaField)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.junit.platform.engine.TestDescriptor.Type getType()  
      void test​(org.junit.platform.engine.EngineExecutionListener listener)  
      • Methods inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor

        addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getTags, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.junit.platform.engine.TestDescriptor

        accept, getDescendants, getLegacyReportingName, isContainer, isRoot, isTest, mayRegisterTests, prune
    • Constructor Detail

      • FieldTestDescriptor

        public FieldTestDescriptor​(org.junit.platform.engine.UniqueId uniqueId,
                                   java.lang.Class<?> javaClass,
                                   java.lang.reflect.Field javaField)
    • Method Detail

      • test

        public void test​(org.junit.platform.engine.EngineExecutionListener listener)
        Specified by:
        test in interface Testable
      • getType

        public org.junit.platform.engine.TestDescriptor.Type getType()
        Specified by:
        getType in interface org.junit.platform.engine.TestDescriptor