Closed
Bug 839740
Opened 11 years ago
Closed 10 years ago
Add Moz2D Unit Tests
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: BenWa, Unassigned)
References
Details
Attachments
(1 file)
1.94 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
This turns out pretty nicely and interleave the output from the Moz2D unittest driver while still running and reporting failures within GTest. This simple wrapper will make these test run once GTest is checked in and added to TBPL. [==========] Running 6 tests from 3 test cases. [----------] Global test environment set-up. [----------] 1 test from MozillaGTestSanity [ RUN ] MozillaGTestSanity.Runs [ OK ] MozillaGTestSanity.Runs (0 ms) [----------] 1 test from MozillaGTestSanity (0 ms total) [----------] 3 tests from TiledLayerBuffer [ RUN ] TiledLayerBuffer.TileStart [ OK ] TiledLayerBuffer.TileStart (0 ms) [ RUN ] TiledLayerBuffer.TileConstructor [ OK ] TiledLayerBuffer.TileConstructor (0 ms) [ RUN ] TiledLayerBuffer.EmptyUpdate [ OK ] TiledLayerBuffer.EmptyUpdate (0 ms) [----------] 3 tests from TiledLayerBuffer (0 ms total) [----------] 2 tests from Moz2D [ RUN ] Moz2D.Point Test (Addition): PASSED Test (Subtraction): PASSED [ OK ] Moz2D.Point (0 ms) [ RUN ] Moz2D.Scaling Test (BasicHalfScale): PASSED Test (DoubleHalfScale): PASSED Test (UnevenHalfScale): PASSED Test (OddStrideHalfScale): PASSED Test (VerticalHalfScale): PASSED Test (HorizontalHalfScale): PASSED Test (MixedHalfScale): PASSED [ OK ] Moz2D.Scaling (4 ms) [----------] 2 tests from Moz2D (4 ms total) [----------] Global test environment tear-down [==========] 6 tests from 3 test cases ran. (4 ms total) [ PASSED ] 6 tests.
Attachment #712066 -
Flags: review?
Reporter | ||
Updated•11 years ago
|
Attachment #712066 -
Flags: review? → review?(bas)
Updated•10 years ago
|
Attachment #712066 -
Flags: review?(bas) → review+
Reporter | ||
Comment 1•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/af458c2178be
Comment 2•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/af458c2178be
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in
before you can comment on or make changes to this bug.
Description
•