michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: from dmunit import DeviceManagerTestCase michael@0: michael@0: class InfoTestCase(DeviceManagerTestCase): michael@0: michael@0: runs_on_test_device = False michael@0: michael@0: def runTest(self): michael@0: """This tests the "info" command. michael@0: """ michael@0: cmds = ('os', 'id', 'systime', 'uptime', 'screen', 'memory', 'power') michael@0: for c in cmds: michael@0: data = self.dm.getInfo(c) michael@0: print c + str(data) michael@0: michael@0: # No real good way to verify this. If it doesn't throw, we're ok.