Closed Bug 693431 Opened 14 years ago Closed 7 years ago

dense array specialized fast-path white-box tests

Categories

(Tamarin Graveyard :: Library, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX
Q1 12 - Brannan

People

(Reporter: pnkfelix, Unassigned)

References

Details

Attachments

(1 file, 4 obsolete files)

A number of bugs (tracked by Bug 690498) have gone undetected because the dense array rewrite introduced several new control paths but those paths were not properly exercised by our test suite. We need a set of glass box tests for this code. I have a patch in progress. I believe it has uncovered two bugs that were otherwise undetected until now. I hope to post the test shortly.
Bravo!
Assignee: nobody → fklockii
Flags: flashplayer-qrb+
Flags: flashplayer-injection+
Flags: flashplayer-bug+
Priority: -- → P3
Target Milestone: --- → Q1 12 - Brannan
Attached patch patch W v1: whitebox tests (obsolete) — Splinter Review
(not asking for feedback or review yet. there's a follow up bug I want to file and try to fix before putting this through the review cycle.)
Attached patch patch W v2: whitebox tests (obsolete) — Splinter Review
Revised comments/documentation. Added separate set of tests to cover holes introduced by delete (as opposed to holes introduced by non-contiguous assignments). Made the boolean flag controlling whether we are including strict array comparison a global constant in the test.
Attachment #567365 - Attachment is obsolete: true
Attached patch patch W v3: whitebox tests (obsolete) — Splinter Review
* Added more initial arrays * Added more test operations * Added timing instrumentation * Narrowed down a couple of the tests to not create such large arrays (to speed up operations that take time proportional to array length)
Attachment #567377 - Attachment is obsolete: true
Attachment #570653 - Flags: review?(dschaffe)
Attached patch patch W v4: whitebox tests (obsolete) — Splinter Review
Added type annotations and uncondtional traversal of indices 0..9 in response to Bug 702262, comment 3.
Attachment #570653 - Attachment is obsolete: true
Attachment #570653 - Flags: review?(dschaffe)
The test became large enough to justify division into separate pieces. The main benefit here is that it is easier to see where time is going as the test runs. It also may be easier to read and extract individual failure cases this way.
Attachment #574317 - Attachment is obsolete: true
It is somewhat shameful that I never got this to the point of landing it. I think either brbaker or dschaffe could take it on. Alternatively, one of the new QE members could probably take it on as a good initial learning task. But for now I will just unassign myself from it.
Assignee: fklockii → nobody
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: