net.sourceforge.groboutils.codecoverage.v2.logger
Class MinDirChannelLogger

java.lang.Object
  extended bynet.sourceforge.groboutils.codecoverage.v2.logger.DirectoryChannelLogger
      extended bynet.sourceforge.groboutils.codecoverage.v2.logger.MinDirChannelLogger
All Implemented Interfaces:
IChannelLogger

public class MinDirChannelLogger
extends DirectoryChannelLogger

Same as the DirectoryChannelLogger, but includes a JDK 1.2 optimization to minimize the size of the log files.

Since:
December 3, 2003
Version:
$Date: 2004/07/07 09:39:10 $
Author:
Matt Albrecht groboclown@users.sourceforge.net, Graf Leonardo leolegenie@hotmail.com

Field Summary
 
Fields inherited from class net.sourceforge.groboutils.codecoverage.v2.logger.DirectoryChannelLogger
baseDir, CLASS_LOG_EXTENTION
 
Constructor Summary
MinDirChannelLogger(java.io.File baseDir)
           
 
Method Summary
 void cover(java.lang.String classSignature, short methodIndex, short markIndex)
          Records a coverage of a marked bytecode instruction.
 
Methods inherited from class net.sourceforge.groboutils.codecoverage.v2.logger.DirectoryChannelLogger
createCoverString, getClassFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinDirChannelLogger

public MinDirChannelLogger(java.io.File baseDir)
Method Detail

cover

public void cover(java.lang.String classSignature,
                  short methodIndex,
                  short markIndex)
Records a coverage of a marked bytecode instruction. This method should never throw an exception.

Specified by:
cover in interface IChannelLogger
Overrides:
cover in class DirectoryChannelLogger
Parameters:
classSignature - a signature of the class file being covered. this signature includes the fully-qualified name of the class, along with a checksum to uniquely identify it.
methodIndex - index for a method within the class. The meta-data store will know how to translate the index to a method signature.
markIndex - the index of the bytecode instruction mark for this particular channel.


Copyright © 2001-2003 by The GroboUtils Project