|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Classes | |
| class | JSONResultsGenerator |
| class | TestResult |
Functions | |
| def | has_json_wrapper (string) |
| def | strip_json_wrapper (json_content) |
| def | load_json (filesystem, file_path) |
| def | write_json (filesystem, json_object, file_path, callback=None) |
| def | convert_trie_to_flat_paths (trie, prefix=None) |
| def | add_path_to_trie (path, value, trie) |
| def | test_timings_trie (port, individual_test_timings) |
| def webkitpy.layout_tests.layout_package.json_results_generator.add_path_to_trie | ( | path, | |
| value, | |||
| trie | |||
| ) |
Inserts a single flat directory path and associated value into a directory trie structure.
| def webkitpy.layout_tests.layout_package.json_results_generator.convert_trie_to_flat_paths | ( | trie, | |
prefix = None |
|||
| ) |
Converts the directory structure in the given trie to flat paths, prepending a prefix to each.
| def webkitpy.layout_tests.layout_package.json_results_generator.has_json_wrapper | ( | string | ) |
| def webkitpy.layout_tests.layout_package.json_results_generator.load_json | ( | filesystem, | |
| file_path | |||
| ) |
| def webkitpy.layout_tests.layout_package.json_results_generator.strip_json_wrapper | ( | json_content | ) |
| def webkitpy.layout_tests.layout_package.json_results_generator.test_timings_trie | ( | port, | |
| individual_test_timings | |||
| ) |
Breaks a test name into chunks by directory and puts the test time as a value in the lowest part, e.g.
foo/bar/baz.html: 1ms
foo/bar/baz1.html: 3ms
becomes
foo: {
bar: {
baz.html: 1,
baz1.html: 3
}
}
| def webkitpy.layout_tests.layout_package.json_results_generator.write_json | ( | filesystem, | |
| json_object, | |||
| file_path, | |||
callback = None |
|||
| ) |
1.8.13