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

Unified Diff: systrace/systrace/tracing_agents/atrace_agent_unittest.py

Issue 2544183002: Make the atrace agent use the correct version of ADB. (Closed)
Patch Set: remove extraneous test Created 4 years 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/systrace/tracing_agents/atrace_agent.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: systrace/systrace/tracing_agents/atrace_agent_unittest.py
diff --git a/systrace/systrace/tracing_agents/atrace_agent_unittest.py b/systrace/systrace/tracing_agents/atrace_agent_unittest.py
index 1efd185690f66034538d84a7ac0e0d43b2ad5381..2aff4fbfe2c9d1a06c2b295cb211b8348935f4a2 100755
--- a/systrace/systrace/tracing_agents/atrace_agent_unittest.py
+++ b/systrace/systrace/tracing_agents/atrace_agent_unittest.py
@@ -104,19 +104,6 @@ class AtraceAgentTest(unittest.TestCase):
self.assertEqual(' '.join(TRACE_ARGS), ' '.join(tracer_args))
@decorators.HostOnlyTest
- def test_preprocess_trace_data(self):
- with contextlib.nested(open(ATRACE_DATA_STRIPPED, 'r'),
- open(ATRACE_DATA_RAW, 'r')) as (f1, f2):
- atrace_data = f1.read()
- atrace_data_raw = f2.read()
- options, categories = run_systrace.parse_options(SYSTRACE_CMD)
- agent = atrace_agent.AtraceAgent()
- agent._config = options
- agent._config.atrace_categories = categories
- trace_data = agent._preprocess_trace_data(atrace_data_raw)
- self.assertEqual(atrace_data, trace_data)
-
- @decorators.HostOnlyTest
def test_extract_thread_list(self):
with contextlib.nested(open(ATRACE_EXTRACTED_THREADS, 'r'),
open(ATRACE_THREAD_LIST)) as (f1, f2):
« no previous file with comments | « systrace/systrace/tracing_agents/atrace_agent.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698