A B C D E F G H I K L M N O P Q R S T U V W

A

AbstractTester - Class in fr.inria.peerunit.base
 
AbstractTester() - Constructor for class fr.inria.peerunit.base.AbstractTester
No arguments constructor.
AbstractTester(GlobalVariables) - Constructor for class fr.inria.peerunit.base.AbstractTester
 
action2() - Method in class test.SimpleTest
 
action3() - Method in class test.SimpleTest
 
action4() - Method in class test.SimpleTest
 
action5() - Method in class test.SimpleTest
 
action6() - Method in class test.SimpleTest
 
action7() - Method in class test.SimpleTest
 
add(ResultSet) - Method in class fr.inria.peerunit.base.ResultSet
 
add(SingleResult) - Method in class fr.inria.peerunit.base.ResultSet
 
addError(Throwable) - Method in class fr.inria.peerunit.base.SingleResult
 
addFailure(AssertionError) - Method in class fr.inria.peerunit.base.SingleResult
 
addInconclusive(Throwable) - Method in class fr.inria.peerunit.base.SingleResult
 
addLocalVerdict(Verdicts) - Method in class fr.inria.peerunit.test.oracle.GlobalVerdict
Calculates the global verdict of a test suit.
AfterClass - Annotation Type in fr.inria.peerunit.parser
Meta-annotation Retention indicate that this annotation must be retained in runtime Meta-annotation Target indicates that this annotation type can be used to annotate only method declarations.
AfterClassMethod - Class in fr.inria.peerunit.parser
 
AfterClassMethod(Method) - Constructor for class fr.inria.peerunit.parser.AfterClassMethod
 
ALL - Static variable in class fr.inria.peerunit.base.Range
 
AnnotationFailure - Error in fr.inria.peerunit.exception
 
AnnotationFailure(String) - Constructor for error fr.inria.peerunit.exception.AnnotationFailure
 
areInSameNet(String, String) - Static method in class fr.inria.peerunit.util.Util
 
asResultSet() - Method in class fr.inria.peerunit.base.SingleResult
 
Assert - Class in fr.inria.peerunit.test.assertion
 
Assert() - Constructor for class fr.inria.peerunit.test.assertion.Assert
 
assertEquals(String, Object, Object) - Static method in class fr.inria.peerunit.test.assertion.Assert
Asserts that two objects are equal.
assertEquals(Object, Object) - Static method in class fr.inria.peerunit.test.assertion.Assert
Asserts that two objects are equal.
assertListEquals(String, List<?>, List<?>) - Static method in class fr.inria.peerunit.test.assertion.Assert
Asserts that two lists are the same.
assertListEquals(List<?>, List<?>) - Static method in class fr.inria.peerunit.test.assertion.Assert
 
assertTrue(String, boolean) - Static method in class fr.inria.peerunit.test.assertion.Assert
Asserts that a condition is true.
assertTrue(boolean) - Static method in class fr.inria.peerunit.test.assertion.Assert
Asserts that a condition is true.

B

BeforeClass - Annotation Type in fr.inria.peerunit.parser
Meta-annotation Retention indicate that this annotation must be retained in runtime Meta-annotation Target indicates that this annotation type can be used to annotate only method declarations.
BeforeClassMethod - Class in fr.inria.peerunit.parser
 
BeforeClassMethod(Method) - Constructor for class fr.inria.peerunit.parser.BeforeClassMethod
 
begin() - Method in class test.SimpleTest
This method starts the test
bindGlobals() - Method in class fr.inria.peerunit.CoordinatorRunner
Bind the remote object's stub in the registry
Bootstrapper - Interface in fr.inria.peerunit
 
BootstrapperImpl - Class in fr.inria.peerunit.btree
 
BootstrapperImpl(TesterUtil) - Constructor for class fr.inria.peerunit.btree.BootstrapperImpl
 
buildTree() - Method in class fr.inria.peerunit.btreeStrategy.ConcreteBtreeStrategy
 
buildTree() - Method in interface fr.inria.peerunit.btreeStrategy.TreeStrategy
 

C

children() - Method in interface fr.inria.peerunit.util.HNode
 
cleanAndUnbind() - Method in class fr.inria.peerunit.CoordinatorRunner
 
cleanUp() - Method in class fr.inria.peerunit.btreeStrategy.ConcreteBtreeStrategy
 
cleanUp() - Method in interface fr.inria.peerunit.btreeStrategy.TreeStrategy
 
