Coverage Report - net.sourceforge.combean.test.graph.alg.traversal.TestBreadthFirstSearchImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
TestBreadthFirstSearchImpl
83%
10/12
N/A
1
 
 1  
 /*
 2  
     This file is part of Combean.
 3  
 
 4  
     Combean is free software; you can redistribute it and/or modify
 5  
     it under the terms of the GNU General Public License as published by
 6  
     the Free Software Foundation; either version 2 of the License, or
 7  
     (at your option) any later version.
 8  
 
 9  
     Combean is distributed in the hope that it will be useful,
 10  
     but WITHOUT ANY WARRANTY; without even the implied warranty of
 11  
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 12  
     GNU General Public License for more details.
 13  
 
 14  
     You should have received a copy of the GNU General Public License
 15  
     along with Combean; if not, write to the Free Software
 16  
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 17  
 */
 18  
 /*
 19  
  * Created on 20.08.2005
 20  
  *
 21  
  */
 22  
 package net.sourceforge.combean.test.graph.alg.traversal;
 23  
 
 24  
 import net.sourceforge.combean.graph.alg.traversal.AbstractGraphTraversalAlg;
 25  
 import net.sourceforge.combean.graph.alg.traversal.BreadthFirstSearchImpl;
 26  
 
 27  
 /**
 28  
  * @author schickin
 29  
  *
 30  
  */
 31  
 public class TestBreadthFirstSearchImpl extends AbstractTestGraphTraversalAlg {
 32  
 
 33  
     public static void main(String[] args) {
 34  0
         junit.textui.TestRunner.run(TestBreadthFirstSearchImpl.class);
 35  0
     }
 36  
 
 37  
     /*
 38  
      * @see AbstractTestGraphTraversalAlg#setUp()
 39  
      */
 40  
     protected void setUp() throws Exception {
 41  15
         super.setUp();
 42  15
     }
 43  
 
 44  
     /*
 45  
      * @see AbstractTestGraphTraversalAlg#tearDown()
 46  
      */
 47  
     protected void tearDown() throws Exception {
 48  15
         super.tearDown();
 49  15
     }
 50  
 
 51  
     /**
 52  
      * Constructor for TestBreadthFirstSearchImpl.
 53  
      * @param name
 54  
      */
 55  
     public TestBreadthFirstSearchImpl(String name) {
 56  15
         super(name);
 57  15
     }
 58  
 
 59  
     /* (non-Javadoc)
 60  
      * @see net.sourceforge.combean.test.graph.alg.traversal.AbstractTestGraphTraversalAlg#createTraversalAlg()
 61  
      */
 62  
     protected AbstractGraphTraversalAlg createTraversalAlg() {
 63  15
          BreadthFirstSearchImpl bfsAlg = new BreadthFirstSearchImpl();
 64  15
          return bfsAlg;
 65  
     }
 66  
 
 67  
     /* just a dummy such that eclipse automatically executes the test cases
 68  
      * in the super class
 69  
      * @see net.sourceforge.combean.test.graph.alg.traversal.AbstractTestGraphTraversalAlg#testGetAndSetGraph()
 70  
      */
 71  
     public void testGetAndSetGraph() {
 72  3
          super.testGetAndSetGraph();
 73  3
     }
 74  
 }