Coverage Report - org.jscsi.target.example.MethodStart
 
Classes in this File Line Coverage Branch Coverage Complexity
MethodStart
0%
0/7
N/A
1
 
 1  
 package org.jscsi.target.example;
 2  
 
 3  
 
 4  
 import java.io.File;
 5  
 
 6  
 import org.jscsi.target.Configuration;
 7  
 import org.jscsi.target.TargetServer;
 8  
 
 9  
 
 10  0
 public class MethodStart {
 11  
 
 12  0
     private static File CONFIGPATH = Configuration.CONFIGURATION_CONFIG_FILE;
 13  
 
 14  
     public static void main (final String[] args) throws Exception {
 15  
         // Getting the config path
 16  0
         final File configFile = CONFIGPATH;
 17  
         // Creating the Configuration
 18  0
         final Configuration config = Configuration.create(Configuration.CONFIGURATION_SCHEMA_FILE, configFile, "");
 19  
         // Starting the Target
 20  0
         final TargetServer target = new TargetServer(config);
 21  0
         target.call();
 22  0
     }
 23  
 
 24  
 }