org.qi4j.test.indexing
Class NameableAssert

java.lang.Object
  extended by org.qi4j.test.indexing.NameableAssert

public class NameableAssert
extends Object


Constructor Summary
NameableAssert()
           
 
Method Summary
static String[] allNames()
           
static void assertName(String expectedName, EntityReference reference)
           
static void assertNames(boolean sort, Iterable<EntityReference> identitiesIterable, String... expectedNames)
           
static void assertNames(Iterable<EntityReference> identitiesIterable, String... expectedNames)
           
static void clear()
           
static String getName(EntityReference reference)
           
static List<String> getNames(List<EntityReference> references)
           
static
<T> List<T>
toList(Iterable<T> iterable)
           
static void trace(Nameable nameable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameableAssert

public NameableAssert()
Method Detail

clear

public static void clear()

assertNames

public static void assertNames(Iterable<EntityReference> identitiesIterable,
                               String... expectedNames)

assertNames

public static void assertNames(boolean sort,
                               Iterable<EntityReference> identitiesIterable,
                               String... expectedNames)

toList

public static <T> List<T> toList(Iterable<T> iterable)

trace

public static void trace(Nameable nameable)

assertName

public static void assertName(String expectedName,
                              EntityReference reference)

getName

public static String getName(EntityReference reference)

getNames

public static List<String> getNames(List<EntityReference> references)

allNames

public static String[] allNames()