flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Could not find compiled locale with mustella ResourceManager tests
Date Fri, 12 Dec 2014 00:33:32 GMT
OK, I wonder if the exception is fooling the output report.

So, let’s just try to fix the test.  The test run should also leave a
ResourceManagerApp.lnk.xml file in the SWFs folder.  Open that and you
should be able to find en_US/containers.properties etc.  Is
fr_FR/containers.properties or any mention of fr_FR in there if you have
the .compile file?

Make sure the .compile file doesn’t have some other hidden suffix on it.

I’ll try it myself.

On 12/11/14, 3:44 PM, "Chris Martin" <chrsmrtn@outlook.com> wrote:

>Okay, verified there are no duplicate test names.  I added
>tests/resources/ResourceManager/SWFs/ResourceManagerApp.compile which
>As the tests do use those for getting resource bundles.  Still getting
>the same error at 
>I don't think this would have any affect but I also did add a
>ResourceManager_Methods_findResourceBundleWithResource.compile file next
>to ResourceManager_Methods_findResourceBundleWithResource.mxml that
>contains the same value as above.  That too didn't have an effect.
>I have a sneaky suspicion that I'm doing it wrong :)
>> From: aharui@adobe.com
>> To: dev@flex.apache.org
>> Subject: Re: Could not find compiled locale with mustella
>>ResourceManager tests
>> Date: Thu, 11 Dec 2014 22:03:06 +0000
>> On 12/11/14, 1:45 PM, "Chris Martin" <chrsmrtn@outlook.com> wrote:
>> >Sweet!  Unfortunately even running with the -failures flag, the test
>> >still fails, but for a different reason.
>> > 
>> >Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL:
>> >file:///c:/tmp/IncludeList.txt
>> > at 
>> >tella\as3\src\mustella\IncludeFileLocation.as:70]
>> On Windows, the -failures switch should cause some code to write to
>> c:/tmp/IncludeList.txt, then the SWF should try to read from there.  If
>> you have security setups blocking that, there could be issues.
>> >One thing that I have noticed is that the number of passed tests can
>> >sometimes be 14 and other times 8.  So I think that the test for
>> >ResourceManager halts when it encounters an actionscript exception.  I
>> >assume this is only the case because of the nature of the failure.
>> The test environment may not be able to fully recover from an exception
>> it doesn’t make sense to keep running tests.  There could be popups left
>> on the screen, etc.
>> >>try to make these changes?  I can try to find time to do it otherwise.
>> > 
>> >Yeah I can take a crack at it. Do I need to adjust the test names so
>> >are unique as well as add in the .compile files as needed?
>> First, make sure I’m right and that there are duplicate test names and
>> make them unique.  Then see what you need to do to fix the failing test,
>> which I would guess requires a .compile file to include the fr_FR
>> Good luck, have fun, and thanks for working on it.
>> -Alex		 	   		  

View raw message