cleanUp() - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
Clears references to testers.
cleanUp() - Method in class fr.inria.peerunit.rmi.tester.TesterImpl
 
clear() - Method in class fr.inria.peerunit.base.AbstractTester
 
clear() - Method in class fr.inria.peerunit.base.Schedule
 
clear() - Method in interface fr.inria.peerunit.StorageTester
Used to clear the Collection of testing global variables
clear() - Method in class fr.inria.peerunit.TestCaseImpl
Used to clear the Collection of testing global variables
clear() - Method in class fr.inria.peerunit.util.HTree
 
clearCollection() - Method in interface fr.inria.peerunit.GlobalVariables
Clears all global variables for this object
clearCollection() - Method in class fr.inria.peerunit.GlobalVariablesImpl
Clears all global variables for this object
compareTo(MethodDescription) - Method in class fr.inria.peerunit.parser.MethodDescription
 
ComparisonFailure - Error in fr.inria.peerunit.test.assertion
 
ComparisonFailure() - Constructor for error fr.inria.peerunit.test.assertion.ComparisonFailure
Constructs a assertion failed error.
ComparisonFailure(String) - Constructor for error fr.inria.peerunit.test.assertion.ComparisonFailure
 
ComparisonFailure(String, Object, Object) - Constructor for error fr.inria.peerunit.test.assertion.ComparisonFailure
Constructs a assertion failed error.
ConcreteBtreeStrategy - Class in fr.inria.peerunit.btreeStrategy
 
ConcreteBtreeStrategy(TesterUtil) - Constructor for class fr.inria.peerunit.btreeStrategy.ConcreteBtreeStrategy
 
containsKey(Integer) - Method in class fr.inria.peerunit.base.AbstractTester
 
containsKey(Integer) - Method in interface fr.inria.peerunit.GlobalVariables
Returns true if the boostrapper or the coordinator contains the specified variable.
containsKey(Integer) - Method in class fr.inria.peerunit.GlobalVariablesImpl
Returns true if this bootstrapper contains the specified variable.
containsKey(Integer) - Method in interface fr.inria.peerunit.StorageTester
Returns true if the key key can be map in the global variables cache, return false else.
containsKey(Integer) - Method in class fr.inria.peerunit.TestCaseImpl
Returns true if the key key can be map in the global variables cache, return false else.
containsKey(K) - Method in class fr.inria.peerunit.util.HTree
Checks if an element belongs to this Tree
containsMethod(MethodDescription) - Method in class fr.inria.peerunit.base.Schedule
 
containsMethod(MethodDescription) - Method in class fr.inria.peerunit.test.oracle.GlobalVerdict
 
Coordinator - Interface in fr.inria.peerunit
 
CoordinatorImpl - Class in fr.inria.peerunit.rmi.coord
 
CoordinatorImpl(int, int) - Constructor for class fr.inria.peerunit.rmi.coord.CoordinatorImpl
 
CoordinatorImpl(TesterUtil) - Constructor for class fr.inria.peerunit.rmi.coord.CoordinatorImpl
 
CoordinatorRunner - Class in fr.inria.peerunit
 
CoordinatorRunner(TesterUtil) - Constructor for class fr.inria.peerunit.CoordinatorRunner
 
createLogger(String) - Method in class fr.inria.peerunit.util.PeerUnitLogger
This method set the logger parameters, a file handler with his, the level.

D

defaults - Variable in class fr.inria.peerunit.base.AbstractTester
 
DistributedTesterImpl - Class in fr.inria.peerunit.rmi.tester
The DistributedTester is both, a Tester and a Coordinator.
DistributedTesterImpl(Class<?>, Bootstrapper, GlobalVariables, TesterUtil) - Constructor for class fr.inria.peerunit.rmi.tester.DistributedTesterImpl
 

E

end() - Method in class test.SimpleTest
 
equals(Object) - Method in class fr.inria.peerunit.parser.MethodDescription
 
execute(MethodDescription) - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
Dispatches a given action to a given set of testers.
execute(MethodDescription) - Method in class fr.inria.peerunit.rmi.tester.DistributedTesterImpl
 
execute(MethodDescription) - Method in class fr.inria.peerunit.rmi.tester.TesterImpl
Used to add an action to be executed
execute(MethodDescription) - Method in interface fr.inria.peerunit.Tester
Execute a test case action thanks to it description.

F

