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

Unified Diff: tools/android/loading/activity_lens_unittest.py

Issue 2047463002: Set tracing categories explicitly in Clovis and Sandwich (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/android/loading/analyze.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/loading/activity_lens_unittest.py
diff --git a/tools/android/loading/activity_lens_unittest.py b/tools/android/loading/activity_lens_unittest.py
index 839809a253edd012c11e3d70fe215f8cc4034e24..81c5837b0e728f2be37584e86f345afc3184ad4e 100644
--- a/tools/android/loading/activity_lens_unittest.py
+++ b/tools/android/loading/activity_lens_unittest.py
@@ -7,6 +7,7 @@ import copy
import unittest
from activity_lens import (ActivityLens, _EventsTree)
+import clovis_constants
import test_utils
import tracing
@@ -14,13 +15,15 @@ import tracing
class ActivityLensTestCase(unittest.TestCase):
@classmethod
def _EventsFromRawEvents(cls, raw_events):
- tracing_track = tracing.TracingTrack(None)
+ tracing_track = tracing.TracingTrack(None,
+ clovis_constants.DEFAULT_CATEGORIES)
tracing_track.Handle(
'Tracing.dataCollected', {'params': {'value': raw_events}})
return tracing_track.GetEvents()
def setUp(self):
- self.tracing_track = tracing.TracingTrack(None)
+ self.tracing_track = tracing.TracingTrack(None,
+ clovis_constants.DEFAULT_CATEGORIES)
def testGetRendererMainThread(self):
first_renderer_tid = 12345
« no previous file with comments | « no previous file | tools/android/loading/analyze.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698