RESOLVED WONTFIX31590
[Qt] unify resources used in WebKit/qt/tests/
https://bugs.webkit.org/show_bug.cgi?id=31590
Summary [Qt] unify resources used in WebKit/qt/tests/
Antonio Gomes
Reported 2009-11-17 08:19:38 PST
Currently many autotests load their resources from external local files. see: $ cd WebKit/qt/tests/ $ ls qwebelement/ image.png style2.css style.css ... $ ls qwebframe/ image.png resources style.css test1.html test2.html ... $ ls qwebhistory/data/ page1.html page2.html page3.html page4.html page5.html page6.html $ ls qwebpage/frametest/ frame_a.html iframe2.html iframe3.html iframe.html index.html $ ls qwebview/data/ frame_a.html index.html $ ls resources/ test.swf It would be good to unify all of them into a single WebKit/qt/tests/resources/ directory and make all tests to use it.
Attachments
Antonio Gomes
Comment 1 2010-01-19 11:36:15 PST
i can look at that.
Benjamin Poulain
Comment 2 2010-01-20 00:51:26 PST
Does it really make sense to group them? If there is not any resource that is a copy from another test, I would keep the resource close the where they are used.
Antonio Gomes
Comment 3 2010-01-22 11:53:05 PST
(In reply to comment #2) > Does it really make sense to group them? > If there is not any resource that is a copy from another test, I would keep the > resource close the where they are used. in fact, idea would be get the resources currently used more organized. i do not know if just unifying them all is the plan here, but as you said, avoiding duplication, among others ... @simon, benjamin: do you thing there is room for improvements here ?
Benjamin Poulain
Comment 4 2010-01-24 07:26:50 PST
(In reply to comment #3) > i do not know if just unifying them all is the plan here, but as you said, > avoiding duplication, among others ... > > @simon, benjamin: do you thing there is room for improvements here ? I think that make sense for the image and the swf, but I would not change the .html. Otherwise, when someone updates the html to extend a test, that could break another test.
Antonio Gomes
Comment 5 2010-01-25 04:46:41 PST
> I think that make sense for the image and the swf, but I would not change the > .html. > > Otherwise, when someone updates the html to extend a test, that could break > another test. right. so there is no much gain from doing that, i believe.
Note You need to log in before you can comment on or make changes to this bug.