fail(String) - Static method in class fr.inria.peerunit.test.assertion.Assert
Fails a test with the given message.
fail() - Static method in class fr.inria.peerunit.test.assertion.Assert
Fails a test with no message.
Failure - Error in fr.inria.peerunit.test.assertion
 
Failure() - Constructor for error fr.inria.peerunit.test.assertion.Failure
Creates a new instance of Failure without detail message.
Failure(String) - Constructor for error fr.inria.peerunit.test.assertion.Failure
Constructs an instance of Failure with the specified detail message.
format(LogRecord) - Method in class fr.inria.peerunit.util.LogFormat
This method is overridden to apply our own formatting
fr.inria.peerunit - package fr.inria.peerunit
 
fr.inria.peerunit.base - package fr.inria.peerunit.base
 
fr.inria.peerunit.btree - package fr.inria.peerunit.btree
 
fr.inria.peerunit.btreeStrategy - package fr.inria.peerunit.btreeStrategy
 
fr.inria.peerunit.exception - package fr.inria.peerunit.exception
 
fr.inria.peerunit.parser - package fr.inria.peerunit.parser
 
fr.inria.peerunit.rmi.coord - package fr.inria.peerunit.rmi.coord
 
fr.inria.peerunit.rmi.tester - package fr.inria.peerunit.rmi.tester
 
fr.inria.peerunit.test.assertion - package fr.inria.peerunit.test.assertion
 
fr.inria.peerunit.test.oracle - package fr.inria.peerunit.test.oracle
 
fr.inria.peerunit.util - package fr.inria.peerunit.util
 
fromString(String) - Static method in class fr.inria.peerunit.base.Range
 

G

get(Integer) - Method in class fr.inria.peerunit.base.AbstractTester
 
get(Integer) - Method in interface fr.inria.peerunit.GlobalVariables
Used to retrieve testing global variables
get(Integer) - Method in class fr.inria.peerunit.GlobalVariablesImpl
Used to retrieve testing global variables
get(Integer) - Method in interface fr.inria.peerunit.StorageTester
Used to retrieve a testing global variable.
get(Integer) - Method in class fr.inria.peerunit.TestCaseImpl
Used to retrieve a testing global variable.
getBootstrap() - Method in class fr.inria.peerunit.util.TesterUtil
Return the peers's bootstrap address, may be different from tester's bootstrap one.
getBootstrapPort() - Method in class fr.inria.peerunit.util.TesterUtil
Return the peers's bootstrap port, may be different from tester's bootstrap one.
getChurnPercentage() - Method in class fr.inria.peerunit.util.TesterUtil
Return a percentage of peers's number that is used by some test cases for instance for choose the number of peers that join the test in first and those who join it in second.
getCollection() - Method in class fr.inria.peerunit.base.AbstractTester
 
getCollection() - Method in interface fr.inria.peerunit.GlobalVariables
Used to retrieve all the variables of the testing global variables
getCollection() - Method in class fr.inria.peerunit.GlobalVariablesImpl
Used to retrieve all the variables of the testing global variables
getCollection() - Method in interface fr.inria.peerunit.StorageTester
Used to retrieve all the peer of the testing global variables.
getCollection() - Method in class fr.inria.peerunit.TestCaseImpl
Used to retrieve all peers of the testing global variables.
getColor() - Static method in class fr.inria.peerunit.util.Util
return a string color
getCoordinationType() - Method in class fr.inria.peerunit.util.TesterUtil
Return the testing architecture type, centralized or distributed
getDateformat() - Method in class fr.inria.peerunit.util.TesterUtil
Return the date format used for logging.
getDelay() - Method in class fr.inria.peerunit.base.ResultSet
 
getDelay() - Method in class fr.inria.peerunit.base.SingleResult
 
getDelimiter() - Method in class fr.inria.peerunit.util.TesterUtil
Return the delimiter used for logging
getErrors() - Method in class fr.inria.peerunit.base.ResultSet
 
getExpectedTesters() - Method in class fr.inria.peerunit.util.TesterUtil
Return the number of testers expected in the properties file.
getfailures() - Method in class fr.inria.peerunit.base.ResultSet
 
