コード例 #1
0
ファイル: webappstartup.py プロジェクト: markrcote/autophone
 def setup_job(self):
     PerfTest.setup_job(self)
     # [paths]
     autophone_directory = os.path.dirname(os.path.abspath(sys.argv[0]))
     self._paths = {}
     self._paths['webappstartup_apk'] = os.path.join(autophone_directory,
                                                     'tests/webapp-startup-test.apk')
     # Try to get the webappstartup package name if it is already installed.
     self.get_webappstartup_name()
     # Perform an initial install of the webapp to confirm it
     # can be installed.
     if not self.install_webappstartup():
         raise Exception('Unable to install %s' % self._paths['webappstartup_apk'])
コード例 #2
0
ファイル: webappstartup.py プロジェクト: Conjuror/autophone
 def setup_job(self):
     PerfTest.setup_job(self)
     # [paths]
     autophone_directory = os.path.dirname(os.path.abspath(sys.argv[0]))
     self._paths = {}
     self._paths['webappstartup_apk'] = os.path.join(
         autophone_directory, 'tests/webapp-startup-test.apk')
     # Try to get the webappstartup package name if it is already installed.
     self.get_webappstartup_name()
     # Perform an initial install of the webapp to confirm it
     # can be installed.
     if not self.install_webappstartup():
         raise Exception('Unable to install %s' %
                         self._paths['webappstartup_apk'])
コード例 #3
0
ファイル: s1s2test.py プロジェクト: mjzffr/autophone
 def setup_job(self):
     PerfTest.setup_job(self)