WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
56835
Web Inspector: Add tests for HeapSnapshot module
https://bugs.webkit.org/show_bug.cgi?id=56835
Summary
Web Inspector: Add tests for HeapSnapshot module
Mikhail Naganov
Reported
2011-03-22 08:15:52 PDT
The logic is non-trivial, and tests are required.
Attachments
patch
(18.71 KB, patch)
2011-03-22 08:21 PDT
,
Mikhail Naganov
mnaganov
: commit-queue-
Details
Formatted Diff
Diff
reuse more capabilities of test infrastructure
(15.27 KB, patch)
2011-03-24 06:01 PDT
,
Mikhail Naganov
pfeldman
: review+
mnaganov
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Mikhail Naganov
Comment 1
2011-03-22 08:21:34 PDT
Created
attachment 86463
[details]
patch
Mikhail Naganov
Comment 2
2011-03-24 06:01:35 PDT
Created
attachment 86761
[details]
reuse more capabilities of test infrastructure
Pavel Feldman
Comment 3
2011-03-24 11:12:55 PDT
Comment on
attachment 86761
[details]
reuse more capabilities of test infrastructure View in context:
https://bugs.webkit.org/attachment.cgi?id=86761&action=review
> LayoutTests/http/tests/inspector/heap-snapshot-test.js:1 > +var initialize_HeapSnapshotTest = function() {
You should place your utility test into inspector/profiler since you don't have tests that require network interaction / serving off http
> LayoutTests/inspector/profiler/heap-snapshot-expected.txt:4 > +Running: heapSnapshotNodeSimpleTest
It would be nice if your tests were printing something to make sure something is happening.
Mikhail Naganov
Comment 4
2011-03-25 00:25:10 PDT
(In reply to
comment #3
)
> (From update of
attachment 86761
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=86761&action=review
> > > LayoutTests/http/tests/inspector/heap-snapshot-test.js:1 > > +var initialize_HeapSnapshotTest = function() { > > You should place your utility test into inspector/profiler since you don't have tests that require network interaction / serving off http
Moved.
> > > LayoutTests/inspector/profiler/heap-snapshot-expected.txt:4 > > +Running: heapSnapshotNodeSimpleTest > > It would be nice if your tests were printing something to make sure something is happening.
They will scream if something is wrong. I think it's enough that the framework prints the name of the test currently running.
Mikhail Naganov
Comment 5
2011-03-25 00:30:02 PDT
Manually committed
http://trac.webkit.org/changeset/81946
2011-03-24 Mikhail Naganov <
mnaganov@chromium.org
> Reviewed by Pavel Feldman. Web Inspector: Add tests for HeapSnapshot module.
https://bugs.webkit.org/show_bug.cgi?id=56835
* http/tests/inspector/heap-snapshot-test.js: Added. (initialize_HeapSnapshotTest.InspectorTest.createHeapSnapshotMockObject): (initialize_HeapSnapshotTest.InspectorTest.createHeapSnapshotMock): (initialize_HeapSnapshotTest): * inspector/profiler/heap-snapshot-expected.txt: Added. * inspector/profiler/heap-snapshot.html: Added.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug