Coverage Report - net.sourceforge.combean.test.graph.alg.partition.TestSCCByDoubleDFSImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
TestSCCByDoubleDFSImpl
85%
11/13
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 24.03.2005
 20  
  *
 21  
  */
 22  
 package net.sourceforge.combean.test.graph.alg.partition;
 23  
 
 24  
 import net.sourceforge.combean.graph.alg.partition.AbstractSCCImpl;
 25  
 import net.sourceforge.combean.graph.alg.partition.SCCByDoubleDFSImpl;
 26  
 
 27  
 /**
 28  
  * @author schickin
 29  
  *
 30  
  */
 31  
 public class TestSCCByDoubleDFSImpl extends AbstractTestSCCImpl {
 32  
     
 33  12
     private SCCByDoubleDFSImpl sccAlg = null;
 34  
 
 35  
     public static void main(String[] args) {
 36  0
         junit.textui.TestRunner.run(TestSCCByDoubleDFSImpl.class);
 37  0
     }
 38  
 
 39  
     /*
 40  
      * @see AbstractTestSCCImpl#setUp()
 41  
      */
 42  
     protected void setUp() throws Exception {
 43  12
         super.setUp();
 44  
         
 45  12
         this.sccAlg = new SCCByDoubleDFSImpl();
 46  12
    }
 47  
 
 48  
     /*
 49  
      * @see AbstractTestSCCImpl#tearDown()
 50  
      */
 51  
     protected void tearDown() throws Exception {
 52  12
         super.tearDown();
 53  12
     }
 54  
 
 55  
     /**
 56  
      * Constructor for TestSCCByDoubleDFSImpl.
 57  
      * @param name
 58  
      */
 59  
     public TestSCCByDoubleDFSImpl(String name) {
 60  12
         super(name);
 61  12
     }
 62  
 
 63  
     /* (non-Javadoc)
 64  
      * @see net.sourceforge.combean.test.graph.alg.partition.AbstractTestSCCImpl#getSCCAlg()
 65  
      */
 66  
     protected AbstractSCCImpl getSCCAlg() {
 67  48
          return this.sccAlg;
 68  
     }
 69  
     
 70  
     /* (non-Javadoc)
 71  
      * just a dummy such that eclipse automatically executes that test case
 72  
      * 
 73  
      * @see net.sourceforge.combean.test.graph.alg.partition.AbstractTestSCCImpl#testSCCInPath()
 74  
      */
 75  
     public void testSCCInPath() {
 76  3
          super.testSCCInPath();
 77  3
     }
 78  
 }