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

Unified Diff: systrace/profile_chrome/atrace_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 never-run decorator to perf agent as well 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
Index: systrace/profile_chrome/atrace_tracing_agent_unittest.py
diff --git a/systrace/profile_chrome/atrace_tracing_agent_unittest.py b/systrace/profile_chrome/atrace_tracing_agent_unittest.py
index 8ec9ebca8b42de2637eeebe347012cb188209725..2b365b453e4aa8d5290b2849334729179a94c50b 100644
--- a/systrace/profile_chrome/atrace_tracing_agent_unittest.py
+++ b/systrace/profile_chrome/atrace_tracing_agent_unittest.py
@@ -4,15 +4,18 @@
from profile_chrome import agents_unittest
from profile_chrome import atrace_tracing_agent
+from systrace import decorators
class AtraceAgentTest(agents_unittest.BaseAgentTest):
+ @decorators.ClientOnlyTest
def testGetCategories(self):
categories = \
atrace_tracing_agent.AtraceAgent.GetCategories(self.device)
self.assertTrue(categories)
assert 'gfx' in ' '.join(categories)
+ @decorators.NeverRunTest
Sami 2016/09/02 13:01:13 For each completely disabled test, could you add a
washingtonp 2016/09/08 22:51:36 Done.
def testTracing(self):
categories = 'gfx,input,view'
ring_buffer = False

Powered by Google App Engine
This is Rietveld 408576698