getGlobalVerdict() - Method in class fr.inria.peerunit.test.oracle.GlobalVerdict
Returns the global verdict.
getHostsFilePath() - Method in class fr.inria.peerunit.util.TesterUtil
Return the value of the property that indicates the path of the file containing the tester's hosts addresses.
getId() - Method in class fr.inria.peerunit.base.AbstractTester
Returns this tester's id
getId() - Method in class fr.inria.peerunit.TestCaseImpl
Return the id of the tester executing the test.
getId() - Method in interface fr.inria.peerunit.Tester
Return the tester's id.
getInconclusives() - Method in class fr.inria.peerunit.base.ResultSet
 
getJudged() - Method in class fr.inria.peerunit.test.oracle.GlobalVerdict
Returns the number of executed testers.
getLogfile() - Method in class fr.inria.peerunit.util.TesterUtil
Return the log file name
getLogfolder() - Method in class fr.inria.peerunit.util.TesterUtil
Return the application log file folder
getLogLevel() - Method in class fr.inria.peerunit.util.TesterUtil
Return the value of the property that fix the application logging level.
getLoopToFail() - Method in class fr.inria.peerunit.util.TesterUtil
Return the number of try of a test action.
getMethod(MethodDescription) - Method in class fr.inria.peerunit.base.TestCaseWrapper
Get the method following methodDescription
getMethodDescription() - Method in class fr.inria.peerunit.base.ResultSet
 
getMethodDescription() - Method in class fr.inria.peerunit.base.SingleResult
 
getMethods() - Method in class fr.inria.peerunit.base.TestCaseWrapper
 
getName() - Method in class fr.inria.peerunit.parser.MethodDescription
 
getNodesSize() - Method in class fr.inria.peerunit.btreeStrategy.ConcreteBtreeStrategy
 
getNodesSize() - Method in interface fr.inria.peerunit.btreeStrategy.TreeStrategy
 
getObjects() - Method in class fr.inria.peerunit.util.TesterUtil
Return the number of object to put in the Open chord or FreePastry's DHT for the testing.
getOrder() - Method in class fr.inria.peerunit.parser.MethodDescription
 
getPass() - Method in class fr.inria.peerunit.base.ResultSet
 
getPeerName() - Method in class fr.inria.peerunit.base.AbstractTester
 
getPeerName() - Method in class fr.inria.peerunit.TestCaseImpl
Deprecated. 
getPeerName() - Method in class fr.inria.peerunit.util.TesterUtil
This method decrement for every call the number of testers expected in the properties file and return it, apart the first call where it initialize only and return it .
getPort() - Method in class fr.inria.peerunit.util.TesterUtil
Return the coordinator or bootstrapper's port depending on the testing architecture is distributed or centralized.
getRegistered() - Method in class fr.inria.peerunit.btree.BootstrapperImpl
Returns the current number of registered nodes
getRegistered() - Method in class fr.inria.peerunit.btreeStrategy.ConcreteBtreeStrategy
 
getRegistered() - Method in interface fr.inria.peerunit.btreeStrategy.TreeStrategy
 
getRegistryPort() - Method in class fr.inria.peerunit.util.TesterUtil
This method return the Tester's Bootstrap addresses.
getRelaxIndex() - Method in class fr.inria.peerunit.util.TesterUtil
Return the relaxation index used for fix the tolerance to inconclusive results.
getResultFor(MethodDescription) - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
 
getResultFor(MethodDescription) - Method in class fr.inria.peerunit.test.oracle.GlobalVerdict
 
getSchedule() - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
 
getServerAddr() - Method in class fr.inria.peerunit.util.TesterUtil
This method return the Tester's Bootstrap addresses.
getSleep() - Method in class fr.inria.peerunit.util.TesterUtil
Return the test actions inactivity time for the synchronization.
getStationTreeTrace() - Method in class fr.inria.peerunit.util.TesterUtil
1 to show traces during the station tree building, 0 by default.
getTestcase() - Method in class fr.inria.peerunit.base.TestCaseWrapper
 
getTesterId() - Method in class fr.inria.peerunit.base.SingleResult
 
getTimeformat() - Method in class fr.inria.peerunit.util.TesterUtil
Return the time format used for logging
getTimeout() - Method in class fr.inria.peerunit.parser.MethodDescription
 
getTreeOrder() - Method in class fr.inria.peerunit.util.TesterUtil
Return the BTree order, if we are in distributed architecture.
getTreeStrategy() - Method in class fr.inria.peerunit.util.TesterUtil
Return the BTree strategy, if we are in distributed architecture.
getTreeWaitForMethod() - Method in class fr.inria.peerunit.util.TesterUtil
Return the value of the property that fix in millisecond the treetester's a specific waiting time for the synchronization.
getVerdict() - Method in class fr.inria.peerunit.base.SingleResult
 
