Coverage Report - com.aragost.javahg.commands.BisectCommand
 
Classes in this File Line Coverage Branch Coverage Complexity
BisectCommand
100%
4/4
N/A
1
 
 1  
 package com.aragost.javahg.commands;
 2  
 
 3  
 import java.io.IOException;
 4  
 
 5  
 import com.aragost.javahg.Repository;
 6  
 import com.aragost.javahg.commands.flags.BisectCommandFlags;
 7  
 
 8  
 public class BisectCommand extends BisectCommandFlags {
 9  
 
 10  
     public BisectCommand(Repository repository) {
 11  4
         super(repository);
 12  4
     }
 13  
 
 14  
     /**
 15  
      * Run <tt>hg bisect</tt>.
 16  
      * 
 17  
      * @throws IOException
 18  
      */
 19  
     public BisectResult execute()  {
 20  3
         return new BisectResult(launchString());
 21  
     }
 22  
 
 23  
     /**
 24  
      * Run <tt>hg bisect</tt>.
 25  
      * 
 26  
      * @throws IOException
 27  
      */
 28  
     public BisectResult execute(String rev)  {
 29  1
         return new BisectResult(launchString(rev));
 30  
     }
 31  
 }