ImageDiff is old and hasn't been maintained.  Let's try to get ImageDiffAIR
to work.  Try building it yourself from sources.


On 10/26/12 8:19 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:

> In imageDiff.mxml, there's
>
> public function compareBitmaps():void
>         {
>
>             init();
>             ...
> }
>
> The init() function doesn't exist but there is a initLC() function
>
> -----Message d'origine-----
> From: Frédéric THOMAS
> Sent: Friday, October 26, 2012 5:13 PM
> To: flex-dev@incubator.apache.org
> Subject: Re: About Flex runtime
>
> I tried to install the air app and had in french a message saying the file
> was damage.
>
> For ImageDiff, i'm still trying to get why I've got this error
>
> -----Message d'origine-----
> From: Alex Harui
> Sent: Friday, October 26, 2012 5:05 PM
> To: flex-dev@incubator.apache.org
> Subject: Re: About Flex runtime
>
> ImageDiff works as long as both sides have an image that is the same size.
>
> For ImageDiffAIR, did you open the .air file and install it?  You can't just
> run the ImageDiffAIR.swf since it is an AIR app.  What error did you get?
>
>
> On 10/26/12 5:51 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:
>
>> So, now I can compile mustella but the tests with FP 10.3 still fails, I
>> tried to use ImageDiffAIR but the file is damaged, I tried to use
>> ImageDiff
>> too but it has some bugs, one when I ckicked on compare:
>>
>> TypeError: Error #1009: Il est impossible d'accéder à la propriété ou à la
>> méthode d'une référence d'objet nul.
>>     at imageDiff/compareBitmaps()
>>     at imageDiff/___imageDiff_Button3_click()
>>
>>
>> the other one when I click on the last get pixel with the same error.
>>
>>
>> (body:step 2)  compare returned[object BitmapData]
>>      [java] components/Label/styles/Label_styles_tester_Spark
>> Spark_textDecoration_underline_Style_Label Failed CompareB
>> itmap(body:step 2)  compare returned[object BitmapData]
>>      [java] components/Label/styles/Label_styles_tester_Spark
>> Spark_textIndent_0_Style_Label Failed CompareBitmap(body:s
>> tep 2)  compare returned[object BitmapData]
>>      [java] components/Label/styles/Label_styles_tester_Spark
>> Spark_textIndent_20_Style_Label Failed CompareBitmap(body:
>> step 2)  compare returned[object BitmapData]
>>      [java] components/Label/styles/Label_styles_tester_Spark
>> Spark_textIndent_negative_Style_Label Failed CompareBitmap
>> (body:step 2)  compare returned[object BitmapData]
>>      [java]
>>      [java]
>>      [java] =====================================================
>>      [java]     Passes: 89
>>      [java]     Fails: 166
>>      [java] =====================================================
>>      [java]
>>      [java]
>>      [java] Wrote summary to results.txt
>>      [java] Wrote failures to failures.txt
>>
>> BUILD FAILED
>> U:\asf\flex\sdk\develop\mustella\build.xml:1507: The following error
>> occurred while executing this line:
>> U:\asf\flex\sdk\develop\mustella\build.xml:1625: Java returned: 1
>>
>> Total time: 1 minute 27 seconds
>>
>> -----Message d'origine-----
>> From: Frédéric THOMAS
>> Sent: Friday, October 26, 2012 1:55 PM
>> To: flex-dev@incubator.apache.org
>> Subject: Re: About Flex runtime
>>
>> 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:aha...@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" <webdoubl...@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:webdoubl...@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:aha...@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" <webdoubl...@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
>

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

Reply via email to