getWaitForMethod() - Method in class fr.inria.peerunit.util.TesterUtil
Return in millisecond the tester's waiting time for the synchronization.
globals - Variable in class fr.inria.peerunit.base.AbstractTester
 
globalTable() - Method in class fr.inria.peerunit.base.AbstractTester
 
GlobalVariables - Interface in fr.inria.peerunit
 
GlobalVariablesImpl - Class in fr.inria.peerunit
 
GlobalVariablesImpl() - Constructor for class fr.inria.peerunit.GlobalVariablesImpl
 
GlobalVerdict - Class in fr.inria.peerunit.test.oracle
 
GlobalVerdict(int) - Constructor for class fr.inria.peerunit.test.oracle.GlobalVerdict
 

H

head() - Method in class fr.inria.peerunit.util.HTree
 
HNode<K,V> - Interface in fr.inria.peerunit.util
 
HTree<K,V> - Class in fr.inria.peerunit.util
The HTree is an hierarchical tree.
HTree(int) - Constructor for class fr.inria.peerunit.util.HTree
 

I

id - Variable in class fr.inria.peerunit.base.AbstractTester
 
includes(int) - Method in class fr.inria.peerunit.base.Range
 
inconclusive(String) - Static method in class fr.inria.peerunit.test.assertion.Assert
Fails a test with an inconclusive verdict.
InconclusiveFailure - Error in fr.inria.peerunit.test.assertion
 
InconclusiveFailure() - Constructor for error fr.inria.peerunit.test.assertion.InconclusiveFailure
Constructs an inclusive failure.
InconclusiveFailure(String) - Constructor for error fr.inria.peerunit.test.assertion.InconclusiveFailure
Constructs an inclusive failure.
initColor() - Static method in class fr.inria.peerunit.util.Util
Initiate the color number to 1.
initializeLogger() - Method in class fr.inria.peerunit.base.AbstractTester
 
instance - Static variable in class fr.inria.peerunit.util.TesterUtil
 
invoke(MethodDescription) - Method in class fr.inria.peerunit.base.TestCaseWrapper
Execute the given method description
isAValidIP(String) - Static method in class fr.inria.peerunit.util.Util
This method verify if a ip addresses is valid.
isLastMethod() - Method in class fr.inria.peerunit.base.TestCaseWrapper
Verifies if no more methods remain.
isLeaf() - Method in interface fr.inria.peerunit.util.HNode
 
isRoot(int) - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
 

K

key() - Method in interface fr.inria.peerunit.util.HNode
 
kill() - Method in class fr.inria.peerunit.rmi.tester.DistributedTesterImpl
 
kill() - Method in class fr.inria.peerunit.rmi.tester.TesterImpl
An example how to kill a peer YourTestClass test = new YourTestClass(); test.export(test.getClass()); test.run(); ... // code test.kill();
kill() - Method in class fr.inria.peerunit.TestCaseImpl
Kill the tester executing the test case
kill() - Method in interface fr.inria.peerunit.Tester
Stop the tester.

L

log(Level, String) - Method in class fr.inria.peerunit.util.PeerUnitLogger
Log a message at a given level.
LogFormat - Class in fr.inria.peerunit.util
This objects of this class format the logging messages in conformity with the values of properties file.
LogFormat() - Constructor for class fr.inria.peerunit.util.LogFormat
 
logStackTrace(Exception) - Method in class fr.inria.peerunit.util.PeerUnitLogger
Log a exception.

M

main(String[]) - Static method in class fr.inria.peerunit.CoordinatorRunner
 
main(String[]) - Static method in class fr.inria.peerunit.TestRunner
In the main method, we get the only argument corresponding to class name of test case to perform.
MessageType - Enum in fr.inria.peerunit
 
method - Variable in class fr.inria.peerunit.parser.TestMethod
 
method() - Method in class fr.inria.peerunit.parser.TestMethod
 
MethodDescription - Class in fr.inria.peerunit.parser
 
MethodDescription(String, int, int) - Constructor for class fr.inria.peerunit.parser.MethodDescription
 
MethodDescription(TestStepMethod) - Constructor for class fr.inria.peerunit.parser.MethodDescription
 
MethodDescription(BeforeClassMethod) - Constructor for class fr.inria.peerunit.parser.MethodDescription
 
