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

Unified Diff: tools/telemetry_tools/find_dependencies_unittest.py

Issue 103433002: [telemetry] Script for finding all Telemetry dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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: tools/telemetry_tools/find_dependencies_unittest.py
diff --git a/tools/telemetry/telemetry/core/timeline/event_unittest.py b/tools/telemetry_tools/find_dependencies_unittest.py
old mode 100644
new mode 100755
similarity index 60%
copy from tools/telemetry/telemetry/core/timeline/event_unittest.py
copy to tools/telemetry_tools/find_dependencies_unittest.py
index 2c80c32146bb8c52ecb460142ac81c5bc5b7d340..5029daad7968082dbbee0d5e12cd38efab4624f8
--- a/tools/telemetry/telemetry/core/timeline/event_unittest.py
+++ b/tools/telemetry_tools/find_dependencies_unittest.py
@@ -1,8 +1,15 @@
+#!/usr/bin/env python
tonyg 2014/01/29 05:10:08 Not necessary, right? We should definitely get th
dtu 2014/02/13 21:49:35 I kind of think I would like all unit tests to hav
# Copyright (c) 2013 The Chromium Authors. All rights reserved.
tonyg 2014/01/29 05:10:08 2014
dtu 2014/02/13 21:49:35 Done.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import os
import unittest
-class TimelineEventTest(unittest.TestCase):
+
+class FindDependenciesTest(unittest.TestCase):
tonyg 2014/01/29 05:10:08 For this test, why not just create a mini, fake te
dtu 2014/02/13 21:49:35 I think I will make unit tests in a followup patch
pass
+
+
+if __name__ == '__main__':
+ unittest.main()

Powered by Google App Engine
This is Rietveld 408576698