de.smartics.properties.spi.core.context
Class LocaleFinderCalcLocaleTest

Package class diagram package LocaleFinderCalcLocaleTest
java.lang.Object
  extended by de.smartics.properties.spi.core.context.LocaleFinderCalcLocaleTest

public class LocaleFinderCalcLocaleTest
     
     
extends Object

Tests LocaleFinder.calcLocale(String).


Constructor Summary
LocaleFinderCalcLocaleTest()
           
 
Method Summary
 void returnsACountryLocale()
           
 void returnsALanguageLocale()
           
 void returnsNullIfNoLocaleIsProvided()
           
 void returnsNullIfNoLocaleIsProvidedOnAFileWithNoExtension()
           
 void returnsNullIfNoLocaleIsProvidedWithPath()
           
 void returnsRecognizedTheLocaleRelevantPartInAFileName()
           
 void returnsRecognizedTheLocaleRelevantPartInAFileNameEvenWithoutExtension()
           
 void returnsVariantLocale()
           
 void separatorWithLocaleAtEndOfFileName()
           
 void separatorWithoutLocaleAtEndOfFileName()
           
 void setUp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleFinderCalcLocaleTest

public LocaleFinderCalcLocaleTest()
Method Detail

setUp

public void setUp()

returnsNullIfNoLocaleIsProvided

public void returnsNullIfNoLocaleIsProvided()

returnsNullIfNoLocaleIsProvidedWithPath

public void returnsNullIfNoLocaleIsProvidedWithPath()

returnsNullIfNoLocaleIsProvidedOnAFileWithNoExtension

public void returnsNullIfNoLocaleIsProvidedOnAFileWithNoExtension()

returnsALanguageLocale

public void returnsALanguageLocale()

returnsACountryLocale

public void returnsACountryLocale()

returnsVariantLocale

public void returnsVariantLocale()

returnsRecognizedTheLocaleRelevantPartInAFileName

public void returnsRecognizedTheLocaleRelevantPartInAFileName()

returnsRecognizedTheLocaleRelevantPartInAFileNameEvenWithoutExtension

public void returnsRecognizedTheLocaleRelevantPartInAFileNameEvenWithoutExtension()

separatorWithoutLocaleAtEndOfFileName

public void separatorWithoutLocaleAtEndOfFileName()

separatorWithLocaleAtEndOfFileName

public void separatorWithLocaleAtEndOfFileName()


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.