Пример #1
0
 def setUp(self):
     self._test_name = __name__
     print
     print "[Setup]: %s" % self._test_name
     self.touch = SystemTouch()
     self.multi_ts = MultiTouchScreen()
     super(TouchScreenFingersWithSuspend, self).setUp()
 def setUp(self):
     self._test_name = __name__
     self.touch = SystemTouch()
     print
     print "[Setup]: %s" % self._test_name
     self.touch.enable_devoption_touch_location()
     super(TouchNoLineInterruptionSlidingScreen, self).setUp()
 def setUp(self):
     self._test_name = __name__
     self.touch = SystemTouch()
     print
     print "[Setup]: %s" % self._test_name
     self.touch.enable_devoption_touch_location()
     super(IconHoldWithUsb, self).setUp()
 def setUp(self):
     self._test_name = __name__
     self.touch = SystemTouch()
     print
     print "[Setup]: %s" % self._test_name
     self.touch.enable_devoption_touch_location()
     super(CheckAlphanumericKeyOnVirtualKeyboardDisplay, self).setUp()
 def setUp(self):
     self._test_name = __name__
     self.touch = SystemTouch()
     print
     print "[Setup]: %s" % self._test_name
     self.touch.enable_devoption_touch_location()
     super(SingleTouchSupport, self).setUp()
Пример #6
0
 def setUp(self):
     self._test_name = __name__
     self.touch = SystemTouch()
     print
     print "[Setup]: %s" % self._test_name
     g_common_obj.close_background_apps()
     super(DeactivateScreenPinning, self).setUp()
 def setUp(self):
     self._test_name = __name__
     self.touch = SystemTouch()
     self.multi_ts = MultiTouchScreen()
     print
     print "[Setup]: %s" % self._test_name
     super(MultipleTSSingleTouch, self).setUp()
 def setUp(self):
     self._test_name = __name__
     self.touch = SystemTouch()
     print
     print "[Setup]: %s" % self._test_name
     self.touch.check_home_ui_skip_got_it()
     #self.touch.start_RPCServer()
     super(TouchScreenTurnOnOff, self).setUp()
Пример #9
0
 def setUp(self):
     self._test_name = __name__
     self.touch = SystemTouch()
     self.multi_ts = MultiTouchScreen()
     print
     print "[Setup]: %s" % self._test_name
     self.multi_ts.check_multi_touch_sp_connected_num(2)
     self.multi_ts.enter_to_mosaic_mode_display_touch_work_comm()
     super(SingleTouchSupportExtendedDesktopMode, self).setUp()
Пример #10
0
 def setUp(self):
     self._test_name = __name__
     self.touch = SystemTouch()
     print
     print "[Setup]: %s" % self._test_name
     self.touch.enable_devoption_touch_location()
     self.touch.push_send_event_script("multi_touch_max_support.sh")
     self.touch.push_send_event_script("multi_touch_event_untouch.sh")
     super(MultiTouchSupport, self).setUp()
Пример #11
0
 def setUp(self):
     super(HWComposer2, self).setUp()
     self._test_name = __name__
     print "[Setup]: %s" % self._test_name
     g_common_obj.root_on_device()
     self.d = g_common_obj.get_device()
     wifi_ctrl.turn_off()
     self.systemTouch = SystemTouch()
     self.develop_settings = DevelopmentSettingsImpl()
 def setUp(self):
     self._test_name = __name__
     self.touch = SystemTouch()
     self.multi_ts = MultiTouchScreen()
     print
     print "[Setup]: %s" % self._test_name
     self.touch.install_artifactory_app("clock_google",
                                        "com.google.android.deskclock")
     self.multi_ts.check_multi_touch_sp_connected_num(2)
     self.multi_ts.enter_to_mosaic_mode_display_touch_work_comm()
     super(GestureSwipeEffectedExtendedDesktopMode, self).setUp()
Пример #13
0
from testlib.util.uiatestbase import UIATestBase
from testlib.system_touch.system_touch import SystemTouch

touch = SystemTouch()
touch.install_artifactory_app("api_test", "com.intel.test.apitests")

class SystemTouchAPI(UIATestBase):
    def setUp(self):
        self._test_name = __name__
        print
        print "[Setup]: %s" % self._test_name

    def tearDown(self):
        print "[Teardown]: %s" % self._test_name

    def test_get_fake_touch_status(self):
        print "[RunTest]: %s" % self.__str__()
        assert touch.get_fake_touch_status()

    def test_touch_screen_api_features(self):
        print "[RunTest]: %s" % self.__str__()
        assert touch.touch_screen_api_features()

    def test_get_touch_screen_presence(self):
        print "[RunTest]: %s" % self.__str__()
        assert touch.get_touch_screen_presence()

    def test_get_touch_screen_type(self):
        print "[RunTest]: %s" % self.__str__()
        assert touch.get_touch_screen_type()
 def setUp(self):
     self._test_name = __name__
     self.touch = SystemTouch()
     print
     print "[Setup]: %s" % self._test_name
     super(BootCheckFingerSlidingOnTouchScreen, self).setUp()