junit.quilt.cover.ball94
Class B94Collector

java.lang.Object
  |
  +--junit.quilt.framework.QuiltCollectorImpl
        |
        +--junit.quilt.cover.ball94.B94Collector
All Implemented Interfaces:
QuiltCollector

public class B94Collector
extends QuiltCollectorImpl


Fields inherited from interface junit.quilt.framework.QuiltCollector
BRANCH_COVERAGE, LOOP_COVERAGE, PATH_COVERAGE, RELATIONAL_COVERAGE, STATEMENT_COVERAGE
 
Constructor Summary
B94Collector(java.util.List vertices, java.util.List edges, cern.colt.matrix.DoubleMatrix2D edgeMatrix, int[] stats)
          Create a new collector for the particular graph.
 
Method Summary
 java.util.Set getAll(java.lang.String coverage)
          getAll - Returns the set of all CoverageSegments for a particular coverage.
 java.util.Set getBranchCoverage()
           
 void reset()
          reset This method is called when the coverage should be reset.
 
Methods inherited from class junit.quilt.framework.QuiltCollectorImpl
addSegment, findCovered, findUncovered, getCapabilities, getCovered, getSummary, getUncovered, removeSegment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

B94Collector

public B94Collector(java.util.List vertices,
                    java.util.List edges,
                    cern.colt.matrix.DoubleMatrix2D edgeMatrix,
                    int[] stats)
Create a new collector for the particular graph. The matrix provided is in the format: e0 e1 e2 ... eE i0 i1 . . iI v0 v1 . . vV This is why Lists are passed around, and not Sets.
Method Detail

getBranchCoverage

public java.util.Set getBranchCoverage()

getAll

public java.util.Set getAll(java.lang.String coverage)
Description copied from class: QuiltCollectorImpl
getAll - Returns the set of all CoverageSegments for a particular coverage. It is possible that the coverage segments returned can change from call to call. (Ball94 overrides this method, because it is difficult to seperate the values.)
Overrides:
getAll in class QuiltCollectorImpl
Following copied from interface: junit.quilt.framework.QuiltCollector
Parameters:
coverage - is defined in this interface or it can be something else if it is not coded here.

reset

public void reset()
Description copied from interface: QuiltCollector
reset This method is called when the coverage should be reset.


Copyright © 2001-2002 David Dixon-Peugh. All Rights Reserved.