brooklyn.test
Class EntityTestUtils
java.lang.Object
brooklyn.test.EntityTestUtils
public class EntityTestUtils
- extends Object
|
Method Summary |
static
|
assertAttributeEquals(brooklyn.entity.Entity entity,
brooklyn.event.AttributeSensor<T> attribute,
T expected)
|
static
|
assertAttributeEqualsContinually(brooklyn.entity.Entity entity,
brooklyn.event.AttributeSensor<T> attribute,
T expected)
|
static
|
assertAttributeEqualsContinually(Map<?,?> flags,
brooklyn.entity.Entity entity,
brooklyn.event.AttributeSensor<T> attribute,
T expected)
|
static
|
assertAttributeEqualsEventually(brooklyn.entity.Entity entity,
brooklyn.event.AttributeSensor<T> attribute,
T expected)
|
static
|
assertAttributeEqualsEventually(Map<?,?> flags,
brooklyn.entity.Entity entity,
brooklyn.event.AttributeSensor<T> attribute,
T expected)
|
static
|
assertConfigEquals(brooklyn.entity.Entity entity,
brooklyn.config.ConfigKey<T> configKey,
T expected)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityTestUtils
public EntityTestUtils()
assertAttributeEquals
public static <T> void assertAttributeEquals(brooklyn.entity.Entity entity,
brooklyn.event.AttributeSensor<T> attribute,
T expected)
assertConfigEquals
public static <T> void assertConfigEquals(brooklyn.entity.Entity entity,
brooklyn.config.ConfigKey<T> configKey,
T expected)
assertAttributeEqualsEventually
public static <T> void assertAttributeEqualsEventually(brooklyn.entity.Entity entity,
brooklyn.event.AttributeSensor<T> attribute,
T expected)
assertAttributeEqualsEventually
public static <T> void assertAttributeEqualsEventually(Map<?,?> flags,
brooklyn.entity.Entity entity,
brooklyn.event.AttributeSensor<T> attribute,
T expected)
assertAttributeEqualsContinually
public static <T> void assertAttributeEqualsContinually(brooklyn.entity.Entity entity,
brooklyn.event.AttributeSensor<T> attribute,
T expected)
assertAttributeEqualsContinually
public static <T> void assertAttributeEqualsContinually(Map<?,?> flags,
brooklyn.entity.Entity entity,
brooklyn.event.AttributeSensor<T> attribute,
T expected)
Copyright © 2013. All Rights Reserved.