incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: SDK construction with a specific locales
Date Tue, 28 Aug 2012 20:29:10 GMT



On 8/28/12 1:22 PM, "Carlos Rovira" <carlos.rovira@codeoscopic.com> wrote:

> Hi Alex,
> 
> I'll check flex-config later. Meanwhile the 2 errors I get in mx
> folder are like this:
> 
> [java] 
> mx/collections/AsyncListView/properties/AsyncListView_createFailedItemFunction
> createFailedItemFunction_test5 Failed AssertMethodValue (method cannot
> be shown)(body:step 2)  method returned Error #1063: Discordancia del
> recuento de argumentos en assets::PagedDataComp1/errorFunction3(). Se
> esperaba 0 y se obtuvo 2., expected Error #1063: Argument count
> mismatch on assets::PagedDataComp1/errorFunction3(). Expected 0, got
> 2.
>      [java] 
> mx/collections/AsyncListView/properties/AsyncListView_createFailedItemFunction
> createFailedItemFunction_test6 Failed AssertMethodValue (method cannot
> be shown)(body:step 2)  method returned Error #1063: Discordancia del
> recuento de argumentos en assets::PagedDataComp1/errorFunction4(). Se
> esperaba 1 y se obtuvo 2., expected Error #1063: Argument count
> mismatch on assets::PagedDataComp1/errorFunction4(). Expected 1, got
> 2.
> 
> 
> As you can see "Discordancia del recuento de argumentos en
> assets::PagedDataComp1/errorFunction4(). Se esperaba 1 y se obtuvo 2"
> is spanish and for that reason to not match with:
> 
> value="Error #1063: Argument count mismatch on
> assets::PagedDataComp1/errorFunction3(). Expected 0, got 2."
> 
> So passing this two errors seems MX folder is passing all with the
> three patches submitted by Jose Barragán (8,9 and 17)
That error is not in the SDK.  I think the player might pick that up from
the OS locales.  One way to fix those tests would be to have the method chop
off everything after the colon.  Then it would be good enough to test that
"Error #1063" is returned.

Another, probably better way is to delete those tests.  It isn't a test of
the SDK code to call something with incorrect number of arguments.

I will spend some time trying to figure out why I am still getting errors in
the mx folder.  It is probably more timing problems.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message