You are correct. I wonder why we didn't hit this earlier?
I will make this change.
On 10/26/12 4:55 AM, "Frédéric THOMAS" <webdoublefx@hotmail.com> wrote:
> In SwfLoaderTestAdapter, it should be "compm.compile(loader_mxml_file, new
> ArrayList(Arrays.asList(args)));" instead of
> "compm.compile(loader_mxml_file, args);" because the compile method of
> CompileMxmlUtils is defined like that "public void compile(String
> mxml,ArrayList optionalArgs) throws Exception", the optionalArgs is defined
> as an ArrayList whereas args is defined as String []
>
> -----Message d'origine-----
> From: Frédéric THOMAS
> Sent: Friday, October 26, 2012 1:08 PM
> To: flex-dev@incubator.apache.org
> Subject: Re: About Flex runtime
>
> I tried twice from yesterday to checkout de develop branch, once on my
> computer at work, on at me, in both cases, after compiling the sdk, I tried
> to run the tests and had that:
>
> $ sh mini_run.sh tests/components/Label
> Skipping testcase check
> Doing a regular mini run
> Buildfile: U:\asf\flex\sdk\develop\mustella\build.xml
> [echo] JAVA_HOME: C:/Program Files
> (x86)/Java/jdk1.6.0_33
> [echo] FLASHPLAYER_DEBUGGER: T:\opt\flashplayer-10.3.183.29
> [echo] sdk.dir: U:\asf\flex\sdk\develop\mustella/..
> [echo] air.sdk.dir: U:\adobe\air\3.1
> [echo] mustella exclude file:
> U:/asf/flex/sdk/develop/mustella/tests/ExcludeListWin.txt
>
> cleanswfs:
>
> clean:
> [echo] Deleting old results and files from previous testsuite build
>
> handle_adt_jar:
>
> prepare:
> [echo] Preparing testsuite.
>
> prepare:
> [echo] Creating build directory...
>
> compile-mustella:
> [echo] Compiling mustella source code...
> [javac] U:\asf\flex\sdk\develop\mustella\java\src\build.xml:79: warning:
> 'includeantruntime' was not set, defaulting
> to build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 13 source files to
> U:\asf\flex\sdk\develop\mustella\classes
> [javac]
> U:\asf\flex\sdk\develop\mustella\java\src\mustella\SwfLoaderTestAdapter.java:1
> 01:
> cannot find symbol
> [javac] symbol : method compile(java.lang.String,java.lang.String[])
> [javac] location: class utils.CompileMxmlUtils
> [javac] compm.compile(loader_mxml_file, args);
> [javac] ^
> [javac] 1 error
>
> BUILD FAILED
> U:\asf\flex\sdk\develop\mustella\build.xml:896: The following error occurred
> while executing this line:
> U:\asf\flex\sdk\develop\mustella\java\src\build.xml:79: Compile failed; see
> the compiler error output for details.
>
> Total time: 3 seconds
>
>
> What's wrong ?
>
>
>
> -----Message d'origine-----
> From: Frédéric THOMAS
> Sent: Friday, October 26, 2012 2:57 AM
> To: flex-dev@incubator.apache.org
> Subject: Re: About Flex runtime
>
> unfortunatly, the only things I had time to do today was checking out the
> develop and trunk branch once more and even if I was able to build them
> easily, as soon as I tried to run the Mustella tests, I had java errors,
> I'll try once again tomorrow but today, even if it was supposed to be
> simple, everythings worked in the wrong way.
>
> -----Message d'origine-----
> From: Frédéric THOMAS
> Sent: Wednesday, October 24, 2012 7:09 PM
> To: flex-dev@incubator.apache.org
> Subject: RE: About Flex runtime
>
> Ok, I'll do that tomorrow now cuz' it's later here now, need to go back
> home, I'll keep in touch.
>
> Fred
>
> -----Original Message-----
> From: Alex Harui [mailto:aharui@adobe.com]
> Sent: Wednesday, October 24, 2012 6:59 PM
> To: flex-dev@incubator.apache.org
> Subject: Re: About Flex runtime
>
> Sync up with SVN and try again. Carol put in a check to make sure you are
> using embedded fonts.
>
> It would be unfortunate if there are significant rendering differences on
> 10.3. Use the ImageDiffAIR tool in the mustella/as3 directory and see if
> the differences are just in edges of the glyphs.
>
>
> On 10/24/12 9:31 AM, "Frédéric THOMAS" <webdoublefx@hotmail.com> wrote:
>
>> I rebuilt the framework except I changed the playerglobal and the
>> flashplayer debug version to 11.1 instead of 10.3 :
>>
>> [java] =====================================================
>> [java] Failed:
>> [java] =====================================================
>> [java] components/Label/styles/Label_styles_tester_Spark
>> Spark_fontSize_100_Style_Label Failed CompareBitmap(body:step 2)
>> compare retu rned[object BitmapData]
>> [java]
>> [java]
>> [java] =====================================================
>> [java] Passes: 256
>> [java] Fails: 1
>> [java] =====================================================
>> [java]
>> [java]
>> [java] Wrote summary to results.txt
>> [java] Wrote failures to failures.txt
>>
>>
>> In flashlog:
>>
>> TestCase Start:
>> components/Label/styles/Label_styles_tester_Spark$Spark_textIndent_neg
>> ative_
>> Style_Label
>> sending:
>> http://localhost:9999/testCaseStart?components/Label/styles/Label_styl
>> es_tes ter_Spark$Spark_textIndent_negative_Style_Label at: Wed Oct 24
>> 18:24:22
>> GMT+0200 2012
>> [Event type="open" bubbles=false cancelable=false eventPhase=2]
>> [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false
>> eventPhase=2 status=200 responseURL=null] [Event type="complete"
>> bubbles=false cancelable=false eventPhase=2]
>> CompareBitmap: No ConditionalValues found. configID is null
>> readPNG:requesting url:
>> file:///U|/sources/asf/flex/sdk/mustella/tests/components/Label/styles
>> /basel ines/textIndent_negative_Style_Label_Spark.png
>> RESULT: scriptName=components/Label/styles/Label_styles_tester_Spark
>> id=Spark_textIndent_negative_Style_Label result=pass elapsed=216
>> phase=body
>> started=1351095862392 extraInfo= msg=
>> sending:
>> http://localhost:9999/testCaseResult?scriptName=components/Label/style
>> s/Labe
>> l_styles_tester_Spark&id=Spark_textIndent_negative_Style_Label&result=
>> pass&e lapsed=216&phase=body&started=1351095862392&extraInfo=&msg=
at:
>> Wed Oct 24
>> 18:24:22 GMT+0200 2012
>> [Event type="open" bubbles=false cancelable=false eventPhase=2]
>> [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false
>> eventPhase=2 status=200 responseURL=null] [Event type="complete"
>> bubbles=false cancelable=false eventPhase=2] testComplete
>> ScriptComplete: completely done
>> sending: http://localhost:9999/ScriptComplete?0 at: Wed Oct 24
>> 18:24:22
>> GMT+0200 2012
>>
>>
>>
>> Doesn't it mean the playerglobal and the flashplayer debug version is
>> the clue ?
>>
>> Fred
>>
>>
>>
>> -----Original Message-----
>> From: Frédéric THOMAS [mailto:webdoublefx@hotmail.com]
>> Sent: Wednesday, October 24, 2012 6:14 PM
>> To: flex-dev@incubator.apache.org
>> Subject: RE: About Flex runtime
>>
>> I've still got the console logs but it doesn't tell too much, for the
>> last error :
>>
>> [java] components/Label/styles/Label_styles_tester_Spark
>> Spark_textIndent_negative_Style_Label Failed CompareBitmap(body:step
>> 2) compa re returned[object BitmapData]
>>
>> In flashlogs, I guess the relative trace is:
>>
>> TestCase Start:
>> components/Label/styles/Label_styles_tester_Spark$Spark_textIndent_neg
>> ative_
>> Style_Label
>> sending:
>> http://localhost:9999/testCaseStart?components/Label/styles/Label_styl
>> es_tes ter_Spark$Spark_textIndent_negative_Style_Label at: Wed Oct 24
>> 17:11:33
>> GMT+0200 2012
>> [Event type="open" bubbles=false cancelable=false eventPhase=2]
>> [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false
>> eventPhase=2 status=200 responseURL=null] [Event type="complete"
>> bubbles=false cancelable=false eventPhase=2]
>> CompareBitmap: No ConditionalValues found. configID is null
>> readPNG:requesting url:
>> file:///U|/sources/asf/flex/sdk/mustella/tests/components/Label/styles
>> /basel ines/textIndent_negative_Style_Label_Spark.png
>> image size: 738
>> writing url:
>> http://localhost:9998/baselines/baseline.jsp?filename=u:/sources/asf/f
>> lex/sd
>> k/mustella/tests/components/Label/SWFs/../styles/baselines/textIndent_
>> negati
>> ve_Style_Label_Spark.png.bad.png
>> baseline write successful [Event type="complete" bubbles=false
>> cancelable=false eventPhase=2]
>> RESULT: scriptName=components/Label/styles/Label_styles_tester_Spark
>> id=Spark_textIndent_negative_Style_Label result=fail elapsed=217
>> phase=body
>> started=1351091493579
>> extraInfo=/components/Label/styles/baselines/textIndent_negative_Style
>> _Label _Spark.png.bad.png msg=CompareBitmap(body:step 2) compare
>> returned[object BitmapData]
>> sending:
>> http://localhost:9999/testCaseResult?scriptName=components/Label/style
>> s/Labe
>> l_styles_tester_Spark&id=Spark_textIndent_negative_Style_Label&result=
>> fail&e
>> lapsed=217&phase=body&started=1351091493579&extraInfo=/components/Labe
>> l/styl
>> es/baselines/textIndent_negative_Style_Label_Spark.png.bad.png&msg=Com
>> pareBi
>> tmap%28body%3Astep%202%29%20%20compare%20returned%5Bobject%20BitmapDat
>> a%5D
>> at: Wed Oct 24 17:11:33 GMT+0200 2012
>> [Event type="open" bubbles=false cancelable=false eventPhase=2]
>> [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false
>> eventPhase=2 status=200 responseURL=null] [Event type="complete"
>> bubbles=false cancelable=false eventPhase=2] testComplete
>>
>> That's it and that's the same kind for the others.
>>
>> For the embedded font, I'm not sure about what you are talking, if it
>> is the flex-fontkit.jar, I've got it.
>>
>> Fred
>>
>> -----Original Message-----
>> From: Alex Harui [mailto:aharui@adobe.com]
>> Sent: Wednesday, October 24, 2012 5:53 PM
>> To: flex-dev@incubator.apache.org
>> Subject: Re: About Flex runtime
>>
>>
>>
>>
>> On 10/24/12 8:20 AM, "Frédéric THOMAS" <webdoublefx@hotmail.com> wrote:
>>
>>> I tried to run "mini_run.sh -all" on Apache "Flex 4.8.0 FP10.3 en_US"
>>> but had some troubles then I tried with "mini_run.sh
>> tests/components/Label"
>>> only :
>>>
>>> [java]
>>> [java]
>>> [java] =====================================================
>>> [java] Passes: 89
>>> [java] Fails: 168
>>> [java] =====================================================
>>> [java]
>>> [java]
>>> [java] Wrote summary to results.txt
>>> [java] Wrote failures to failures.txt
>>>
>> All tests are passing for Peter, Carol and I. Next time send the
>> failures information from the console log just before this summary.
>> It tells more about what failed.
>>
>> My guess is that you haven't installed the embedded font libraries.
>> All mustella tests should use embedded fonts in order to render more
>> consistently across OS's.
>>
>> --
>> Alex Harui
>> Flex SDK Team
>> Adobe Systems, Inc.
>> http://blogs.adobe.com/aharui
>>
>>
>>
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
>
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui
|