Clover coverage report -
Coverage timestamp: Sat Jul 7 2007 16:41:13 CEST
file stats: LOC: 56   Methods: 0
NCLOC: 9   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ITestCompletionListener.java - - - -
coverage
 1    /**
 2    * JTRunner is free software; you can redistribute it and/or modify it under the
 3    * terms of the GNU General Public License as published by the Free Software
 4    * Foundation; either version 2, or (at your option) any later version.
 5    */
 6   
 7    package jtr.test;
 8   
 9    import jtr.assigner.IFactory;
 10    import jtr.remote.test.NodeInfo;
 11   
 12    /**
 13    * This interface defines the basic behavior of those classes meant for receiving
 14    * notification upon both local and remote tests completions.
 15    *
 16    * @author frusso
 17    * @version 4.0
 18    * @since 4.0
 19    */
 20    public interface ITestCompletionListener extends IFactory {
 21   
 22    /**
 23    * Notifies the completion of a JTR-test session coming form the given JTR-node.
 24    * @param node The JTR-node that produced the outcomes
 25    * @param outcome The results produced by the JTR-node
 26    */
 27    public void notifyTestCompletion(NodeInfo node, TestOutcomeTable outcome);
 28   
 29    /**
 30    * Adds a JTR-node to the set of nodes from which results are expected.
 31    * @param nodeInfo The that should produce results
 32    */
 33    public void addNode(NodeInfo nodeInfo);
 34   
 35    /**
 36    * This method causes this interface implementation to show a feedback to the
 37    * user, concerning the execution of the test.
 38    * @param epochs The number of epochs required by the test-suite
 39    * @param remoteNodesNumber The number of nodes involved in the JTR test-session
 40    * @param totalRuns The overall number of runs each epoch will consist of
 41    */
 42    public void provideFeedback(int epochs, int remoteNodesNumber, int totalRuns);
 43   
 44    /**
 45    * This method updates the feedback provided to the user as far as local epochs
 46    * completion is concerned.
 47    * @param startedLocalEpochs The number of started local epochs
 48    */
 49    public void updateLocalEpochs(int startedLocalEpochs);
 50   
 51    /**
 52    * This method updates the feedback provided to the user as far as local runs
 53    * completion is concerned.
 54    */
 55    public void updateLocalRuns();
 56    }