Beispiel #1
0
 def __init__(self, test_type='turn_am_on', wait_time=5, **kwargs):
     adb_step.__init__(self, **kwargs)
     self.test_type = test_type
     self.wait_time = int(wait_time)
Beispiel #2
0
 def __init__(self, state="0", **kwargs):
     adb_step.__init__(self, **kwargs)
     ui_step.__init__(self, **kwargs)
     self.state = state
Beispiel #3
0
 def __init__(self, screenshot_name, **kwargs):
     ui_step.__init__(self, **kwargs)
     adb_step.__init__(self, **kwargs)
     self.screenshot_name = screenshot_name
Beispiel #4
0
 def __init__(self, platform, **kwargs):
     adb_step.__init__(self, **kwargs)
     ui_step.__init__(self, **kwargs)
     self.platform = platform
Beispiel #5
0
 def __init__(self, **kwargs):
     adb_step.__init__(self, **kwargs)
Beispiel #6
0
 def __init__(self, name, position, **kwargs):
     ui_step.__init__(self, **kwargs)
     adb_step.__init__(self, **kwargs)
     self.name = name
     self.position = position
     self.initial_value = -1
Beispiel #7
0
 def __init__(self, image_path, build_no, **kwargs):
     self.img_path = image_path
     self.build_no = build_no
     adb_step.__init__(self, **kwargs)
Beispiel #8
0
    def __init__(self, **kwargs):
        adb_step.__init__(self, **kwargs)

        # replacing old uidevice available in testlib/external with standard
        #  uiautomator device class
        self.uidevice = Device(serial=self.serial)
Beispiel #9
0
 def __init__(self, path, inode, **kwargs):
     self.path = path
     self.inode = inode
     adb_step.__init__(self, **kwargs)
     self.set_passm(self.inode + " present in " + self.path)
     self.set_errorm("", self.inode + " present in " + self.path)
Beispiel #10
0
 def __init__(self, state = 'on', wait_time = 5, **kwargs):
     adb_step.__init__(self, **kwargs)
     self.state = state
     self.wait_time = wait_time
Beispiel #11
0
 def __init__(self, **kwargs):
     adb_step.__init__(self, **kwargs)
     self.serial = kwargs['serial']
     self.port = kwargs['port']
     self.test_case = kwargs["test_case"]
     self.benchmark = kwargs["benchmark"]
Beispiel #12
0
 def __init__(self, image_path, **kwargs):
     self.image_path = image_path
     adb_step.__init__(self, **kwargs)
     self.set_errorm(
         "", "The iamge " + self.image_path +
         " could not be pushed on the device " + self.adb_connection.serial)
Beispiel #13
0
 def __init__(self, ip, image_path, build_number, **kwargs):
     self.ip = ip
     self.image_path = image_path
     self.build_number = build_number
     adb_step.__init__(self, **kwargs)
     self.set_errorm("", "The device " + self.ip + " could not flashed")