MethodDescription(AfterClassMethod) - Constructor for class fr.inria.peerunit.parser.MethodDescription
 
MethodExecute - Class in fr.inria.peerunit.rmi.coord
 
MethodExecute(Tester, MethodDescription) - Constructor for class fr.inria.peerunit.rmi.coord.MethodExecute
 
methodExecutionFinished(ResultSet) - Method in interface fr.inria.peerunit.Coordinator
 
methodExecutionFinished(ResultSet) - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
 
methodExecutionFinished(ResultSet) - Method in class fr.inria.peerunit.rmi.tester.DistributedTesterImpl
 
methods() - Method in class fr.inria.peerunit.base.Schedule
 

N

newInstance() - Static method in class fr.inria.peerunit.base.Range
 
newInstance(int) - Static method in class fr.inria.peerunit.base.Range
 
newInstance(int, int) - Static method in class fr.inria.peerunit.base.Range
 
newRange(int, int, int, String) - Method in class fr.inria.peerunit.parser.TestMethod
 
newResult(int, MethodDescription, Verdicts) - Method in interface fr.inria.peerunit.base.ResultListenner
 

O

order() - Method in class fr.inria.peerunit.parser.TestStepMethod
 

P

PeerUnitLogger - Class in fr.inria.peerunit.util
The application log class.
PeerUnitLogger(String) - Constructor for class fr.inria.peerunit.util.PeerUnitLogger
In the constructor, either a existing logger corresponding to the argument is cover, or a new logger is created.
printVerdict() - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
Waits for all testers to quit and calculates the global verdict for a test case.
put(Integer, Object) - Method in class fr.inria.peerunit.base.AbstractTester
 
put(MethodDescription, Tester) - Method in class fr.inria.peerunit.base.Schedule
 
put(Integer, Object) - Method in interface fr.inria.peerunit.GlobalVariables
Used to cache testing global variables
put(Integer, Object) - Method in class fr.inria.peerunit.GlobalVariablesImpl
Used to cache testing global variables
put(Integer, Object) - Method in interface fr.inria.peerunit.StorageTester
Allow to stock global variables who will accessed by all others participants.
put(Integer, Object) - Method in class fr.inria.peerunit.TestCaseImpl
Allow to test case to stock global variables who will accessed by all others participants through his tester.
put(K, V) - Method in class fr.inria.peerunit.util.HTree
Inserts an element into the tree.
putResult(MethodDescription, ResultSet) - Method in class fr.inria.peerunit.test.oracle.GlobalVerdict
 

Q

quit() - Method in interface fr.inria.peerunit.Bootstrapper
Makes the boostrapper leave the system.
quit() - Method in class fr.inria.peerunit.btree.BootstrapperImpl
 
quit(Tester) - Method in interface fr.inria.peerunit.Coordinator
Finish the test case and calculates the global oracle
quit(Tester) - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
 
quit() - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
 
quit(Tester) - Method in class fr.inria.peerunit.rmi.tester.DistributedTesterImpl
 
quit() - Method in class fr.inria.peerunit.rmi.tester.TesterImpl
Used to interrupt actions's execution.

R

Range - Class in fr.inria.peerunit.base
 
Range() - Constructor for class fr.inria.peerunit.base.Range
 
range - Variable in class fr.inria.peerunit.parser.TestMethod
 
range() - Method in class fr.inria.peerunit.parser.TestMethod
 
register(Class<?>) - Method in class fr.inria.peerunit.base.TestCaseWrapper
Parse the test case to extract the methods to be executed
register(Tester) - Method in interface fr.inria.peerunit.Bootstrapper
Registers a tester to this Bootstrapper.
register(Tester) - Method in class fr.inria.peerunit.btree.BootstrapperImpl
 
register(Tester) - Method in class fr.inria.peerunit.btreeStrategy.ConcreteBtreeStrategy
 
register(Tester) - Method in interface fr.inria.peerunit.btreeStrategy.TreeStrategy
 
register(Tester) - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
 
register() - Method in class fr.inria.peerunit.rmi.tester.DistributedTesterImpl
Registers this distributed tester with the bootstrapper and receives an id.
registerMethods(Tester, Collection<MethodDescription>) - Method in interface fr.inria.peerunit.Coordinator
 
registerMethods(Tester, Collection<MethodDescription>) - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
 
registerMethods(Tester, Collection<MethodDescription>) - Method in class fr.inria.peerunit.rmi.tester.DistributedTesterImpl
 
