コード例 #1
0
ファイル: multimedia.py プロジェクト: BowenXiao/998_Stability
	def tearDown(self):
		u.tearDown()
		# clear date
		self._clearDate('/sdcard/DCIM/Camera/*')
		self._clearDate('/sdcard/smartisan/Recorder/*')
		# kill recorder
		recorderPID = u.getPID('com.smartisanos.recorder')
		if recorderPID == '':
			pass
		else:
			commands.getoutput('adb shell kill %s'%recorderPID)
コード例 #2
0
ファイル: the3rd.py プロジェクト: BowenXiao/998_Stability
	def tearDown(self):
		u.tearDown()
コード例 #3
0
ファイル: browser.py プロジェクト: BowenXiao/998_Stability
	def tearDown(self):
		self._clearCache()
		u.tearDown()
		commands.getoutput('adb shell svc wifi enable')
		self._clearData('/sdcard/Download/*')
コード例 #4
0
ファイル: browser.py プロジェクト: BowenXiao/3000_stability
	def tearDown(self):
		self._clearCache()
		u.tearDown()
		self._clearData('/sdcard/Download/*')
コード例 #5
0
ファイル: email.py プロジェクト: BowenXiao/3000_stability
	def tearDown(self):
		d.watchers.remove("IGNORE_DRAFT")
		u.tearDown()
コード例 #6
0
ファイル: appstore.py プロジェクト: BowenXiao/998_Stability
	def tearDown(self):
		if d(resourceId = 'com.smartisanos.appstore:id/appStatusIconView').wait.exists(timeout = 3000):
			d(resourceId = 'com.smartisanos.appstore:id/appStatusIconView').click.wait()
		u.tearDown()
コード例 #7
0
ファイル: launcher.py プロジェクト: BowenXiao/998_Stability
	def tearDown(self):
		d.watchers.remove("IGNORE_ANR")
		u.tearDown()
コード例 #8
0
ファイル: test.py プロジェクト: zuodapeng/Appium_script
 def tearDown(self):
     util.tearDown(self)