fr.inria.peerunit
Interface Tester

All Superinterfaces:
java.rmi.Remote, StorageTester
All Known Implementing Classes:
AbstractTester, DistributedTesterImpl, TesterImpl

public interface Tester
extends java.rmi.Remote, StorageTester

This interface represent a tester/i>. A tester is a component who control a peer to test and executes on him the actions of a test case.

Since:
1.0
Version:
1.0
Author:
Eduardo Almeida, Aboubakar Koita
See Also:
TesterImpl, fr.inria.peerunit.tree.TreeTesterImpl

Method Summary
 void execute(MethodDescription m)
          Execute a test case action thanks to it description.
 int getId()
          Return the tester's id.
 void kill()
          Stop the tester.
 void setCoordinator(Coordinator coord)
          Sets the coordinator for this tester.
 void start()
           
 
Methods inherited from interface fr.inria.peerunit.StorageTester
clear, containsKey, get, getCollection, put
 

Method Detail

setCoordinator

void setCoordinator(Coordinator coord)
                    throws java.rmi.RemoteException
Sets the coordinator for this tester.

Parameters:
coord -
Throws:
java.rmi.RemoteException

execute

void execute(MethodDescription m)
             throws java.rmi.RemoteException
Execute a test case action thanks to it description.

Parameters:
m - is a instance of MathodDescription class containing all informations allowing the correct execution of the test case action that it describes.
Throws:
java.rmi.RemoteException - because the method is distant

getId

int getId()
          throws java.rmi.RemoteException
Return the tester's id.

Throws:
java.rmi.RemoteException

kill

void kill()
          throws java.rmi.RemoteException
Stop the tester.

Throws:
java.rmi.RemoteException

start

void start()
           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException


Copyright © 2010. All Rights Reserved.