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

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

Issue 1908483002: tools/android/loading Loading trace database improvements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor cleanup Created 4 years, 8 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 | « tools/android/loading/loading_trace_database.py ('k') | tools/android/loading/request_track.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/loading/loading_trace_database_unittest.py
diff --git a/tools/android/loading/loading_trace_database_unittest.py b/tools/android/loading/loading_trace_database_unittest.py
index 31dc9b30c40b81b76e01d4ff6777527335a1b46d..e64fb8cfc5dd01fd1d2b299c4601b0a18382909b 100644
--- a/tools/android/loading/loading_trace_database_unittest.py
+++ b/tools/android/loading/loading_trace_database_unittest.py
@@ -32,11 +32,11 @@ class LoadingTraceDatabaseUnittest(unittest.TestCase):
self.assertEqual(
self._JSON_DATABASE, self.database.ToJsonDict())
- def testAddTrace(self):
+ def testSetTrace(self):
dummy_url = "http://dummy.com"
new_trace_file = "traces/new_trace.json"
self.assertEqual(self.database.GetTraceFilesForURL(dummy_url), [])
- self.database.AddTrace(new_trace_file, {"url" : dummy_url})
+ self.database.SetTrace(new_trace_file, {"url" : dummy_url})
self.assertEqual(self.database.GetTraceFilesForURL(dummy_url),
[new_trace_file])
« no previous file with comments | « tools/android/loading/loading_trace_database.py ('k') | tools/android/loading/request_track.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698