Package org.openremote.test
Class TestFixture
java.lang.Object
org.openremote.test.TestFixture
- All Implemented Interfaces:
org.spockframework.runtime.extension.IGlobalExtension
public class TestFixture
extends Object
implements org.spockframework.runtime.extension.IGlobalExtension
Used to store state for tests to help improve test performance
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic List<org.openremote.model.rules.AssetRuleset> static List<org.openremote.model.asset.Asset<?>> protected static org.openremote.container.Containerstatic List<org.openremote.model.gateway.GatewayConnection> static List<org.openremote.model.rules.GlobalRuleset> static List<org.openremote.model.rules.RealmRuleset> static List<org.openremote.model.asset.UserAssetLink> static List<org.openremote.model.security.User> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.spockframework.runtime.extension.IGlobalExtension
executionStart, executionStop, visitSpec
-
Field Details
-
container
protected static org.openremote.container.Container container -
globalRulesets
-
realmRulesets
-
assetRulesets
-
gatewayConnections
-
assets
-
userAssets
-
users
-
-
Constructor Details
-
TestFixture
public TestFixture()
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.spockframework.runtime.extension.IGlobalExtension
-
stop
public void stop()- Specified by:
stopin interfaceorg.spockframework.runtime.extension.IGlobalExtension
-