org.jboss.seam.faces.test.environment
Class LocaleProducerTest

java.lang.Object
  extended by org.jboss.seam.faces.test.environment.LocaleProducerTest

public class LocaleProducerTest
extends Object

Verify that the LocaleProducer produces the same Locales as returned by Application.getDefaultLocale() and the CDI producer method.

Author:
George Gastaldi

Constructor Summary
LocaleProducerTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.Archive<?> createTestArchive()
           
 void testProducesDefaultLocaleCurrentFacesContext()
           
 void testReturnsDefaultLocale()
           
 void testReturnsSupportedLocales()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleProducerTest

public LocaleProducerTest()
Method Detail

createTestArchive

@Deployment
public static org.jboss.shrinkwrap.api.Archive<?> createTestArchive()

testReturnsSupportedLocales

public void testReturnsSupportedLocales()

testReturnsDefaultLocale

public void testReturnsDefaultLocale()

testProducesDefaultLocaleCurrentFacesContext

public void testProducesDefaultLocaleCurrentFacesContext()


Copyright © 2009-2011 Seam Framework. All Rights Reserved.