Class FailureAntUnitListener.TestInfos

  • All Implemented Interfaces:
    java.lang.Comparable
    Enclosing class:
    FailureAntUnitListener

    public class FailureAntUnitListener.TestInfos
    extends java.lang.Object
    implements java.lang.Comparable
    Class for collecting needed information about failed tests.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String buildfile
      The buildfile of the project.
      (package private) java.lang.String errorMessage
      The error message which was shown.
      (package private) boolean projectHasSetup
      Does the project has a setUp target?
      (package private) boolean projectHasTearDown
      Does the project has a tearDown target?
      (package private) java.lang.String target
      The called target.
    • Constructor Summary

      Constructors 
      Constructor Description
      TestInfos​(org.apache.tools.ant.Project project, java.lang.String buildfile, java.lang.String target, java.lang.String errorMessage)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(java.lang.Object other)  
      java.lang.String toString()
      Creates an <ant> call according to the stored information.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • projectHasSetup

        boolean projectHasSetup
        Does the project has a setUp target?
      • projectHasTearDown

        boolean projectHasTearDown
        Does the project has a tearDown target?
      • target

        java.lang.String target
        The called target.
      • buildfile

        java.lang.String buildfile
        The buildfile of the project.
      • errorMessage

        java.lang.String errorMessage
        The error message which was shown.
    • Constructor Detail

      • TestInfos

        public TestInfos​(org.apache.tools.ant.Project project,
                         java.lang.String buildfile,
                         java.lang.String target,
                         java.lang.String errorMessage)
    • Method Detail

      • toString

        public java.lang.String toString()
        Creates an <ant> call according to the stored information.
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • compareTo

        public int compareTo​(java.lang.Object other)
        Specified by:
        compareTo in interface java.lang.Comparable