예제 #1
0
 def __init__(self, symbols_string=None,
              expectations_file=None, skips_file=None, host=None, config=None,
              **kwargs):
     self.symbols_string = symbols_string  # Passing "" disables all staticly-detectable features.
     host = host or MockSystemHost()
     config = config or MockConfig()
     WebKitPort.__init__(self, host=host, config=config, **kwargs)
예제 #2
0
    def __init__(self, *args, **kwargs):
        WebKitPort.__init__(self, *args, **kwargs)

        self._jhbuild_wrapper_path = self.path_from_webkit_base(
            'Tools', 'efl', 'run-with-jhbuild')

        self.set_option_default('wrapper', self._jhbuild_wrapper_path)
예제 #3
0
 def __init__(self, symbols_string=None, feature_list=None,
              expectations_file=None, skips_file=None, host=None,
              **kwargs):
     self.symbols_string = symbols_string  # Passing "" disables all staticly-detectable features.
     self.feature_list = feature_list  # Passing [] disables all runtime-detectable features.
     host = host or MockSystemHost()
     WebKitPort.__init__(self, host=host, **kwargs)
예제 #4
0
 def __init__(self, symbol_list=None, feature_list=None,
              expectations_file=None, skips_file=None, **kwargs):
     self.symbol_list = symbol_list
     self.feature_list = feature_list
     self.expectations_file = expectations_file
     self.skips_file = skips_file
     WebKitPort.__init__(self, **kwargs)
예제 #5
0
    def __init__(self, host, port_name, **kwargs):
        WebKitPort.__init__(self, host, port_name, **kwargs)

        allowed_port_names = self.VERSION_FALLBACK_ORDER + [self.operating_system() + "-future"]
        port_name = port_name.replace('-wk2', '')
        assert port_name in allowed_port_names, "%s is not in %s" % (port_name, allowed_port_names)
        self._version = self._strip_port_name_prefix(port_name)
예제 #6
0
 def __init__(self, symbols_string=None,
              expectations_file=None, skips_file=None, host=None, config=None,
              **kwargs):
     self.symbols_string = symbols_string  # Passing "" disables all staticly-detectable features.
     host = host or MockSystemHost()
     config = config or MockConfig()
     WebKitPort.__init__(self, host=host, config=config, **kwargs)
 def __init__(self, symbol_list=None, feature_list=None,
              expectations_file=None, skips_file=None, **kwargs):
     self.symbol_list = symbol_list
     self.feature_list = feature_list
     self.expectations_file = expectations_file
     self.skips_file = skips_file
     WebKitPort.__init__(self, **kwargs)
예제 #8
0
    def __init__(self, host, port_name, **kwargs):
        WebKitPort.__init__(self, host, port_name, **kwargs)

        allowed_port_names = self.VERSION_FALLBACK_ORDER + [self.operating_system() + "-future"]
        port_name = port_name.replace('-wk2', '')
        assert port_name in allowed_port_names, "%s is not in %s" % (port_name, allowed_port_names)
        self._version = self._strip_port_name_prefix(port_name)
예제 #9
0
파일: qt.py 프로젝트: Moondee/Artemis
    def __init__(self, host, port_name, **kwargs):
        WebKitPort.__init__(self, host, port_name, **kwargs)

        # FIXME: This will allow WebKitPort.baseline_search_path and WebKitPort._skipped_file_search_paths
        # to do the right thing, but doesn't include support for qt-4.8 or qt-arm (seen in LayoutTests/platform) yet.
        self._operating_system = port_name.replace('qt-', '')

        # FIXME: Why is this being set at all?
        self._version = self.operating_system()
예제 #10
0
    def __init__(self, *args, **kwargs):
        WebKitPort.__init__(self, *args, **kwargs)

#if ENABLE(TIZEN_WEBKIT2_EFL_WTR)
# Please do not enable jhbuild since Tizen is not using it
        #self._jhbuild_wrapper_path = self.path_from_webkit_base('Tools', 'efl', 'run-with-jhbuild')
        #self.set_option_default('wrapper', self._jhbuild_wrapper_path)
#endif
        self.webprocess_cmd_prefix = self.get_option('webprocess_cmd_prefix')
예제 #11
0
    def __init__(self, host, port_name, **kwargs):
        WebKitPort.__init__(self, host, port_name, **kwargs)

        # FIXME: This will allow WebKitPort.baseline_search_path and WebKitPort._skipped_file_search_paths
        # to do the right thing, but doesn't include support for qt-4.8 or qt-arm (seen in LayoutTests/platform) yet.
        self._operating_system = port_name.replace('qt-', '')

        # FIXME: Why is this being set at all?
        self._version = self.operating_system()
예제 #12
0
 def __init__(self, symbol_list=None, feature_list=None,
              expectations_file=None, skips_file=None,
              executive=None, filesystem=None, user=None,
              **kwargs):
     self.symbol_list = symbol_list
     self.feature_list = feature_list
     executive = executive or MockExecutive(should_log=False)
     filesystem = filesystem or MockFileSystem()
     user = user or MockUser()
     WebKitPort.__init__(self, executive=executive, filesystem=filesystem, user=MockUser(), **kwargs)
