コード例 #1
0
 def setUp(self):
     super(CheckProfileWorkAfterGOTA, self).setUp()
     self._test_name = __name__
     cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''),
                             'tests.tablet.gota.conf')
     self.cfg = self.config.read(cfg_file, 'gota')
     self.gota = gotaImpl(self.cfg)
     print "[Setup]: %s" % self._test_name
コード例 #2
0
 def setUp(self):
     super(DownloadingDuringGOTA, self).setUp()
     cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''), \
         'tests.tablet.gota.conf')
     self._test_name = __name__
     print "[Setup]: %s" % self._test_name
     self.cfg = self.config.read(cfg_file, 'gota')
     self.gota= gotaImpl(self.cfg)
コード例 #3
0
 def setUp(self):
     super(CheckFingerprintoBeforeGOTA, self).setUp()
     cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''),
                             'tests.tablet.gota.conf')
     self._test_name = __name__
     print "[Setup]: %s" % self._test_name
     self.cfg = self.config.read(cfg_file, 'gota')
     self.gota = gotaImpl(self.cfg)
     self.system = SystemImpl(self.cfg)
コード例 #4
0
 def setUp(self):
     super(CheckOnlyDeviceOwnerCouldGOTA, self).setUp()
     cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''),
                             'tests.tablet.gota.conf')
     self._test_name = __name__
     print "[Setup]: %s" % self._test_name
     self.cfg = self.config.read(cfg_file, 'gota')
     self.gota = gotaImpl(self.cfg)
     self.d = g_common_obj.get_device()
コード例 #5
0
 def setUp(self):
     super(CheckCalendarAfterGOTA, self).setUp()
     cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''), \
         'tests.tablet.gota.conf')
     self._test_name = __name__
     self.cfg = self.config.read(cfg_file, 'gota')
     self.gota = gotaImpl(self.cfg)
     self.system = SystemImpl(self.cfg)
     self.calendar = CalendarImpl()
     print "[Setup]: %s" % self._test_name
コード例 #6
0
 def setUp(self):
     super(CheckCalculatorAfterGOTA, self).setUp()
     cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''), \
         'tests.tablet.gota.conf')
     self._test_name = __name__
     self.cfg = self.config.read(cfg_file, 'gota')
     self.d = g_common_obj.get_device()
     self.calculator=CalculatorImpl()
     self.gota= gotaImpl(self.cfg)
     print "[Setup]: %s" % self._test_name
コード例 #7
0
 def setUp(self):
     super(Gota_package_deleted_if_failed, self).setUp()
     self._test_name = __name__
     cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''),
                             'tests.tablet.gota.conf')
     self.cfg = self.config.read(cfg_file, 'gota')
     self.gota = gotaImpl(self.cfg)
     print "[Setup]: %s" % self._test_name
     self.ssid = self.config.read(cfg_file, 'wifisetting').get("ssid")
     self.passwd = self.config.read(cfg_file, 'wifisetting').get("passwd")
コード例 #8
0
    def setUp(self):
        super(ApkDataUneraseAfterGOTA, self).setUp()
        cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''),'tests.tablet.gota.conf')
        self._test_name = __name__
        self.cfg = self.config.read(cfg_file, 'gota')
	self.d=g_common_obj.get_device()
        self.serial=g_common_obj2.getSerialNumber()
	self.system=SystemImpl(self.cfg)
        self.gota= gotaImpl(self.cfg)
        print "[Setup]: %s" % self._test_name
コード例 #9
0
 def setUp(self):
     super(SuspendResumeDuringGOTA, self).setUp()
     cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''), \
         'tests.tablet.gota.conf')
     self._test_name = __name__
     self.cfg = self.config.read(cfg_file, 'gota')
     self.gota = gotaImpl(self.cfg)
     self.system = SystemImpl(self.cfg)
     self.serial = g_common_obj2.getSerialNumber()
     print "[Setup]: %s" % self._test_name
コード例 #10
0
 def setUp(self):
     super(SystemTimeNotEraseAfterGOTA, self).setUp()
     cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''), \
         'tests.tablet.gota.conf')
     self._test_name = __name__
     print "[Setup]: %s" % self._test_name
     self.cfg = self.config.read(cfg_file, 'gota')
     self.gota = gotaImpl(self.cfg)
     self.ssid = self.config.read(cfg_file, 'wifisetting').get("ssid")
     self.passwd = self.config.read(cfg_file, 'wifisetting').get("passwd")
コード例 #11
0
 def setUp(self):
     super(Check_GOTA_package_titile_description, self).setUp()
     cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''), \
         'tests.tablet.gota.conf')
     self._test_name = __name__
     print "[Setup]: %s" % self._test_name
     self.cfg = self.config.read(cfg_file, 'gota')
     self.gota = gotaImpl(self.cfg)
     self.system = SystemImpl(self.cfg)
     self.ssid = self.config.read(cfg_file, 'wifisetting').get("ssid")
     self.passwd = self.config.read(cfg_file, 'wifisetting').get("passwd")
