Class FromNodeFilterTest


  • public class FromNodeFilterTest
    extends AbstractAntTester
    Author:
    Christophe Labouisse
    • Constructor Detail

      • FromNodeFilterTest

        public FromNodeFilterTest()
    • Method Detail

      • setUp

        public final void setUp()
        Method setUp.
      • testConnectedStartNode

        public final void testConnectedStartNode()
                                          throws net.ggtools.grand.exceptions.GrandException
        Process log4j 1.2.8 build.xml and from the "build" node and check if we get what we want.
        Throws:
        net.ggtools.grand.exceptions.GrandException - if GraphProducer.getGraph() fails
      • testNotFilteredStartNode

        public final void testNotFilteredStartNode()
                                            throws net.ggtools.grand.exceptions.GrandException
        Process a modified version of log4j 1.2.8 build.xml featuring the "build" target as default. Check if the project start node has not been filtered out.
        Throws:
        net.ggtools.grand.exceptions.GrandException - if GraphProducer.getGraph() fails
      • testNonExistentNode

        public final void testNonExistentNode()
                                       throws net.ggtools.grand.exceptions.GrandException
        Process the build file, trying to filter from an non existent node.
        Throws:
        net.ggtools.grand.exceptions.GrandException - if GraphProducer.getGraph() fails