Class MockServerSettings
- java.lang.Object
-
- net.officefloor.server.servlet.test.MockServerSettings
-
public class MockServerSettings extends java.lang.Object
Settings for running tests.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MockServerSettings.WithinContext
Logic to run within context.
-
Constructor Summary
Constructors Constructor Description MockServerSettings()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
runWithinContext(OfficeFloorExtensionService officeFloorExtension, OfficeExtensionService officeExtension, MockServerSettings.WithinContext logic)
RunsMockServerSettings.WithinContext
logic.
-
-
-
Method Detail
-
runWithinContext
public static void runWithinContext(OfficeFloorExtensionService officeFloorExtension, OfficeExtensionService officeExtension, MockServerSettings.WithinContext logic) throws java.lang.Exception
RunsMockServerSettings.WithinContext
logic.- Parameters:
officeFloorExtension
-OfficeFloorExtensionService
.officeExtension
-OfficeExtensionService
.logic
-MockServerSettings.WithinContext
logic.- Throws:
java.lang.Exception
- If failure with logic.
-
-