[Webkit-unassigned] [Bug 68079] Set but unused variables cleanup in v8 bindings (gcc 4.6)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 19 10:54:15 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=68079





--- Comment #10 from Adam Barth <abarth at webkit.org>  2011-09-19 10:54:15 PST ---
> Oh, I'd be happy to write them, but have no clue where to get started. I haven't found any common place in the source code where unit tests are supposed to be. 

Almost all the tests are in the LayoutTests directory.  They aren't unit tests, but rather medium-sized end-to-end tests.

> I'll be very appreciated if you give me some tips.

Here's some documentation about writing tests:

http://www.webkit.org/quality/testing.html
http://www.webkit.org/quality/testwriting.html

For the WebSocket change, you'll probably want to add your test somewhere in this directory:

http://trac.webkit.org/browser/trunk/LayoutTests/http/tests/websocket/tests

For the HTMLOptionsCollection, I'm not entirely sure which tests cover that object, but you can probably find some by looking at the history of the file.  That should give you some inspiration about how and where to add the tests.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list