예제 #13
0
파일: mac.py 프로젝트: mcgrawp/webkit-webcl
    def __init__(self, port_name=None, os_version_string=None, **kwargs):
        port_name = port_name or 'mac'

        if port_name == 'mac':
            self._version = os_version(os_version_string)
            port_name = port_name + '-' + self._version
        else:
            self._version = port_name[4:]
            assert self._version in self.SUPPORTED_VERSIONS

        WebKitPort.__init__(self, port_name=port_name, **kwargs)
예제 #14
0
파일: qt.py 프로젝트: Andolamin/LunaSysMgr
    def __init__(self, sys_platform=None, **kwargs):
        WebKitPort.__init__(self, **kwargs)
        self._operating_system = self._operating_system_for_platform(sys_platform or sys.platform)
        self._version = self._operating_system

        # FIXME: This will allow WebKitPort.baseline_search_path and WebKitPort._skipped_file_search_paths
        # to do the right thing, but doesn't include support for qt-4.8 or qt-arm (seen in LayoutTests/platform) yet.
        name_components = [self.port_name]
        if self._operating_system:
            name_components.append(self._operating_system)
        self._name = "-".join(name_components)
예제 #15
0
 def __init__(self,
              symbols_string=None,
              feature_list=None,
              expectations_file=None,
              skips_file=None,
              host=None,
              **kwargs):
     self.symbols_string = symbols_string  # Passing "" disables all staticly-detectable features.
     self.feature_list = feature_list  # Passing [] disables all runtime-detectable features.
     host = host or MockHost()
     WebKitPort.__init__(self, host=host, **kwargs)
예제 #16
0
 def __init__(self, port_name=None, os_version_string=None, **kwargs):
     port_name = port_name or 'mac'
     WebKitPort.__init__(self, port_name=port_name, **kwargs)
     if port_name == 'mac':
         self._version = os_version(os_version_string)
         self._name = port_name + '-' + self._version
     else:
         self._version = port_name[4:]
         assert self._version in self.SUPPORTED_VERSIONS
     self._operating_system = 'mac'
     if not hasattr(self._options, 'time-out-ms') or self._options.time_out_ms is None:
         self._options.time_out_ms = 35000
예제 #17
0
파일: qt.py 프로젝트: sitedata/webkit.org
    def __init__(self, sys_platform=None, **kwargs):
        WebKitPort.__init__(self, **kwargs)
        self._operating_system = self._operating_system_for_platform(
            sys_platform or sys.platform)
        self._version = self._operating_system

        # FIXME: This will allow WebKitPort.baseline_search_path and WebKitPort._skipped_file_search_paths
        # to do the right thing, but doesn't include support for qt-4.8 or qt-arm (seen in LayoutTests/platform) yet.
        name_components = [self.port_name]
        if self._operating_system:
            name_components.append(self._operating_system)
        self._name = "-".join(name_components)
예제 #18
0
파일: qt.py 프로젝트: ruizhang331/WebKit
    def __init__(self, host, port_name=None, **kwargs):
        port_name = port_name or self.port_name
        WebKitPort.__init__(self, host, port_name=None, **kwargs)
        self._operating_system = host.platform.os_name
        self._version = self.operating_system()

        # FIXME: This will allow WebKitPort.baseline_search_path and WebKitPort._skipped_file_search_paths
        # to do the right thing, but doesn't include support for qt-4.8 or qt-arm (seen in LayoutTests/platform) yet.

        if port_name != self.port_name:
            self._name = port_name
        else:
            name_components = [self.port_name]
            if self.operating_system():
                name_components.append(self.operating_system())
            self._name = "-".join(name_components)
예제 #19
0
    def __init__(self, host, port_name=None, os_version_string=None, **kwargs):
        port_name = port_name or self.port_name
        WebKitPort.__init__(self, host, port_name=port_name, **kwargs)

        # FIXME: This sort of parsing belongs in factory.py!
        if port_name == '%s-wk2' % self.port_name:
            port_name = self.port_name
            # FIXME: This may be wrong, since options is a global property, and the port_name is specific to this object?
            self.set_option_default('webkit_test_runner', True)

        if port_name == self.port_name:
            self._version = self._detect_version(os_version_string) or self.FUTURE_VERSION
            self._name = self.port_name + '-' + self._version
        else:
            assert port_name in self.VERSION_FALLBACK_ORDER, "%s is not in %s" % (port_name, self.VERSION_FALLBACK_ORDER)
            self._version = self._strip_port_name_prefix(port_name)
예제 #20
0
 def __init__(
     self,
     symbol_list=None,
     feature_list=None,
     expectations_file=None,
     skips_file=None,
     executive=None,
     filesystem=None,
     user=None,
     **kwargs
 ):
     self.symbol_list = symbol_list
     self.feature_list = feature_list
     executive = executive or MockExecutive(should_log=False)
     filesystem = filesystem or MockFileSystem()
     user = user or MockUser()
     WebKitPort.__init__(self, executive=executive, filesystem=filesystem, user=MockUser(), **kwargs)