registerTestCase(Class<?>) - Method in class fr.inria.peerunit.rmi.tester.TesterImpl
Creates the peer and the test testCase.
registerTesters(List<Tester>) - Method in interface fr.inria.peerunit.Coordinator
 
registerTesters(List<Tester>) - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
 
registerTesters(List<Tester>) - Method in class fr.inria.peerunit.rmi.tester.DistributedTesterImpl
Sets the testers that are controlled by this tester and informs the tester that this tester is their controller
ResultListenner - Interface in fr.inria.peerunit.base
 
ResultSet - Class in fr.inria.peerunit.base
 
ResultSet(MethodDescription) - Constructor for class fr.inria.peerunit.base.ResultSet
 
run() - Method in class fr.inria.peerunit.btree.BootstrapperImpl
 
run() - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
 
run() - Method in class fr.inria.peerunit.rmi.coord.MethodExecute
Asks the Tester to execute the Method.
run() - Method in class fr.inria.peerunit.rmi.tester.TesterImpl
starts the tester
run() - Method in class fr.inria.peerunit.rmi.tester.Timeout
measure the life time of an thread

S

Schedule - Class in fr.inria.peerunit.base
 
Schedule() - Constructor for class fr.inria.peerunit.base.Schedule
 
setCommunication() - Method in class fr.inria.peerunit.btreeStrategy.ConcreteBtreeStrategy
 
setCommunication() - Method in interface fr.inria.peerunit.btreeStrategy.TreeStrategy
 
setCoordinator(Coordinator) - Method in class fr.inria.peerunit.rmi.tester.DistributedTesterImpl
 
setCoordinator(Coordinator) - Method in class fr.inria.peerunit.rmi.tester.TesterImpl
 
setCoordinator(Coordinator) - Method in interface fr.inria.peerunit.Tester
Sets the coordinator for this tester.
SetGlobals - Annotation Type in fr.inria.peerunit.parser
 
setId(int) - Method in class fr.inria.peerunit.base.AbstractTester
 
SetId - Annotation Type in fr.inria.peerunit.parser
 
setTester(Tester) - Method in interface fr.inria.peerunit.TestCase
For set the reference to the tester which will execute the test case in distributed architecture.
setTester(Tester) - Method in class fr.inria.peerunit.TestCaseImpl
Set the tester in centralized architecture executing the test
setTester(Tester) - Method in class test.SimpleTest
 
SimpleTest - Class in test
 
SimpleTest() - Constructor for class test.SimpleTest
 
SingleResult - Class in fr.inria.peerunit.base
 
SingleResult(int, MethodDescription) - Constructor for class fr.inria.peerunit.base.SingleResult
 
size() - Method in class fr.inria.peerunit.base.ResultSet
 
size() - Method in class fr.inria.peerunit.base.Schedule
 
size() - Method in class fr.inria.peerunit.util.HTree
 
start() - Method in class fr.inria.peerunit.base.ResultSet
 
start() - Method in class fr.inria.peerunit.base.SingleResult
 
start() - Method in class fr.inria.peerunit.rmi.tester.DistributedTesterImpl
Starts the distributed tester: - Creates the local tester and the local coordinator
start() - Method in class fr.inria.peerunit.rmi.tester.TesterImpl
 
start() - Method in interface fr.inria.peerunit.Tester
 
startBootstrapper() - Method in class fr.inria.peerunit.CoordinatorRunner
 
startCoordinator() - Method in class fr.inria.peerunit.CoordinatorRunner
 
startRoot() - Method in class fr.inria.peerunit.btreeStrategy.ConcreteBtreeStrategy
 
startRoot() - Method in interface fr.inria.peerunit.btreeStrategy.TreeStrategy
 
stop() - Method in class fr.inria.peerunit.base.ResultSet
 
stop() - Method in class fr.inria.peerunit.base.SingleResult
 
StorageTester - Interface in fr.inria.peerunit
This interface contains some methods for the stocking and the retrieval of testing global variables who can't be known before runtime.

T

test - package test
 
TestCase - Interface in fr.inria.peerunit
The test cases interface.
testcaseExecution() - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
Dispatches actions to testers:
TestCaseImpl - Class in fr.inria.peerunit
An abstract implementation of TestCase interface.
TestCaseImpl() - Constructor for class fr.inria.peerunit.TestCaseImpl
 
