def tearDown(self): print "[Teardown]: %s" % self._test_name super(RunFBC, self).tearDown() self.fbcImpl = None if self.android_version == "M": adb32._adb_reboot() wifi_ctrl.turn_on()
def tearDown(self): print "[Teardown]: %s" % self._test_name super(HWComposer2, self).tearDown() dbsetting.set_color_corretion(False) dbsetting.set_color_inversion(False) self.develop_settings.set_input_options(switch='OFF') wifi_ctrl.turn_on()
def tearDown(self): g_common_obj.back_home() if self.split_window_impl.split_button.exists: self.split_window_impl._exit_split() wifi_ctrl.turn_on() adb32.screen_rotation(0) try: game_impl.uninstall_hillclimb() except: pass
def setUp(self): print "[Setup]:%s" % self.__class__.__name__ super(GFXBenchGLHighLevelTestManhattanES31Test, self).setUp() self.systemui = SystemUiExtendImpl() self.gfxbench = Gfxbench31Impl() self.gfxbench.clean() self.gfxbench.setup() self.systemui.unlock_screen() self.d.screen.on() self.d.press.menu() self.natural_orientation = self.d.info['naturalOrientation'] self.orientation = self.d.orientation rotate_screen(mode='wide') wifi_ctrl.turn_on()
def setUp(self): super(Youtube, self).setUp() self._test_name = __name__ print "[Setup]: %s" % self._test_name self.d = g_common_obj.get_device() wifi_ctrl.turn_on()
def tearDown(self): print "[Teardown]: %s" % self._test_name super(Game, self).tearDown() game_impl.stop_spintops_am() wifi_ctrl.turn_on()