A C D E F G I M P R S T U V W 
All Classes All Packages

A

assertTick(int) - Method in class edu.umd.cs.mtc.MultithreadedTestCase
Assert that the clock is in tick tick
awaitOn(Condition) - Static method in class edu.umd.cs.mtc.MultithreadedTestCase
This method is a replacement for Condition.await().

C

CLOCKPERIOD_KEY - Static variable in class edu.umd.cs.mtc.RunThreadsThenInvokeMethod
Command line key for indicating the regularity (in milliseconds) with which the clock thread regulates the thread methods.

D

DEFAULT_CLOCKPERIOD - Static variable in class edu.umd.cs.mtc.RunThreadsThenInvokeMethod
The default clock period in milliseconds
DEFAULT_RUNLIMIT - Static variable in class edu.umd.cs.mtc.RunThreadsThenInvokeMethod
The default run limit in seconds

E

edu.umd.cs.mtc - package edu.umd.cs.mtc
MultithreadedTC: This package provides a unit testing framework for concurrent applications.
evaluate() - Method in class edu.umd.cs.mtc.RunThreadsThenInvokeMethod
 

F

freezeClock() - Method in class edu.umd.cs.mtc.MultithreadedTestCase
When the clock is frozen, it will not advance even when all threads are blocked.

G

getThread(int) - Method in class edu.umd.cs.mtc.MultithreadedTestCase
Get a thread corresponding to the method whose name is formed using the prefix "thread" followed by an integer (represented by index .
getThreadByName(String) - Method in class edu.umd.cs.mtc.MultithreadedTestCase
Get a thread given the method name that it corresponds to.
getTick() - Method in class edu.umd.cs.mtc.MultithreadedTestCase
Gets the current value of the thread metronome.
getTrace() - Method in class edu.umd.cs.mtc.MultithreadedTestCase
 

I

isClockFrozen() - Method in class edu.umd.cs.mtc.MultithreadedTestCase
Check if the clock has been frozen by any threads.

M

mayYield() - Method in class edu.umd.cs.mtc.MultithreadedTestCase
Calling this method from one of the test threads may cause the thread to yield.
mayYield(double) - Method in class edu.umd.cs.mtc.MultithreadedTestCase
Calling this method from one of the test threads may cause the thread to yield.
methodInvoker(FrameworkMethod, Object) - Method in class edu.umd.cs.mtc.MultiThreadedRunner
 
MultiThreadedRunner - Class in edu.umd.cs.mtc
A junit runner which runs the threaded methods before the actual junit test method.
MultiThreadedRunner(Class<?>) - Constructor for class edu.umd.cs.mtc.MultiThreadedRunner
Creates a BlockJUnit4ClassRunner to run klass
MultithreadedTest - Annotation Type in edu.umd.cs.mtc
Annotation to indicate that a test triggers a multithreaded test case and that the threads should be run multiple times.
MultithreadedTestCase - Class in edu.umd.cs.mtc
This is the base class for each test in the MultithreadedTC framework.
MultithreadedTestCase() - Constructor for class edu.umd.cs.mtc.MultithreadedTestCase
 

P

putThread(String, Thread) - Method in class edu.umd.cs.mtc.MultithreadedTestCase
Associates a thread with given method name.

R

runInstrumentedManyTimes(MultithreadedTestCase, int, int[]) - Static method in class edu.umd.cs.mtc.RunThreadsThenInvokeMethod
Run multithreaded test case multiple times using the default or global settings for clock period and run limit.
RUNLIMIT_KEY - Static variable in class edu.umd.cs.mtc.RunThreadsThenInvokeMethod
Command line key for indicating the time limit (in seconds) for runnable threads.
runManyTimes(MultithreadedTestCase, int) - Static method in class edu.umd.cs.mtc.RunThreadsThenInvokeMethod
Run multithreaded test case multiple times using the default or global settings for clock period and run limit.
runManyTimes(MultithreadedTestCase, int, Integer, Integer) - Static method in class edu.umd.cs.mtc.RunThreadsThenInvokeMethod
Run multithreaded test case multiple times.
runOnce(MultithreadedTestCase) - Static method in class edu.umd.cs.mtc.RunThreadsThenInvokeMethod
Run a multithreaded test case once, using the default or global settings for clock period and run limit
runOnce(MultithreadedTestCase, Integer, Integer) - Static method in class edu.umd.cs.mtc.RunThreadsThenInvokeMethod
Run multithreaded test case once.
RunThreadsThenInvokeMethod - Class in edu.umd.cs.mtc
This class plugs the MultithreadedTestCase into the JUnit framework.
RunThreadsThenInvokeMethod(FrameworkMethod, Object, int) - Constructor for class edu.umd.cs.mtc.RunThreadsThenInvokeMethod
 

S

setGlobalClockPeriod(Integer) - Static method in class edu.umd.cs.mtc.RunThreadsThenInvokeMethod
Change/set the system property for the clock period
setGlobalRunLimit(Integer) - Static method in class edu.umd.cs.mtc.RunThreadsThenInvokeMethod
Change/set the system property for the run limit
setTrace(boolean) - Method in class edu.umd.cs.mtc.MultithreadedTestCase
 
skipNextWait() - Static method in class edu.umd.cs.mtc.MultithreadedTestCase
When this method is called from a thread, the next call to MultithreadedTestCase.waitOn(Object) or MultithreadedTestCase.awaitOn(Condition) will return immediately without blocking.

T

Threaded - Annotation Type in edu.umd.cs.mtc
Annotation to indicate that a method in a MultithreadedTestCase should be run in a separate thread.
times() - Method in annotation type edu.umd.cs.mtc.MultithreadedTest
 

U

unfreezeClock() - Method in class edu.umd.cs.mtc.MultithreadedTestCase
Unfreeze a clock that has been frozen by MultithreadedTestCase.freezeClock().

V

value() - Method in annotation type edu.umd.cs.mtc.Threaded
name of the thread, if empty the method name is used

W

waitForTick(int) - Method in class edu.umd.cs.mtc.MultithreadedTestCase
Force this thread to block until the thread metronome reaches the specified value, at which point the thread is unblocked.
waitForTick(Enum<?>) - Method in class edu.umd.cs.mtc.MultithreadedTestCase
An Enum-based version of waitForTick.
waitOn(Object) - Static method in class edu.umd.cs.mtc.MultithreadedTestCase
This method is a replacement for Object.wait().
A C D E F G I M P R S T U V W 
All Classes All Packages