| org.apache.tools.ant.BuildFileTest org.apache.tools.ant.taskdefs.ParallelTest
ParallelTest | public class ParallelTest extends BuildFileTest (Code) | | Test of the parallel TaskContainer
|
DELAYED_MESSAGE | final public static String DELAYED_MESSAGE(Code) | | Standard property value for the basic and fail test
|
DIRECT_MESSAGE | final public static String DIRECT_MESSAGE(Code) | | Standard property value for the basic test
|
FAILURE_MESSAGE | final public static String FAILURE_MESSAGE(Code) | | Standard property value for the fail test
|
TEST_BUILD_FILE | final public static String TEST_BUILD_FILE(Code) | | the build fiel associated with this test
|
ParallelTest | public ParallelTest(String name)(Code) | | Constructor for the ParallelTest object
Parameters: name - name of the test |
countThreads | static int countThreads(String s, int start)(Code) | | the test result string should match the regex
^(\|\d+\/(+-)*)+\|$ for someting like
|3/++--+-|5/+++++-----|
throws: AssertionFailedException - when a constraint is invalid |
setUp | public void setUp()(Code) | | The JUnit setup method
|
testBasic | public void testBasic()(Code) | | tests basic operation of the parallel task
|
testDemux | public void testDemux()(Code) | | tests the demuxing of output streams in a multithreaded situation
|
testFail | public void testFail()(Code) | | tests the failure of a task within a parallel construction
|
testThreadCount | public void testThreadCount()(Code) | | tests basic operation of the parallel task
|
Methods inherited from org.apache.tools.ant.BuildFileTest | public void assertDebuglogContaining(String substring)(Code)(Java Doc) public void assertLogContaining(String substring)(Code)(Java Doc) public void assertOutputContaining(String substring)(Code)(Java Doc) public void assertPropertyEquals(String property, String value)(Code)(Java Doc) public void assertPropertySet(String property)(Code)(Java Doc) public void assertPropertyUnset(String property)(Code)(Java Doc) public void configureProject(String filename) throws BuildException(Code)(Java Doc) public void configureProject(String filename, int logLevel) throws BuildException(Code)(Java Doc) public void executeTarget(String targetName)(Code)(Java Doc) public void expectBuildException(String target, String cause)(Code)(Java Doc) public void expectBuildExceptionContaining(String target, String cause, String contains)(Code)(Java Doc) public void expectDebuglog(String target, String log)(Code)(Java Doc) public void expectLog(String target, String log)(Code)(Java Doc) public void expectLogContaining(String target, String log)(Code)(Java Doc) public void expectOutput(String target, String output)(Code)(Java Doc) public void expectOutputAndError(String target, String output, String error)(Code)(Java Doc) public void expectPropertySet(String target, String property, String value)(Code)(Java Doc) public void expectPropertySet(String target, String property)(Code)(Java Doc) public void expectPropertyUnset(String target, String property)(Code)(Java Doc) public void expectSpecificBuildException(String target, String cause, String msg)(Code)(Java Doc) public BuildException getBuildException()(Code)(Java Doc) public String getError()(Code)(Java Doc) public String getFullLog()(Code)(Java Doc) public String getLog()(Code)(Java Doc) public String getOutput()(Code)(Java Doc) public Project getProject()(Code)(Java Doc) public File getProjectDir()(Code)(Java Doc) public URL getResource(String resource)(Code)(Java Doc) protected void tearDown() throws Exception(Code)(Java Doc)
|
|
|