RESOLVED FIXED 45161
Add unit tests for interval tree
https://bugs.webkit.org/show_bug.cgi?id=45161
Summary Add unit tests for interval tree
Kenneth Russell
Reported 2010-09-02 19:41:22 PDT
The interval tree being integrated in https://bugs.webkit.org/show_bug.cgi?id=45160 needs unit tests integrated as well.
Attachments
Patch (12.58 KB, patch)
2010-09-02 20:07 PDT, Kenneth Russell
fishd: review+
kbr: commit-queue-
Kenneth Russell
Comment 1 2010-09-02 20:07:07 PDT
Created attachment 66465 [details] Patch This patch won't build until bug 45060 and bug 45160 land, but it should give reviewers an idea of how the tree has been tested.
WebKit Review Bot
Comment 2 2010-09-03 02:07:12 PDT
Darin Fisher (:fishd, Google)
Comment 3 2010-09-03 16:48:17 PDT
Comment on attachment 66465 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=66465&action=prettypatch > WebKit/chromium/tests/PODIntervalTreeTest.cpp:109 > +namespace { nit: add new line after "namespace {" to match the new line above the closing bracket > WebKit/chromium/tests/PODIntervalTreeTest.cpp:150 > +namespace { nit: add new line below this line > WebKit/chromium/tests/PODIntervalTreeTest.cpp:199 > + int len = nextRandom(maximumValue); nit: len -> length > WebKit/chromium/tests/PODIntervalTreeTest.cpp:210 > + int idx = nextRandom(addedElements.size()); nit: idx -> index R=me w/ those nits fixed
Kenneth Russell
Comment 4 2010-09-05 21:54:20 PDT
WebKit Review Bot
Comment 5 2010-09-05 23:15:58 PDT
http://trac.webkit.org/changeset/66809 might have broken Leopard Intel Debug (Tests)
Note You need to log in before you can comment on or make changes to this bug.