tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Closed: (TAPESTRY-380) Framework unit test suite fails for non-English developers due to localization issues
Date Sat, 10 Sep 2005 17:48:30 GMT
     [ http://issues.apache.org/jira/browse/TAPESTRY-380?page=all ]
     
Howard M. Lewis Ship closed TAPESTRY-380:
-----------------------------------------

    Fix Version: 4.0
     Resolution: Fixed

> Framework unit test suite fails for non-English developers due to localization issues
> -------------------------------------------------------------------------------------
>
>          Key: TAPESTRY-380
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-380
>      Project: Tapestry
>         Type: Test
>     Versions: 4.0
>  Environment: Simplified Chinese Windows XP/Cygwin 
>     Reporter: Xi Ping Wang
>     Assignee: Howard M. Lewis Ship
>      Fix For: 4.0

>
>   [junit] Testcase: testMessageOverrideNull(org.apache.tapestry.form.TestValidationMessages):
F
> AILED
>     [junit] expected:<You must enter a value for My Field.> but was:<???My Field????>
>     [junit] junit.framework.ComparisonFailure: expected:<You must enter a value for
My Field.> bu
> t was:<???My Field????>
>     [junit]     at org.apache.tapestry.form.TestValidationMessages.testMessageOverrideNull(TestVa
> lidationMessages.java:34)
>     [junit] TEST org.apache.tapestry.form.TestValidationMessages FAILED
>     [junit] Testsuite: org.apache.tapestry.form.translator.TestDateTranslator
>     [junit] Tests run: 11, Failures: 1, Errors: 0, Time elapsed: 0.05 sec
>     [junit] Testcase: testFailedParseDefaultMessage(org.apache.tapestry.form.translator.TestDateT
> ranslator):     FAILED
>     [junit] expected:<Invalid date format for Field Name.  Format is MM/DD/YYYY.>
but was:<Field
> Name??????????????MM/DD/YYYY?>
>     [junit] junit.framework.ComparisonFailure: expected:<Invalid date format for Field
Name.  For
> mat is MM/DD/YYYY.> but was:<Field Name??????????????MM/DD/YYYY?>
>     [junit]     at org.apache.tapestry.form.translator.TestDateTranslator.testFailedParse(TestDat
> eTranslator.java:198)
>     [junit]     at org.apache.tapestry.form.translator.TestDateTranslator.testFailedParseDefaultM
> essage(TestDateTranslator.java:159)
>     [junit] TEST org.apache.tapestry.form.translator.TestDateTranslator FAILED
>     [junit] Testsuite: org.apache.tapestry.form.translator.TestNumberTranslator
>     [junit] Tests run: 11, Failures: 3, Errors: 0, Time elapsed: 0.27 sec
>     [junit] Testcase: testFailedParseDefaultMessage(org.apache.tapestry.form.translator.TestNumbe
> rTranslator):   FAILED
>     [junit] expected:<... must be a numeric value.> but was:<...?????????>
>     [junit] junit.framework.ComparisonFailure: expected:<... must be a numeric value.>
but was:<.
> ..?????????>
>     [junit]     at org.apache.tapestry.form.translator.TestNumberTranslator.testFailedParse(TestN
> umberTranslator.java:153)
>     [junit]     at org.apache.tapestry.form.translator.TestNumberTranslator.testFailedParseDefaul
> tMessage(TestNumberTranslator.java:114)
>     [junit] Testcase: testRenderContribution(org.apache.tapestry.form.translator.TestNumberTransl
> ator):  FAILED
>     [junit]   Unexpected method call addEventHandler(FormEventType[SUBMIT], "validate_number(even
> t, document.formName.fieldName,'Field Label?????????')"):
>     [junit]     addEventHandler(FormEventType[SUBMIT], "validate_number(event, document.formName.
> fieldName,'Field Label?????????')"): expected: 0, actual: 1
>     [junit]     addEventHandler(FormEventType[SUBMIT], "validate_number(event, document.formName.
> fieldName,'Field Label must be a numeric value.')"): expected: 1, actual: 0
>     [junit] junit.framework.AssertionFailedError:
>     [junit]   Unexpected method call addEventHandler(FormEventType[SUBMIT], "validate_number(even
> t, document.formName.fieldName,'Field Label?????????')"):
>     [junit]     addEventHandler(FormEventType[SUBMIT], "validate_number(event, document.formName.
> fieldName,'Field Label?????????')"): expected: 0, actual: 1
>     [junit]     addEventHandler(FormEventType[SUBMIT], "validate_number(event, document.formName.
> fieldName,'Field Label must be a numeric value.')"): expected: 1, actual: 0
>     [junit]     at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:44)
>     [junit]     at $Proxy4.addEventHandler(Unknown Source)
>     [junit]     at org.apache.tapestry.form.AbstractFormComponentContributor.addSubmitHandler(Abs
> tractFormComponentContributor.java:85)
>     [junit]     at org.apache.tapestry.form.translator.NumberTranslator.renderContribution(Number
> Translator.java:109)
>     [junit]     at org.apache.tapestry.form.translator.TestNumberTranslator.testRenderContributio
> n(TestNumberTranslator.java:189)
>     [junit] Testcase: testTrimRenderContribution(org.apache.tapestry.form.translator.TestNumberTr
> anslator):      FAILED
>     [junit]   Unexpected method call addEventHandler(FormEventType[SUBMIT], "validate_number(even
> t, document.formName.fieldName,'Field Label?????????')"):
>     [junit]     addEventHandler(FormEventType[SUBMIT], "validate_number(event, document.formName.
> fieldName,'Field Label?????????')"): expected: 0, actual: 1
>     [junit]     addEventHandler(FormEventType[SUBMIT], "validate_number(event, document.formName.
> fieldName,'Field Label must be a numeric value.')"): expected: 1, actual: 0
>     [junit] junit.framework.AssertionFailedError:
>     [junit]   Unexpected method call addEventHandler(FormEventType[SUBMIT], "validate_number(even
> t, document.formName.fieldName,'Field Label?????????')"):
>     [junit]     addEventHandler(FormEventType[SUBMIT], "validate_number(event, document.formName.
> fieldName,'Field Label?????????')"): expected: 0, actual: 1
>     [junit]     addEventHandler(FormEventType[SUBMIT], "validate_number(event, document.formName.
> fieldName,'Field Label must be a numeric value.')"): expected: 1, actual: 0
>     [junit]     at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:44)
>     [junit]     at $Proxy4.addEventHandler(Unknown Source)
>     [junit]     at org.apache.tapestry.form.AbstractFormComponentContributor.addSubmitHandler(Abs
> tractFormComponentContributor.java:85)
>     [junit]     at org.apache.tapestry.form.translator.NumberTranslator.renderContribution(Number
> Translator.java:109)
>     [junit]     at org.apache.tapestry.form.translator.TestNumberTranslator.testTrimRenderContrib
> ution(TestNumberTranslator.java:258)
>     [junit] TEST org.apache.tapestry.form.translator.TestNumberTranslator FAILED
>     [junit] Testsuite: org.apache.tapestry.form.translator.TestStringTranslator
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.01 sec

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message