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

Unified Diff: systrace/profile_chrome/perf_tracing_agent_unittest.py

Issue 2295913002: Enable some profile_chrome unit tests on Trybots (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: Add Chris as owner of Systrace bin directory Created 4 years, 3 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 | « systrace/profile_chrome/fake_agent_2.py ('k') | systrace/profile_chrome/profiler_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: systrace/profile_chrome/perf_tracing_agent_unittest.py
diff --git a/systrace/profile_chrome/perf_tracing_agent_unittest.py b/systrace/profile_chrome/perf_tracing_agent_unittest.py
index dae236d4183a38e6ca48df18022ea0e9637895b1..8f8a7f7a766b9729c1e6c68b2620bf21fa8fdd75 100644
--- a/systrace/profile_chrome/perf_tracing_agent_unittest.py
+++ b/systrace/profile_chrome/perf_tracing_agent_unittest.py
@@ -7,9 +7,11 @@ import json
from profile_chrome import agents_unittest
from profile_chrome import perf_tracing_agent
from profile_chrome import ui
+from systrace import decorators
class PerfProfilerAgentTest(agents_unittest.BaseAgentTest):
+ @decorators.ClientOnlyTest
def testGetCategories(self):
if not perf_tracing_agent.PerfProfilerAgent.IsSupported():
return
@@ -17,6 +19,9 @@ class PerfProfilerAgentTest(agents_unittest.BaseAgentTest):
perf_tracing_agent.PerfProfilerAgent.GetCategories(self.device)
assert 'cycles' in ' '.join(categories)
+ # TODO(washingtonp): Try enabling this test for the SimpleperfProfilerAgent,
+ # which will be added later.
+ @decorators.Disabled
def testTracing(self):
if not perf_tracing_agent.PerfProfilerAgent.IsSupported():
return
« no previous file with comments | « systrace/profile_chrome/fake_agent_2.py ('k') | systrace/profile_chrome/profiler_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698