Package net.officefloor.test
Interface OfficeFloorJUnit
-
- All Known Implementing Classes:
AbstractOfficeFloorJUnit
,OfficeFloorExtension
,OfficeFloorRule
public interface OfficeFloorJUnit
JUnit functionality forOfficeFloor
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OfficeFloor
getOfficeFloor()
Obtains theOfficeFloor
.void
invokeProcess(java.lang.String functionName, java.lang.Object parameter)
void
invokeProcess(java.lang.String functionName, java.lang.Object parameter, long waitTime)
void
invokeProcess(java.lang.String officeName, java.lang.String functionName, java.lang.Object parameter, long waitTime)
Convenience method to invoke theProcessState
for theManagedFunction
.
-
-
-
Method Detail
-
getOfficeFloor
OfficeFloor getOfficeFloor()
Obtains theOfficeFloor
.- Returns:
OfficeFloor
.
-
invokeProcess
void invokeProcess(java.lang.String functionName, java.lang.Object parameter)
- Parameters:
functionName
- Name of theManagedFunction
.parameter
- Parameter to theManagedFunction
.
-
invokeProcess
void invokeProcess(java.lang.String functionName, java.lang.Object parameter, long waitTime)
- Parameters:
functionName
- Name of theManagedFunction
.parameter
- Parameter to theManagedFunction
.waitTime
- Time in milliseconds to wait forProcessState
to complete.
-
invokeProcess
void invokeProcess(java.lang.String officeName, java.lang.String functionName, java.lang.Object parameter, long waitTime)
Convenience method to invoke theProcessState
for theManagedFunction
.- Parameters:
officeName
- Name of theOffice
containing theManagedFunction
.functionName
- Name of theManagedFunction
.parameter
- Parameter to theManagedFunction
.waitTime
- Time in milliseconds to wait forProcessState
to complete.
-
-