Okay, verified there are no duplicate test names. I added
tests/resources/ResourceManager/SWFs/ResourceManagerApp.compile which contains:
-locale=fr_FR,ja_JP,en_US,de_DE
-library-path+=${sdk.dir}/frameworks/locale/{locale}
As the tests do use those for getting resource bundles. Still getting the same
error at ResourceManager_Methods_findResourceBundleWithResource.mxml:136.
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 :)
Chris
> From: aha...@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" <chrsm...@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
> >IncludeFileLocation$/init()[C:\Users\cmartin\Documents\GitHub\flex-sdk\mus
> >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 so
> 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 they
> >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 locale.
>
> Good luck, have fun, and thanks for working on it.
>
> -Alex
>