Closed
Bug 489481
Opened 15 years ago
Closed 15 years ago
Get C++ tests for our C++ helper classes
Categories
(Toolkit :: Storage, defect)
Toolkit
Storage
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: sdwilsh, Assigned: sdwilsh)
Details
Attachments
(1 file, 1 obsolete file)
26.12 KB,
patch
|
Details | Diff | Splinter Review |
I'd like to see our C++ helper objects and our noscript methods tested with some C++ tests.
Assignee | ||
Updated•15 years ago
|
Summary: Get C++ tests for our noscript and C++ helper classes → Get C++ tests for our C++ helper classes
Assignee | ||
Comment 1•15 years ago
|
||
Also fixes a bug found in mozStorageTransaction. I don't think anybody was really depending on it's currently useless behavior...
Assignee: nobody → sdwilsh
Status: NEW → ASSIGNED
Assignee | ||
Updated•15 years ago
|
Whiteboard: [needs review asuth]
Assignee | ||
Comment 2•15 years ago
|
||
Comment on attachment 374341 [details] [diff] [review] v1.0 I seem to have actually forgotten to request review here, but I'm going to switch to vlad in hopes of freeing up asuth a bit. vlad - this is mostly new tests and getting rid of an old unused test (that has coverage with xpcshell). There are some minor code changes that were required due to bugs found while writing the tests.
Attachment #374341 -
Flags: review?(vladimir)
Assignee | ||
Updated•15 years ago
|
Whiteboard: [needs review asuth] → [needs review vlad]
Assignee | ||
Updated•15 years ago
|
Attachment #374341 -
Flags: review?(vladimir) → review?(bugmail)
Assignee | ||
Updated•15 years ago
|
Whiteboard: [needs review vlad] → [needs review asuth]
Comment 3•15 years ago
|
||
Comment on attachment 374341 [details] [diff] [review] v1.0 but storage1's name was so catchy! I get warnings like so: storage_test_harness_tail.h:60: warning: ISO C++ does not support the ‘z’ printf length modifier Don't know if they will make bsmedberg's warning detector angry at you. Arguably you could just use an unsigned int for gTotalTests/gPassedTests and lose the 'z' specifier. nit: s/innterTransaction/innerTransaction/ (no 't')
Attachment #374341 -
Flags: review?(bugmail) → review+
Assignee | ||
Comment 4•15 years ago
|
||
(In reply to comment #3) > I get warnings like so: > storage_test_harness_tail.h:60: warning: ISO C++ does not support the ‘z’ > printf length modifier hrm - I didn't get those. What platform/version of gcc are you on?
Whiteboard: [needs review asuth] → [needs new patch]
Comment 5•15 years ago
|
||
(In reply to comment #4) > hrm - I didn't get those. What platform/version of gcc are you on? Ubuntu 9.04 amd64 g++ (Ubuntu 4.3.3-5ubuntu4) 4.3.3
Assignee | ||
Comment 6•15 years ago
|
||
Addresses review comments. Also fixed the license block which attributed this to Oracle still (oops).
Attachment #374341 -
Attachment is obsolete: true
Assignee | ||
Comment 7•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/9c62b2169f76 Nobody seemed to be too worried about the %z for the printf on irc.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [needs new patch]
Target Milestone: --- → mozilla1.9.2a1
Comment 8•15 years ago
|
||
Yeah, I don't care about the warning either, just that the automated warning tool might get on your case.
You need to log in
before you can comment on or make changes to this bug.
Description
•