Package net.ggtools.grand.filters
Class MissingNodeFilterTest
- java.lang.Object
-
- org.apache.tools.ant.BuildFileTest
-
- net.ggtools.grand.utils.AbstractAntTester
-
- net.ggtools.grand.filters.MissingNodeFilterTest
-
public class MissingNodeFilterTest 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 MissingNodeFilterTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
Method setUp.void
testFilter()
Process the full graph through an MissingNodeFilter and check the remaining nodes.void
testFullGraph()
Check the full graph completeness.-
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.
-
testFullGraph
public final void testFullGraph() throws net.ggtools.grand.exceptions.GrandException
Check the full graph completeness.- Throws:
net.ggtools.grand.exceptions.GrandException
- ifGraphProducer.getGraph()
fails
-
testFilter
public final void testFilter() throws net.ggtools.grand.exceptions.GrandException
Process the full graph through an MissingNodeFilter and check the remaining nodes. This test includes removing the project's start node.- Throws:
net.ggtools.grand.exceptions.GrandException
- ifGraphProducer.getGraph()
fails
-
-