Coverage report

  %line %branch
nl.toolforge.karma.core.module.LocationModule
0% 
0% 

 1  
 /*
 2  
 Karma core - Core of the Karma application
 3  
 Copyright (C) 2004  Toolforge <www.toolforge.nl>
 4  
 
 5  
 This library is free software; you can redistribute it and/or
 6  
 modify it under the terms of the GNU Lesser General Public
 7  
 License as published by the Free Software Foundation; either
 8  
 version 2.1 of the License, or (at your option) any later version.
 9  
 
 10  
 This library is distributed in the hope that it will be useful,
 11  
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 12  
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 13  
 Lesser General Public License for more details.
 14  
 
 15  
 You should have received a copy of the GNU Lesser General Public
 16  
 License along with this library; if not, write to the Free Software
 17  
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 18  
 */
 19  
 package nl.toolforge.karma.core.module;
 20  
 
 21  
 import nl.toolforge.karma.core.KarmaRuntimeException;
 22  
 import nl.toolforge.karma.core.Version;
 23  
 import nl.toolforge.karma.core.location.Location;
 24  
 import nl.toolforge.karma.core.manifest.util.ModuleLayoutTemplate;
 25  
 import nl.toolforge.karma.core.vc.AuthenticationException;
 26  
 import nl.toolforge.karma.core.vc.Authenticator;
 27  
 import nl.toolforge.karma.core.vc.DevelopmentLine;
 28  
 import nl.toolforge.karma.core.vc.VersionControlException;
 29  
 
 30  
 import java.util.Set;
 31  
 
 32  
 /**
 33  
  * 
 34  
  *
 35  
  * @author D.A. Smedes
 36  
  * @version $Id: LocationModule.java,v 1.5 2004/11/02 23:57:07 asmedes Exp $
 37  
  */
 38  
 public class LocationModule extends AdminModule {
 39  
 
 40  
   public LocationModule(String moduleName, Location location) {
 41  0
     super(moduleName, location);
 42  0
   }
 43  
 
 44  
 
 45  
   public ModuleLayoutTemplate getLayoutTemplate() {
 46  0
    throw new KarmaRuntimeException("To be implemented ...");
 47  
   }
 48  
 
 49  
 
 50  
   public void createRemote(Authenticator authenticator, String createComment) throws VersionControlException, AuthenticationException {
 51  
 
 52  0
   }
 53  
 
 54  
 
 55  
 
 56  
 
 57  
 
 58  
 
 59  
 
 60  
 
 61  
 
 62  
 
 63  
 
 64  
   // Should be removed after Module is better ......
 65  
 
 66  
 
 67  
 
 68  
 
 69  
   public Type getType() {
 70  0
     return null;
 71  
   }
 72  
 
 73  
   public DevelopmentLine getPatchLine() {
 74  0
     return null;
 75  
   }
 76  
 
 77  
   public void markPatchLine(boolean mark) {
 78  
 
 79  0
   }
 80  
 
 81  
   public boolean hasPatchLine() {
 82  0
     return false;
 83  
   }
 84  
 
 85  
   public boolean hasDevelopmentLine() {
 86  0
     return false;
 87  
   }
 88  
 
 89  
   public void markDevelopmentLine(boolean mark) {
 90  
 
 91  0
   }
 92  
 
 93  
   public Version getVersion() {
 94  0
     return null;
 95  
   }
 96  
 
 97  
   public String getVersionAsString() {
 98  0
     return null;
 99  
   }
 100  
 
 101  
   public boolean hasVersion() {
 102  0
     return false;
 103  
   }
 104  
 
 105  
   public Set getDependencies() {
 106  0
     return null;
 107  
   }
 108  
 
 109  
   public void create() {
 110  
 
 111  0
   }
 112  
 
 113  
   public void createRemote(String createComment) throws VersionControlException {
 114  
 
 115  0
   }
 116  
 }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.