Beispiel #1
0
 def start(self):
     """
     Start application
     """
     self._logger.info("Wait 10 secs before running benchmark")
     time.sleep(TIMEOUT)
     IBrowsing.start(self)
     time.sleep(3)
     self.generateLogcat()
Beispiel #2
0
    def __init__(self, device):
        """
        Initializes this instance.

        :type device: Device
        :param device: The DUT
        """
        IBrowsing.__init__(self, device)
        self.is_lower_better = False
        self._results = {"score": []}
Beispiel #3
0
    def __init__(self, device):
        """
        Initializes this instance.

        :type device: Device
        :param device: The DUT
        """
        IBrowsing.__init__(self, device)

        self._sunspider_pattern = "Sunspider result: (?P<result>\{.*\})"
        self._results = {"score": []}
Beispiel #4
0
 def __init__(self, device):
     """
     Initializes this instance.
     @type device: Device
     @param device: The DUT
     """
     IBrowsing.__init__(self, device)
     self.__device = device
     self._results = {"score": []}
     self._scores = []
     self._sum = 0
     self.is_lower_better = False
Beispiel #5
0
 def post_install(self):
     """
     Post-installation actions
     """
     IBrowsing.post_install(self)
     self.clear_cache()