Bug 1317970 - Move mozsystemmonitor tests to a consistent directory structure, r?chmanchester
The mozsystemmonitor test is under mozsystemmonitor/mozsystemmonitor/test instead of
mozsystemmonitor/tests like all the other mozbase modules.
MozReview-Commit-ID: AIs5mza8Rn6
new file mode 100644
--- /dev/null
+++ b/testing/mozbase/mozsystemmonitor/tests/manifest.ini
@@ -0,0 +1,1 @@
+[test_resource_monitor.py]
rename from testing/mozbase/mozsystemmonitor/mozsystemmonitor/test/test_resource_monitor.py
rename to testing/mozbase/mozsystemmonitor/tests/test_resource_monitor.py
--- a/testing/mozbase/mozsystemmonitor/mozsystemmonitor/test/test_resource_monitor.py
+++ b/testing/mozbase/mozsystemmonitor/tests/test_resource_monitor.py
@@ -173,8 +173,12 @@ class TestResourceMonitor(unittest.TestC
self.assertEqual(d['version'], 2)
self.assertEqual(len(d['events']), 2)
self.assertEqual(len(d['phases']), 2)
self.assertIn('system', d)
self.assertIsInstance(d['system'], dict)
self.assertIsInstance(d['overall'], dict)
self.assertIn('duration', d['overall'])
self.assertIn('cpu_times', d['overall'])
+
+
+if __name__ == '__main__':
+ unittest.main()