Can't see test case methods in file outline |
||||
Issue descriptionUnlike class methods, test fixtures that are defined such as the IN_PROC_BROWSER_TEST_F tests in https://cs.chromium.org/chromium/src/chrome/browser/notifications/platform_notification_service_interactive_uitest.cc do not appear in the left-hand Outline view, so you can't see an overview of what tests exist all in one place, or navigate between them easily. I use the Outline view when viewing production code all the time, so it's very annoying that I have to resort to ctrl-f-ing for "TEST_F" to see what's there in test files.
,
May 14 2018
I have an internal CL pending that should solve this, assuming it makes it through code review. Note that tests that use a plain TEST or TEST_F macro work correctly already, e.g.: https://cs.chromium.org/chromium/src/base/bind_unittest.cc My planned change will update the lexer to work with any macro which has TEST or TEST_F as a suffix.
,
May 14 2018
,
May 14 2018
CL submitted. I'll update this once the change has made it to production.
,
May 14 2018
Awesome, thanks!
,
May 24 2018
This change is now live in production.
,
May 24 2018
Nice!! thanks :) |
||||
►
Sign in to add a comment |
||||
Comment 1 by flyboy@chromium.org
, Nov 27 2017