Ejemplo n.º 1
0
 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'])
Ejemplo n.º 2
0
 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'])
Ejemplo n.º 3
0
 def setup_job(self):
     PerfTest.setup_job(self)