java.lang.Object
org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
org.saynotobugs.confidence.junit5.engine.testengine.testdescriptor.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, Class<?> javaClass, Optional<com.github.javaparser.ast.CompilationUnit> testSource, Field javaField)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.junit.platform.engine.TestDescriptor.Type
     
    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, getAncestors, getDescendants, getLegacyReportingName, isContainer, isRoot, isTest, mayRegisterTests, prune
  • Constructor Details

    • FieldTestDescriptor

      public FieldTestDescriptor(org.junit.platform.engine.UniqueId uniqueId, Class<?> javaClass, Optional<com.github.javaparser.ast.CompilationUnit> testSource, Field javaField)
  • Method Details

    • 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