org.jboss.cdi.tck.util
Class Assert

java.lang.Object
  extended by org.jboss.cdi.tck.util.Assert

public class Assert
extends Object

Author:
Martin Kouba

Method Summary
static void assertAnnotationSetMatches(Set<? extends Annotation> annotations, Class<? extends Annotation>... requiredAnnotationTypes)
           
static void assertTypeListMatches(List<? extends Type> types, Type... requiredTypes)
           
static void assertTypeSetMatches(Set<? extends Type> types, Type... requiredTypes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

assertAnnotationSetMatches

public static void assertAnnotationSetMatches(Set<? extends Annotation> annotations,
                                              Class<? extends Annotation>... requiredAnnotationTypes)
Parameters:
annotations -
requiredAnnotationTypes -
Throws:
AssertionError - if the annotations set and required annotations do not match

assertTypeSetMatches

public static void assertTypeSetMatches(Set<? extends Type> types,
                                        Type... requiredTypes)
Parameters:
types -
requiredTypes -

assertTypeListMatches

public static void assertTypeListMatches(List<? extends Type> types,
                                         Type... requiredTypes)
Parameters:
types -
requiredTypes -


Copyright © 2008-2013 Seam Framework. All Rights Reserved.