Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Issue 2967013002: Be explicit about namespace testing to not mix it with blink::testing (Closed)

Created:
3 years, 5 months ago by Daniel Bratell
Modified:
3 years, 5 months ago
Reviewers:
haraken, Dirk Pranke
CC:
chromium-reviews, shans, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, yzshen+watch_chromium.org, dougt+watch_chromium.org, dmazzoni+watch_chromium.org, kinuko+watch, mfoltz+watch_chromium.org, rwlbuis, krit, drott+blinkwatch_chromium.org, aboxhall, Aaron Boodman, aboxhall+watch_chromium.org, Justin Novosad, abarth-chromium, je_julie, blink-reviews-bindings_chromium.org, blink-reviews, gogerald+paymentswatch_chromium.org, Eric Willigers, rjwright, dtseng+watch_chromium.org, yuzo+watch_chromium.org, rouslan+payments_chromium.org, dmazzoni, aleventhal+watch_chromium.org, darktears, piman+watch_chromium.org, jsbell+idb_chromium.org, darin (slow to review), tyoshino+watch_chromium.org, blink-reviews-animation_chromium.org, nektar+watch_chromium.org, pdr+graphicswatchlist_chromium.org, fmalita+watch_chromium.org, blink-layers+watch_chromium.org, yhirano+watch_chromium.org, nektarios, cmumford, mahmadi+paymentswatch_chromium.org, Stephen Chennney, scheduler-bugs_chromium.org, sebsg+paymentswatch_chromium.org, platform-architecture-syd+reviews-web_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Be explicit about namespace testing to not mix it with blink::testing There are two namespaces named testing used in Blink unit tests, one from gtest and one internal helper namespace. If both are visible then the gtest testing namespace won't be used unless prepended with ::, as is already done in large parts of the code. BUG=739121 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2967013002 Cr-Commit-Position: refs/heads/master@{#484966} Committed: https://chromium.googlesource.com/chromium/src/+/c04dbb714b62253db69c04d7671b2c58af1fccf9

Patch Set 1 #

Patch Set 2 : More ::testing #

Patch Set 3 : More ::testing for modules #

Patch Set 4 : Rebased #

Patch Set 5 : Dropped mojo parts that need another review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1215 lines, -1202 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/ActivityLoggerTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObjectTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/credentialmanager/CredentialsContainerTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/MockWebIDBDatabase.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequestDetailsTest.cpp View 1 2 2 chunks +705 lines, -705 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentsValidatorsTest.cpp View 1 2 9 chunks +66 lines, -63 lines 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/BaseAudioContextTest.cpp View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/websockets/DOMWebSocketTest.cpp View 1 2 1 chunk +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannelTest.cpp View 1 2 4 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/PODArenaTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/PODFreeListArenaTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/TimerTest.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/WebIconSizesParserTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/bindings/RuntimeCallStatsTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/blob/BlobBytesProviderTest.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/blob/BlobDataTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/fonts/OrientationIteratorTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/fonts/ScriptRunIteratorTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/SmallCapsIteratorTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/geometry/FloatBoxTestHelpers.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp View 1 chunk +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ContiguousContainerTest.cpp View 5 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/ImageFilterBuilderTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp View 11 chunks +12 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContextTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversionTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/CullRectTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItemTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/loader/LinkHeaderTest.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/base/intrusive_heap_unittest.cc View 4 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator_unittest.cc View 8 chunks +32 lines, -32 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_perftest.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_unittest.cc View 3 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/base/task_queue_selector_unittest.cc View 1 11 chunks +19 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/base/thread_load_tracker_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/base/time_domain_unittest.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/base/work_queue_sets_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/base/work_queue_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/child/idle_canceled_delayed_task_sweeper_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/child/idle_helper_unittest.cc View 1 9 chunks +17 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/child/scheduler_helper_unittest.cc View 4 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/child/webthread_impl_for_worker_scheduler_unittest.cc View 1 3 chunks +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/child/worker_global_scope_scheduler_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/child/worker_scheduler_impl_unittest.cc View 7 chunks +12 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/auto_advancing_virtual_time_domain_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/budget_pool_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/deadline_task_runner_unittest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/idle_time_estimator_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/render_widget_signals_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl_unittest.cc View 1 2 3 79 chunks +155 lines, -154 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/task_cost_estimator_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/task_duration_metric_reporter_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/user_model_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/web_frame_scheduler_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/web_view_scheduler_impl_unittest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/webthread_impl_for_renderer_scheduler_unittest.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableAreaTest.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeAuraTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayTest.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/CompositorTest.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/text/CharacterTest.cpp View 1 1 chunk +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/text/TextBreakIteratorTest.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/weborigin/OriginAccessEntryTest.cpp View 1 6 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/weborigin/SecurityOriginTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/ChromeClientImplTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/LocalFrameClientImplTest.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 28 (19 generated)
Daniel Bratell
haraken, can you take a look? In general, maybe it would have been better to ...
3 years, 5 months ago (2017-07-07 12:25:55 UTC) #11
haraken
LGTM
3 years, 5 months ago (2017-07-07 12:52:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2967013002/40001
3 years, 5 months ago (2017-07-07 13:55:41 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/304030) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 5 months ago (2017-07-07 13:59:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2967013002/60001
3 years, 5 months ago (2017-07-07 14:21:05 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/483215)
3 years, 5 months ago (2017-07-07 14:32:15 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2967013002/80001
3 years, 5 months ago (2017-07-07 15:42:32 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/c04dbb714b62253db69c04d7671b2c58af1fccf9
3 years, 5 months ago (2017-07-07 17:37:58 UTC) #27
Dirk Pranke
3 years, 5 months ago (2017-07-07 20:02:03 UTC) #28
Message was sent while issue was closed.
lgtm also.

Powered by Google App Engine
This is Rietveld 408576698