Klasse LogContains
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.ant.antunit.LogContains
- Alle implementierten Schnittstellen:
Cloneable, org.apache.tools.ant.taskdefs.condition.Condition
public class LogContains
extends org.apache.tools.ant.ProjectComponent
implements org.apache.tools.ant.taskdefs.condition.Condition
A condition that tests the log output of the current project for a
given string.
Works in conjunction with LogCapturer and
needs the context provided by AntUnit.
-
Feldübersicht
Von Klasse geerbte Felder org.apache.tools.ant.ProjectComponent
description, location, project -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungbooleaneval()voidsetLevel(org.apache.tools.ant.taskdefs.Echo.EchoLevel echoLevel) minimal log priority to consult.voidsetMergeLines(boolean b) Whether to merge messages into a single line or split them into multiple lines.voidTest the log shall contain.Von Klasse geerbte Methoden org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
-
Konstruktordetails
-
LogContains
public LogContains()
-
-
Methodendetails
-
setText
-
setLevel
public void setLevel(org.apache.tools.ant.taskdefs.Echo.EchoLevel echoLevel) minimal log priority to consult.- Parameter:
echoLevel- minimal log priority
-
setMergeLines
public void setMergeLines(boolean b) Whether to merge messages into a single line or split them into multiple lines.- Parameter:
b- whether to merge messages into a single line- Seit:
- AntUnit 1.3
-
eval
public boolean eval()- Angegeben von:
evalin Schnittstelleorg.apache.tools.ant.taskdefs.condition.Condition
-