예제 #21
0
    def __init__(self, host, port_name=None, os_version_string=None, **kwargs):
        port_name = port_name or self.port_name
        WebKitPort.__init__(self, host, port_name=port_name, **kwargs)

        # FIXME: This sort of parsing belongs in factory.py!
        if port_name == '%s-wk2' % self.port_name:
            port_name = self.port_name
            # FIXME: This may be wrong, since options is a global property, and the port_name is specific to this object?
            self.set_option_default('webkit_test_runner', True)

        if port_name == self.port_name:
            self._version = self._detect_version(os_version_string) or self.FUTURE_VERSION
            self._name = self.port_name + '-' + self._version
        else:
            allowed_port_names = self.VERSION_FALLBACK_ORDER + [self._operating_system + "-future"]
            assert port_name in allowed_port_names, "%s is not in %s" % (port_name, allowed_port_names)
            self._version = self._strip_port_name_prefix(port_name)
 def __init__(self, **kwargs):
     kwargs.setdefault("port_name", "qt")
     WebKitPort.__init__(self, **kwargs)
예제 #23
0
 def __init__(self):
     WebKitPort.__init__(self, filesystem=test_config.filesystem)
     self._platforms_by_directory = dict(
         [(self._webkit_baseline_path(p), p) for p in test_config.platforms])
예제 #24
0
 def __init__(self, **kwargs):
     kwargs.setdefault('port_name', 'gtk')
     WebKitPort.__init__(self, **kwargs)
예제 #25
0
 def __init__(self, host):
     WebKitPort.__init__(self, host, 'mac')
     self._platforms_by_directory = dict([
         (self._webkit_baseline_path(p), p)
         for p in test_config.platforms
     ])
예제 #26
0
    def __init__(self, *args, **kwargs):
        WebKitPort.__init__(self, *args, **kwargs)

        self._jhbuild_wrapper_path = self.path_from_webkit_base("Tools", "efl", "run-with-jhbuild")

        self.set_option_default("wrapper", self._jhbuild_wrapper_path)
 def __init__(self):
     # FIXME: This should use MockExecutive and MockUser as well.
     WebKitPort.__init__(self, filesystem=mock_filesystem)
예제 #28
0
 def __init__(self, port_name=None, options=None):
     if port_name is None:
         port_name = 'win'
     WebKitPort.__init__(self, port_name, options)
예제 #29
0
파일: win.py 프로젝트: UIKit0/WebkitAIR
 def __init__(self, port_name=None, options=None):
     if port_name is None:
         port_name = 'win'
     WebKitPort.__init__(self, port_name, options)
예제 #30
0
 def __init__(self, port_name=None, **kwargs):
     port_name = port_name or 'win'
     WebKitPort.__init__(self, port_name=port_name, **kwargs)
     self._version = 'win7'
     self._operating_system = 'win'
예제 #31
0
 def __init__(self, host):
     WebKitPort.__init__(self, host, 'mac')
     self._platforms_by_directory = dict([(self._webkit_baseline_path(p), p) for p in test_config.platforms])
예제 #32
0
 def __init__(self, port_name=None, **kwargs):
     port_name = port_name or 'win'
     WebKitPort.__init__(self, port_name=port_name, **kwargs)
     self._version = 'win7'
     self._operating_system = 'win'
예제 #33
0
 def __init__(self, **kwargs):
     kwargs.setdefault('port_name', 'mac' + self.version())
     WebKitPort.__init__(self, **kwargs)
예제 #34
0
 def __init__(self, host, **kwargs):
     WebKitPort.__init__(self, host, **kwargs)
     self._version = self.port_name
예제 #35
0
 def __init__(self, port_name=None, options=None):
     if port_name is None:
         port_name = 'mac' + self.version()
     WebKitPort.__init__(self, port_name, options)
예제 #36
0
파일: mac.py 프로젝트: mikezit/Webkit_Code
 def __init__(self, port_name=None, options=None):
     if port_name is None:
         port_name = "mac" + self.version()
     WebKitPort.__init__(self, port_name, options)
예제 #37
0
 def __init__(self):
     WebKitPort.__init__(self, filesystem=mock_filesystem)
     self._name = 'mac'
예제 #38
0
 def __init__(self):
     WebKitPort.__init__(self, filesystem=test_config.filesystem)
     self._platforms_by_directory = dict([
         (self._webkit_baseline_path(p), p)
         for p in test_config.platforms
     ])
예제 #39
0
 def __init__(self):
     WebKitPort.__init__(self, filesystem=mock_filesystem, host=MockHost())
예제 #40
0
 def __init__(self, host, **kwargs):
     WebKitPort.__init__(self, host, **kwargs)
     self._version = self.port_name
 def __init__(self, host):
     WebKitPort.__init__(self, host, port_name=self.port_name)