Errai 3.0.1-SNAPSHOT

org.jboss.errai.enterprise.client.cdi
Class AbstractErraiCDITest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.google.gwt.junit.client.GWTTestCase
              extended by org.jboss.errai.enterprise.client.cdi.AbstractErraiCDITest
All Implemented Interfaces:
junit.framework.Test

public abstract class AbstractErraiCDITest
extends com.google.gwt.junit.client.GWTTestCase

Abstract base class of all Errai CDI integration tests, used to bootstrap our IOC container and CDI module.

Author:
Christian Sadilek

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.junit.client.GWTTestCase
com.google.gwt.junit.client.GWTTestCase.BaseStrategy, com.google.gwt.junit.client.GWTTestCase.TestModuleInfo
 
Field Summary
protected  boolean disableBus
           
 
Fields inherited from class com.google.gwt.junit.client.GWTTestCase
ALL_GWT_TESTS, testResult
 
Constructor Summary
AbstractErraiCDITest()
           
 
Method Summary
static boolean annotationSetMatches(Set<Annotation> annotations, Class<? extends Annotation>... annos)
           
protected  boolean assertContains(Collection<Annotation> annotationCollection, Annotation toCompare)
           
protected  void asyncTest()
           
protected  void asyncTest(Runnable runnable)
           
protected
<T> Collection<IOCBeanDef<T>>
getBeans(Class<T> type, Annotation... annotations)
           
protected  void gwtSetUp()
           
protected  void gwtTearDown()
           
 void setRemoteCommunicationEnabled(boolean enabled)
           
 
Methods inherited from class com.google.gwt.junit.client.GWTTestCase
addCheckpoint, catchExceptions, clearCheckpoints, createStrategy, delayTestFinish, finishTest, getAllTestModuleNames, getCheckpoints, getModuleCount, getModuleName, getStrategy, getSyntheticModuleName, getTestsForModule, isPureJava, run, runTest, setForcePureJava, setName, setUp, supportsAsync, tearDown
 
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, runBare, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

disableBus

protected boolean disableBus
Constructor Detail

AbstractErraiCDITest

public AbstractErraiCDITest()
Method Detail

gwtSetUp

protected void gwtSetUp()
                 throws Exception
Overrides:
gwtSetUp in class com.google.gwt.junit.client.GWTTestCase
Throws:
Exception

gwtTearDown

protected void gwtTearDown()
                    throws Exception
Overrides:
gwtTearDown in class com.google.gwt.junit.client.GWTTestCase
Throws:
Exception

annotationSetMatches

public static boolean annotationSetMatches(Set<Annotation> annotations,
                                           Class<? extends Annotation>... annos)

setRemoteCommunicationEnabled

public void setRemoteCommunicationEnabled(boolean enabled)

getBeans

protected <T> Collection<IOCBeanDef<T>> getBeans(Class<T> type,
                                                 Annotation... annotations)

assertContains

protected boolean assertContains(Collection<Annotation> annotationCollection,
                                 Annotation toCompare)

asyncTest

protected void asyncTest()

asyncTest

protected void asyncTest(Runnable runnable)

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.