Exemplo n.º 1
0
 def SetUpProcess(cls):
     super(TraceIntegrationTest, cls).SetUpProcess()
     path_util.SetupTelemetryPaths()
     cls.CustomizeBrowserArgs(
         ['--enable-logging', '--enable-experimental-canvas-features'])
     cls.StartBrowser()
     cls.SetStaticServerDirs(data_paths)
Exemplo n.º 2
0
 def setUpClass(cls):
   super(cls, TraceIntegrationTest).setUpClass()
   path_util.SetupTelemetryPaths()
   cls.CustomizeOptions()
   cls.SetBrowserOptions(cls._finder_options)
   cls.StartBrowser()
   cls.SetStaticServerDirs([data_path])
 def SetUpProcess(cls):
     super(cls, PowerMeasurementIntegrationTest).SetUpProcess()
     path_util.SetupTelemetryPaths()
     cls.CustomizeBrowserArgs([])
     cls.StartBrowser()
     assert cls._url_mode is not None
     if not cls._url_mode:
         cls.SetStaticServerDirs(_DATA_PATHS)
Exemplo n.º 4
0
 def SetUpProcess(cls):
   super(TraceIntegrationTest, cls).SetUpProcess()
   path_util.SetupTelemetryPaths()
   cls.CustomizeBrowserArgs(cls._AddDefaultArgs([]))
   cls.StartBrowser()
   cls.SetStaticServerDirs(data_paths)
Exemplo n.º 5
0
#!/usr/bin/env vpython
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""This script runs unit tests of the code in the gpu_tests/ directory.

This script DOES NOT run tests. run_gpu_test does that.
"""

import sys

from gpu_tests import path_util

path_util.SetupTelemetryPaths()

import gpu_project_config

from telemetry.testing import unittest_runner


def main():
    return unittest_runner.Run(gpu_project_config.CONFIG, no_browser=True)


if __name__ == '__main__':
    sys.exit(main())
 def SetUpProcess(cls):
     super(cls, PowerMeasurementIntegrationTest).SetUpProcess()
     path_util.SetupTelemetryPaths()
     cls.CustomizeBrowserArgs(cls._AddDefaultArgs([]))
     cls.StartBrowser()
     cls.SetStaticServerDirs(_DATA_PATHS)