A B E G J N P S T

A

assertBuildExceptionContains(String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Checks that the message of the last thrown exception has the specified value as a substring.
assertBuildExceptionEquals(String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Checks that the message of the last thrown exception has the specified value.
assertErrorContains(String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Checks that the captured standard error has the specified value as a substring.
assertErrorEquals(String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Checks that the captured standard error has the specified content.
assertLogContains(String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Checks that the captured log has the specified value as a substring.
assertLogEquals(String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Checks that the captured log has the specified content.
assertOutputContains(String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Checks that the captured standard output has the specified value as a substring.
assertOutputEquals(String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Checks that the captured standard output has the specified content.
assertPropertyContains(String, String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Checks that the property has the specified value as a substring.
assertPropertyEquals(String, String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Checks that the property has the specified value.
assertPropertyFalse(String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Checks that the property has been set to false.
assertPropertyTrue(String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Checks that the property has been set to true.
assertPropertyUnset(String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Checks that the property has never been set.

B

BuildFileTestBase - Class in prantl.ant.eclipse
Simplifies testing of an ant task with a prepared build file automating the task execution and providing content of the log, standard output and error and an eventual exception.
BuildFileTestBase(String) - Constructor for class prantl.ant.eclipse.BuildFileTestBase
Passes the construction of a new instance of the test fixture from the descendant to the ancestor.

E

EclipseTaskTest - Class in prantl.ant.eclipse
Test fixture with unit test cases for the class EclipseTask.
EclipseTaskTest() - Constructor for class prantl.ant.eclipse.EclipseTaskTest
Creates a new instance of the test fixture.
executeFailingTarget(String, String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Executes the specified target expecting an exception to be thrown during the run.
executeTarget(String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Executes the specified target expecting a successful run.

G

getBuildException() - Method in class prantl.ant.eclipse.BuildFileTestBase
Gets the most recently thrown exception instance or null if there has been none thrown (the task execution was successful).
getError() - Method in class prantl.ant.eclipse.BuildFileTestBase
Gets the most recent standard error or null if there has been none written yet.
getLog() - Method in class prantl.ant.eclipse.BuildFileTestBase
Gets the most recent log or null if there has been none written yet.
getOutput() - Method in class prantl.ant.eclipse.BuildFileTestBase
Gets the most recent standard output or null if there has been none written yet.
getProject() - Method in class prantl.ant.eclipse.BuildFileTestBase
Gets the project, which has been most recently initialized or null if there has been none yet.

J

join(String[], String) - Static method in class prantl.ant.eclipse.EclipseTaskTest
Splits the input array into a string using the specified delimiter.

N

normalizeEolns(StringBuffer) - Method in class prantl.ant.eclipse.BuildFileTestBase
Returns a new string copy with all possible forms of an end-of-line delimiter made of carriage-return and/or line-feed (\r, \n, \r\n) replaced by a single line-feed character (\n).

P

parseBuildFile(String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Initializes a new project from the specified build file capturing selected traces.
parseInvalidBuildFile(String, String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Initializes a new project from the specified build file capturing selected traces and expecting an exception to be thrown during the parsing.
prantl.ant.eclipse - package prantl.ant.eclipse
 

S

setLogLevel(int) - Method in class prantl.ant.eclipse.BuildFileTestBase
Sets the maximum log level of messages to be captured.
setTargetName(String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Sets the name of the target, which traces only will be captured.
setTaskName(String) - Method in class prantl.ant.eclipse.BuildFileTestBase
Sets the name of the task, which traces only will be captured.
split(String, String) - Static method in class prantl.ant.eclipse.EclipseTaskTest
Splits the input string into an array of strings using the specified delimiter.

T

testExecuteWithEmptyEclipseElement() - Method in class prantl.ant.eclipse.EclipseTaskTest
Tests executing the task with the following configuration: <eclipse />
testExecuteWithEmptyProjectElement() - Method in class prantl.ant.eclipse.EclipseTaskTest
Tests executing the task with the following configuration: <eclipse> <project /> </eclipse>
testExecuteWithProjectElementWithName() - Method in class prantl.ant.eclipse.EclipseTaskTest
Tests executing the task with the following configuration: <eclipse> <project /> </eclipse>
testExecuteWithSettingsElementWithVersionAndEncoding() - Method in class prantl.ant.eclipse.EclipseTaskTest
Tests executing the task with the following configuration: <eclipse> <settings> <resources version="2" encoding="UTF-8" /> </settings> </eclipse>

A B E G J N P S T