TestCaseWrapper - Class in fr.inria.peerunit.base
 
TestCaseWrapper(TesterImpl) - Constructor for class fr.inria.peerunit.base.TestCaseWrapper
 
Tester - Interface in fr.inria.peerunit
This interface represent a tester/i>.
TesterImpl - Class in fr.inria.peerunit.rmi.tester
 
TesterImpl(Bootstrapper, GlobalVariables) - Constructor for class fr.inria.peerunit.rmi.tester.TesterImpl
Used to give the identifier of the tester.
TesterImpl(Bootstrapper, GlobalVariables, TesterUtil) - Constructor for class fr.inria.peerunit.rmi.tester.TesterImpl
 
TesterImpl(GlobalVariables, int, TesterUtil) - Constructor for class fr.inria.peerunit.rmi.tester.TesterImpl
 
testersFor(MethodDescription) - Method in class fr.inria.peerunit.base.Schedule
 
TesterUtil - Class in fr.inria.peerunit.util
This class retrieve the application properties stocked in the properties file.
TesterUtil(InputStream) - Constructor for class fr.inria.peerunit.util.TesterUtil
 
TesterUtil(Properties) - Constructor for class fr.inria.peerunit.util.TesterUtil
 
TestException - Error in fr.inria.peerunit.exception
 
TestException() - Constructor for error fr.inria.peerunit.exception.TestException
 
TestException(String) - Constructor for error fr.inria.peerunit.exception.TestException
 
TestMethod - Class in fr.inria.peerunit.parser
 
TestMethod() - Constructor for class fr.inria.peerunit.parser.TestMethod
 
TestRunner - Class in fr.inria.peerunit
A test on a peer is launched by a instance of the TestRunner class.
TestRunner(Class<?>, TesterUtil) - Constructor for class fr.inria.peerunit.TestRunner
Launch the right implementation of tester passing it as argument the Class instance corresponding to the test case to execute.
TestStep - Annotation Type in fr.inria.peerunit.parser
Meta-annotation Retention indicate that this annotation must be retained in runtime Meta-annotation Target indicates that this annotation type can be used to annotate only method declarations.
TestStepMethod - Class in fr.inria.peerunit.parser
 
TestStepMethod(Method) - Constructor for class fr.inria.peerunit.parser.TestStepMethod
 
timeout - Variable in class fr.inria.peerunit.parser.TestMethod
 
timeout() - Method in class fr.inria.peerunit.parser.TestMethod
 
Timeout - Class in fr.inria.peerunit.rmi.tester
 
Timeout(Thread, long) - Constructor for class fr.inria.peerunit.rmi.tester.Timeout
 
toString() - Method in class fr.inria.peerunit.base.AbstractTester
 
toString() - Method in class fr.inria.peerunit.base.ResultSet
 
toString() - Method in class fr.inria.peerunit.parser.MethodDescription
 
toString() - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
 
toString() - Method in class fr.inria.peerunit.test.oracle.GlobalVerdict
 
TreeStrategy - Interface in fr.inria.peerunit.btreeStrategy
The classes that implement a concrete strategy should implement this The context class uses this to call the concrete strategy

U

Util - Class in fr.inria.peerunit.util
 
Util() - Constructor for class fr.inria.peerunit.util.Util
 

V

value() - Method in interface fr.inria.peerunit.util.HNode
 
valueOf(String) - Static method in enum fr.inria.peerunit.MessageType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum fr.inria.peerunit.test.oracle.Verdicts
Returns the enum constant of this type with the specified name.
values() - Static method in enum fr.inria.peerunit.MessageType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum fr.inria.peerunit.test.oracle.Verdicts
Returns an array containing the constants of this enum type, in the order they are declared.
Verdicts - Enum in fr.inria.peerunit.test.oracle
 

W

waitAllTestersToQuit() - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
Waits for all testers to quit the system.
waitForTesterRegistration() - Method in class fr.inria.peerunit.btreeStrategy.ConcreteBtreeStrategy
Waits for all expected testers to registerMethods.
waitForTesterRegistration() - Method in interface fr.inria.peerunit.btreeStrategy.TreeStrategy
Blocks current thread until all expected testers have registered.
waitForTesterRegistration() - Method in class fr.inria.peerunit.rmi.coord.CoordinatorImpl
Waits for all expected testers to registerMethods.

A B C D E F G H I K L M N O P Q R S T U V W

Copyright © 2010. All Rights Reserved.