On Tue, 12 Jul 2011 12:11:00 -0300 Gustavo Sverzut Barbieri <barbi...@profusion.mobi> said:
> It would be useful to have some references in SVN and also a tool to > diff these files, producing a hint on what's different other than pure > "cmp a b: files differ at byte X". This is done by WebKit, for > instance tom's elm_testsuite.sh is a REALLY simple hack :) its not going to do these things. i have a more complete test suit. i actually have the start of a pretty good test suite that has "commands" to create objects and manipulate them ans then save the current "screenshot" for later comparison. it actually lets u scripot what objects u will use, where to put them, how to modify them etc so we can test all sorts of combinations of objects and transitions of state. it's lurking locally. i sent tasn a copy a bit back. > Another useful idea from WebKit is the virtual dump of the render > tree. This walks the canvas, layers and objects (recursively) to > produce a textual output, that is then able to be diff'ed. This is > simpler to check and diff, also faster to run. Something like: ensure can do this. in theory. though it's languishing. we could roll this right into evas itself though. > Evas #123 100x100: > Layer #456: > Rectangle #1 @0,0 100x100 #ffffffff clipper=NONE > pass_events=TRUE repeat_events=FALSE visible=TRUE > Image #2 @10,10 50x50 #ffffffff clipper=#1 pass_events=TRUE > repeat_events=FALSE visible=TRUE visible=TRUE border=2,2,2,2 > scale_hint=STATIC file=bla key=NONE > Smart #3 @0,0 100x100 #ffffffff clipper=NONE ... > Rectangle #4 ... > Text #5... > > The idea is to create virtual pointers (#1, #2...) so we can reference > them and diff the results in different runs. > > > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -------------------------------------- > MSN: barbi...@gmail.com > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel