History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: STELLA-53
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Leonardo Nicacio Bessa
Reporter: Leonardo Nicacio Bessa
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Caelum Stella

Testes falham quando locale está em PT_BR

Created: 31/Aug/08 04:56 AM   Updated: 26/Sep/08 07:52 AM
Component/s: CORE, FACES
Affects Version/s: 1.0
Fix Version/s: 1.1

Environment: Java com locale em PT_BR


 Description  « Hide

Failed tests:
  shouldTransformAMillionIntoNumberInWordsUsingAnd(br.com.caelum.stella.inwords.RealNumericToWordsConverterTest)
  shouldTransformAMillionAndThousandIntoNumberInWordsUsingAnd(br.com.caelum.stella.inwords.RealNumericToWordsConverterTest)
  shouldTransformAMillionIntoNumberInWords(br.com.caelum.stella.inwords.RealNumericToWordsConverterTest)
  shouldTransformAMillionAndOne(br.com.caelum.stella.inwords.RealNumericToWordsConverterTest)
  shouldTransformABillion(br.com.caelum.stella.inwords.RealNumericToWordsConverterTest)
  shouldTransform1E12(br.com.caelum.stella.inwords.RealNumericToWordsConverterTest)
  shouldTransform1E15(br.com.caelum.stella.inwords.RealNumericToWordsConverterTest)
  shouldTransformAMillionIntoNumberInWordsUsingSingular(br.com.caelum.stella.inwords.IntegerNumericToWordsConverterTest)
  shouldTransformAMillionIntoNumberInWordsUsingAnd(br.com.caelum.stella.inwords.IntegerNumericToWordsConverterTest)
  shouldTransformAMillionAndThousandIntoNumberInWordsUsingAnd(br.com.caelum.stella.inwords.IntegerNumericToWordsConverterTest)
  shouldTransformTwoMillionUsingPlural(br.com.caelum.stella.inwords.IntegerNumericToWordsConverterTest)

Tests in error:
  shouldTransformThousandInWords(br.com.caelum.stella.inwords.RealNumericToWordsConverterTest)
  shouldTransformANumberInWordsUsingFraction(br.com.caelum.stella.inwords.RealNumericToWordsConverterTest)
  shouldTransformOneDecimalWords(br.com.caelum.stella.inwords.RealNumericToWordsConverterTest)
  shouldRoundAndTransformANumberInWordsUsingFraction(br.com.caelum.stella.inwords.RealNumericToWordsConverterTest)
  shouldTransformAThousandAndOne(br.com.caelum.stella.inwords.RealNumericToWordsConverterTest)
  shouldTransform1000000000000000001AsLong(br.com.caelum.stella.inwords.RealNumericToWordsConverterTest)
  shouldTransform999999999999999L(br.com.caelum.stella.inwords.RealNumericToWordsConverterTest)
  shouldTransform1InWords(br.com.caelum.stella.inwords.IntegerNumericToWordsConverterTest)
  shouldTransform2InWords(br.com.caelum.stella.inwords.IntegerNumericToWordsConverterTest)
  shouldTransform14InWords(br.com.caelum.stella.inwords.IntegerNumericToWordsConverterTest)
  shouldTransform53InWordsUsingAnd(br.com.caelum.stella.inwords.IntegerNumericToWordsConverterTest)
  shouldTransformOneHundredInWords(br.com.caelum.stella.inwords.IntegerNumericToWordsConverterTest)
  shouldTransformOneHundredInWordsUsingAnd(br.com.caelum.stella.inwords.IntegerNumericToWordsConverterTest)
  shouldTransformTwoHundredInWords(br.com.caelum.stella.inwords.IntegerNumericToWordsConverterTest)
  shouldTransformThousandInWords(br.com.caelum.stella.inwords.IntegerNumericToWordsConverterTest)
  shouldTransformThousandInWordsUsingAnd(br.com.caelum.stella.inwords.IntegerNumericToWordsConverterTest)
  shouldTransformANumberInWordsUsingFraction(br.com.caelum.stella.inwords.IntegerNumericToWordsConverterTest)

-------------------------


Failed tests:
  shouldGiveMessagesFromDefaultResourceBundleForInvalidIEAndEnUSLocale(br.com.caelum.stella.faces.validation.StellaIEValidatorTest)
  shouldGiveMessagesFromDefaultResourceBundleForInvalidNITAndEnUSLocale(br.com.caelum.stella.faces.validation.StellaNITValidatorTest)
  shouldGiveMessagesFromDefaultResourceBundleForInvalidCpfAndEnUSLocale(br.com.caelum.stella.faces.validation.StellaCPFValidatorTest)
  shouldGiveMessagesFromDefaultResourceBundleForInvalidCNPJAndEnUSLocale(br.com.caelum.stella.faces.validation.StellaCNPJValidatorTest)


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Leonardo Nicacio Bessa - 31/Aug/08 04:59 AM
Removi a dependencia de DecimalFormat com o Locale.getDefault().

Criei testes para rotina de extenso em PT_BR e EN_US para testar a idependencia de Locale.

Configurei o maven para rodar os testes do JUnit com o Locale Padrao em PT_BR.