コード例 #12
0
 def setUp(self):
     super(CheckGotaFiveTimes, self).setUp()
     self._test_name = __name__
     cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''),
                             'tests.tablet.gota.conf')
     self.cfg = self.config.read(cfg_file, 'gota')
     self.gota = gotaImpl(self.cfg)
     print "[Setup]: %s" % self._test_name
     self.ssid = self.config.read(cfg_file, 'wifisetting').get("ssid")
     self.passwd = self.config.read(cfg_file, 'wifisetting').get("passwd")
     self.serial = g_common_obj2.getSerialNumber()
コード例 #13
0
 def setUp(self):
     super(CheckDeviceOwnerAfterGOTA, self).setUp()
     self._test_name = __name__
     cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''),
                             'tests.tablet.gota.conf')
     self.cfg = self.config.read(cfg_file, 'gota')
     self.gota = gotaImpl(self.cfg)
     self.api = ApiImpl()
     self.d = g_common_obj.get_device()
     print "[Setup]: %s" % self._test_name
     self.ssid = self.config.read(cfg_file, 'wifisetting').get("ssid")
     self.passwd = self.config.read(cfg_file, 'wifisetting').get("passwd")
 def setUp(self):
     super(SystemUpdateDownloadedNotification, self).setUp()
     cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''), \
         'tests.tablet.gota.conf')
     self._test_name = __name__
     print "[Setup]: %s" % self._test_name
     self.cfg = self.config.read(cfg_file, 'gota')
     self.gota = gotaImpl(self.cfg)
     self.system = SystemImpl(self.cfg)
     self.apk = ApkInstallUninstallImpl(self.cfg)
     self.ssid = self.config.read(cfg_file, 'wifisetting').get("ssid")
     self.passwd = self.config.read(cfg_file, 'wifisetting').get("passwd")
コード例 #15
0
    def setUp(self):
        super(CheckYouTubeAfterGOTA, self).setUp()
        cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''), \
            'tests.tablet.gota.conf')
        self._test_name = __name__
        self.cfg = self.config.read(cfg_file, 'gota')
        self.gota = gotaImpl(self.cfg)
        self.system = SystemImpl(self.cfg)
        self.func = Function()
        self.d = g_common_obj.get_device()
        self.serial = self.d.server.adb.device_serial()

        print "[Setup]: %s" % self._test_name
    def setUp(self):
        super(InstalledAPKUnerasedAfterGOTA, self).setUp()
        cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''), \
            'tests.tablet.gota.conf')
        self._test_name = __name__
        print "[Setup]: %s" % self._test_name
        self.cfg = self.config.read(cfg_file, 'gota')
        self.gota= gotaImpl(self.cfg)
        self.system=SystemImpl(self.cfg)
        self.apk=ApkInstallUninstallImpl(self.cfg)
        self.ssid = self.config.read(cfg_file,'wifisetting').get("ssid")
        self.passwd = self.config.read(cfg_file,'wifisetting').get("passwd")
	self.d=g_common_obj.get_device()
	self.locator=ApkInstallUninstallImpl.Locator(self.d)
コード例 #17
0
 def setUp(self):
     super(CheckBasicInfoBeforeGOTA, self).setUp()
     cfg_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''), 'tests.tablet.gota.conf')
     globle_file = os.path.join(os.environ.get('TEST_DATA_ROOT', ''), 'tests.tablet.gota.conf')
     self._test_name = __name__
     print "[Setup]: %s" % self._test_name
     self.cfg = self.config.read(cfg_file, 'gota')
     self.gota = gotaImpl(self.cfg)
     self.system = SystemImpl(self.cfg)
     self.apk = ApkInstallUninstallImpl(self.cfg)
     self.ssid = self.config.read(cfg_file,'wifisetting').get("ssid")
     self.passwd = self.config.read(cfg_file,'wifisetting').get("passwd")
     self.d = g_common_obj.get_device()
     self.locator = ApkInstallUninstallImpl.Locator(self.d)
     self.serial = g_common_obj2.getSerialNumber()
     self.api = ApiImpl()
     self.remote = Remote()
コード例 #18
0
 def setUp(self):
     super(CheckVideoAfterGOTA, self).setUp()
     self._test_name = __name__
     self.gota = gotaImpl(self)
     self.camera = Camera()
     print "[Setup]: %s" % self._test_name
コード例 #19
0
 def setUp(self):
     super(CheckContactsAfterGOTA, self).setUp()
     self._test_name = __name__
     self.gota= gotaImpl(self)
     self.contacts=ContactsImpl()
     print "[Setup]: %s" % self._test_name