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

Unified Diff: systrace/profile_chrome/chrome_tracing_agent_unittest.py

Issue 2276263003: Pass in custom options to Systrace agents (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: Created 4 years, 4 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
Index: systrace/profile_chrome/chrome_tracing_agent_unittest.py
diff --git a/systrace/profile_chrome/chrome_tracing_agent_unittest.py b/systrace/profile_chrome/chrome_tracing_agent_unittest.py
index edae8afb8414664ec292ae6efce5158d1db6dbe6..fcbce2905a697affb4e5c37edd109da3457bf896 100644
--- a/systrace/profile_chrome/chrome_tracing_agent_unittest.py
+++ b/systrace/profile_chrome/chrome_tracing_agent_unittest.py
@@ -19,14 +19,14 @@ class ChromeAgentTest(agents_unittest.BaseAgentTest):
self.assertTrue(categories[1])
def testTracing(self):
- categories = '*'
ring_buffer = False
agent = chrome_tracing_agent.ChromeTracingAgent(self.device,
self.package_info,
- categories,
ring_buffer)
- agent.StartAgentTracing(None, None)
+ agent.StartAgentTracing(chrome_tracing_agent.ChromeConfig(None, None, None,
+ None, None, None,
+ None, None))
agent.StopAgentTracing()
result = agent.GetResults()
json.loads(result.raw_data)

Powered by Google App Engine
This is Rietveld 408576698