WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
147729
Web Inspector: move LayoutTests/inspector-protocol/ tests to LayoutTests/inspector/
https://bugs.webkit.org/show_bug.cgi?id=147729
Summary
Web Inspector: move LayoutTests/inspector-protocol/ tests to LayoutTests/insp...
Blaze Burg
Reported
2015-08-06 10:08:48 PDT
Joe and I came up with the following organization. All inspector tests belong under LayoutTests/inspector/, regardless of the test harness that is used. The harness is a per-test choice, determined by which file is included (protocol-test.js or inspector-test.js). Most tests are arranged according to the domain that they exercise. inspector/ dom/ dom-debugger/ debugger/ runtime/ ... unittests/ protocol/ unittests/ will contain all tests not specific to any protocol domain or methods, such as the unit tests for AsyncTestSuite, EventListener, and other classes. protocol/ will contain tests for the protocol layer, such as tests for InspectorBackend and error messages sent by the backend.
Attachments
Proposed Fix
(752.79 KB, patch)
2015-08-06 20:34 PDT
,
Blaze Burg
timothy
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Timothy Hatcher
Comment 1
2015-08-06 13:29:35 PDT
I would go with unit-tests. unit tests just seems odd.
Blaze Burg
Comment 2
2015-08-06 20:34:58 PDT
Created
attachment 258441
[details]
Proposed Fix
Joseph Pecoraro
Comment 3
2015-08-07 11:22:59 PDT
Comment on
attachment 258441
[details]
Proposed Fix I think this can lead to confusion. Now LayoutTests/inspector has some tests that use 1 path (protocol-test) and other tests that use another path (inspector-test) both have "InspectorTest.foo" that behave differently.
Blaze Burg
Comment 4
2015-08-07 11:33:30 PDT
Committed
r188142
: <
http://trac.webkit.org/changeset/188142
>
Blaze Burg
Comment 5
2015-08-07 11:38:19 PDT
(In reply to
comment #3
)
> Comment on
attachment 258441
[details]
> Proposed Fix > > I think this can lead to confusion. Now LayoutTests/inspector has some tests > that use 1 path (protocol-test) and other tests that use another path > (inspector-test) both have "InspectorTest.foo" that behave differently.
I would be happy to rename InspectorTest from protocol-test.js to ProtocolTest. There is plenty of de-duplication that we should do, and now it's more obvious where we need to improve.
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