Package net.ggtools.grand.filters
Class ConnectedToNodeFilterTest
- java.lang.Object
-
- org.apache.tools.ant.BuildFileTest
-
- net.ggtools.grand.utils.AbstractAntTester
-
- net.ggtools.grand.filters.ConnectedToNodeFilterTest
-
public class ConnectedToNodeFilterTest extends AbstractAntTester
- Author:
- Christophe Labouisse
-
-
Field Summary
-
Fields inherited from class net.ggtools.grand.utils.AbstractAntTester
JUNIT_TEST_NAME, TEMP_FILE_PROP, TESTCASES_DIR, watchman
-
Fields inherited from class org.apache.tools.ant.BuildFileTest
project
-
-
Constructor Summary
Constructors Constructor Description ConnectedToNodeFilterTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()Method setUp.voidtestConnectedStartNode()Process build-complex.xml to find the nodes connected to jar.voidtestNonExistentNode()Process the build file, trying to filter from an non existent node.-
Methods inherited from class net.ggtools.grand.utils.AbstractAntTester
assertFullLogContaining, assertTempFileMatchExpected, expectFullLogContaining
-
Methods inherited from class org.apache.tools.ant.BuildFileTest
assertLogContaining, assertPropertyEquals, assertPropertySet, assertPropertyUnset, configureProject, configureProject, executeTarget, expectBuildException, expectBuildExceptionContaining, expectDebuglog, expectLog, expectLogContaining, expectOutput, expectOutputAndError, expectPropertySet, expectPropertySet, expectPropertyUnset, expectSpecificBuildException, getBuildException, getError, getFullLog, getLog, getOutput, getProject, getProjectDir, getResource
-
-
-
-
Method Detail
-
setUp
public final void setUp()
Method setUp.
-
testConnectedStartNode
public final void testConnectedStartNode() throws net.ggtools.grand.exceptions.GrandExceptionProcess build-complex.xml to find the nodes connected to jar.- Throws:
net.ggtools.grand.exceptions.GrandException- ifGraphProducer.getGraph()fails
-
testNonExistentNode
public final void testNonExistentNode() throws net.ggtools.grand.exceptions.GrandExceptionProcess the build file, trying to filter from an non existent node.- Throws:
net.ggtools.grand.exceptions.GrandException- ifGraphProducer.getGraph()fails
-
-