Class TestDefinition

  • Direct Known Subclasses:
    SingleTestClass, TestClasses

    public abstract class TestDefinition
    extends java.lang.Object
    Represents the configuration details of a test that needs to be launched by the JUnitLauncherTask
    • Field Detail

      • ifProperty

        protected java.lang.String ifProperty
      • unlessProperty

        protected java.lang.String unlessProperty
      • haltOnFailure

        protected java.lang.Boolean haltOnFailure
      • failureProperty

        protected java.lang.String failureProperty
      • outputDir

        protected java.lang.String outputDir
      • includeEngines

        protected java.lang.String includeEngines
      • excludeEngines

        protected java.lang.String excludeEngines
    • Constructor Detail

      • TestDefinition

        public TestDefinition()
    • Method Detail

      • setIf

        public void setIf​(java.lang.String ifProperty)
      • setUnless

        public void setUnless​(java.lang.String unlessProperty)
      • isHaltOnFailure

        public boolean isHaltOnFailure()
      • setHaltOnFailure

        public void setHaltOnFailure​(boolean haltonfailure)
      • getFailureProperty

        public java.lang.String getFailureProperty()
      • setFailureProperty

        public void setFailureProperty​(java.lang.String failureProperty)
      • addConfiguredListener

        public void addConfiguredListener​(ListenerDefinition listener)
      • setOutputDir

        public void setOutputDir​(java.lang.String dir)
      • getOutputDir

        public java.lang.String getOutputDir()
      • shouldRun

        protected boolean shouldRun​(Project project)
      • getIncludeEngines

        public java.lang.String[] getIncludeEngines()
      • setIncludeEngines

        public void setIncludeEngines​(java.lang.String includeEngines)
      • getExcludeEngines

        public java.lang.String[] getExcludeEngines()
      • setExcludeEngines

        public void setExcludeEngines​(java.lang.String excludeEngines)
      • toForkedRepresentation

        protected abstract void toForkedRepresentation​(JUnitLauncherTask task,