Class IsolatedNodeFilterTest


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

      • IsolatedNodeFilterTest

        public IsolatedNodeFilterTest()
    • 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 - if GraphProducer.getGraph() fails
      • testFilter

        public final void testFilter()
                              throws net.ggtools.grand.exceptions.GrandException
        Process the full graph through an IsolatedNodeFilter and check the remaining nodes. This test includes removing the project's start node.
        Throws:
        net.ggtools.grand.exceptions.GrandException - if GraphProducer.getGraph() fails
      • testConnectedStartNode

        public final void testConnectedStartNode()
                                          throws net.ggtools.grand.exceptions.GrandException
        Process the full graph through an IsolatedNodeFilter and check that a connected node as start node is not removed.
        Throws:
        net.ggtools.grand.exceptions.GrandException - if GraphProducer.getGraph() fails