summaryrefslogtreecommitdiffstats
path: root/testing/mozbase/mozdevice/sut_tests/test_info.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mozbase/mozdevice/sut_tests/test_info.py')
-rw-r--r--testing/mozbase/mozdevice/sut_tests/test_info.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/mozbase/mozdevice/sut_tests/test_info.py b/testing/mozbase/mozdevice/sut_tests/test_info.py
new file mode 100644
index 000000000..57bb4fce0
--- /dev/null
+++ b/testing/mozbase/mozdevice/sut_tests/test_info.py
@@ -0,0 +1,20 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+from dmunit import DeviceManagerTestCase
+
+
+class InfoTestCase(DeviceManagerTestCase):
+
+ runs_on_test_device = False
+
+ def runTest(self):
+ """This tests the "info" command.
+ """
+ cmds = ('os', 'id', 'systime', 'uptime', 'screen', 'memory', 'power')
+ for c in cmds:
+ data = self.dm.getInfo(c)
+ print c + str(data)
+
+ # No real good way to verify this. If it doesn't throw, we're ok.