◆ __init__()
def webkitpy.w3c.test_parser.TestParser.__init__ |
( |
|
self, |
|
|
|
options, |
|
|
|
filename, |
|
|
|
host = Host() |
|
) |
| |
◆ analyze_test()
def webkitpy.w3c.test_parser.TestParser.analyze_test |
( |
|
self, |
|
|
|
test_contents = None , |
|
|
|
ref_contents = None |
|
) |
| |
Analyzes a file to determine if it's a test, what type of test, and what reference or support files it requires. Returns all of the test info
◆ is_jstest()
def webkitpy.w3c.test_parser.TestParser.is_jstest |
( |
|
self | ) |
|
Returns whether the file appears to be a jstest, by searching for usage of W3C-style testharness paths.
◆ is_slow_test()
def webkitpy.w3c.test_parser.TestParser.is_slow_test |
( |
|
self | ) |
|
◆ is_wpt_manualtest()
def webkitpy.w3c.test_parser.TestParser.is_wpt_manualtest |
( |
|
self | ) |
|
Returns whether the test is a manual test according WPT rules (i.e. file ends with -manual.htm path).
◆ is_wpt_reftest()
def webkitpy.w3c.test_parser.TestParser.is_wpt_reftest |
( |
|
self | ) |
|
Returns whether the test is a ref test according WPT rules (i.e. file has a -ref.html counterpart).
◆ load_file()
def webkitpy.w3c.test_parser.TestParser.load_file |
( |
|
self, |
|
|
|
filename, |
|
|
|
is_ref = False |
|
) |
| |
◆ potential_ref_filename()
def webkitpy.w3c.test_parser.TestParser.potential_ref_filename |
( |
|
self | ) |
|
◆ reference_links_of_type()
def webkitpy.w3c.test_parser.TestParser.reference_links_of_type |
( |
|
self, |
|
|
|
reftest_type |
|
) |
| |
◆ support_files()
def webkitpy.w3c.test_parser.TestParser.support_files |
( |
|
self, |
|
|
|
doc |
|
) |
| |
Searches the file for all paths specified in url()'s, href or src attributes.
◆ filename
webkitpy.w3c.test_parser.TestParser.filename |
◆ filesystem
webkitpy.w3c.test_parser.TestParser.filesystem |
◆ host
webkitpy.w3c.test_parser.TestParser.host |
◆ options
webkitpy.w3c.test_parser.TestParser.options |
◆ ref_doc
webkitpy.w3c.test_parser.TestParser.ref_doc |
◆ test_doc
webkitpy.w3c.test_parser.TestParser.test_doc |
The documentation for this class was generated from the following file: