gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] Re: self-contained SWF testcases (was: Re: embed-gravity.swf


From: strk
Subject: [Gnash-dev] Re: self-contained SWF testcases (was: Re: embed-gravity.swf)
Date: Sat, 4 Nov 2006 15:52:28 +0100

On Sat, Nov 04, 2006 at 11:33:02AM +0100, Udo Giacomozzi wrote:
> Hello strk,
> 
> Tuesday, October 31, 2006, 5:05:00 PM, you wrote:
> s> BTW, rather then producing a .cpp file usin MovieTester
> s> for testing it, since we do have control on the sourcecode
> s> (you made it, right?) It will be simpler to make
> s> the SWF file a self-contained testcase instead.
> 
> s> This would basically trace("FAILED: <reason>") 
> s> or trace("PASSED: <reason>") while performing
> s> tests.
> 
> Ok, what do you want to test? _xscale?

Yes, I think so, I would compare _xscale againts the "50" literal
or so... the idea is to have *multiple* tests in a single script
so you could also check other things, like _width/_height of the
loaded movie, as you could check _x,_y for your text alignment
testcase etc..

The first step would be preparing a reusable set of functions
to make this easier (a dejagnu.as - like file but easily usable
from the MM IDE [ w/out relying on CPP preprocessor, in particular]).

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]