brooklyn.test
Class EntityTestUtils

java.lang.Object
  extended by brooklyn.test.EntityTestUtils

public class EntityTestUtils
extends Object


Constructor Summary
EntityTestUtils()
           
 
Method Summary
static
<T> void
assertAttributeEquals(brooklyn.entity.Entity entity, brooklyn.event.AttributeSensor<T> attribute, T expected)
           
static
<T> void
assertAttributeEqualsContinually(brooklyn.entity.Entity entity, brooklyn.event.AttributeSensor<T> attribute, T expected)
           
static
<T> void
assertAttributeEqualsContinually(Map<?,?> flags, brooklyn.entity.Entity entity, brooklyn.event.AttributeSensor<T> attribute, T expected)
           
static
<T> void
assertAttributeEqualsEventually(brooklyn.entity.Entity entity, brooklyn.event.AttributeSensor<T> attribute, T expected)
           
static
<T> void
assertAttributeEqualsEventually(Map<?,?> flags, brooklyn.entity.Entity entity, brooklyn.event.AttributeSensor<T> attribute, T expected)
           
static
<T> void
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
 

Constructor Detail

EntityTestUtils

public EntityTestUtils()
Method Detail

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.