@@ -541,7 +541,7 @@ def test_seconds_since_epoch(self):
541
541
merger .merge ([{'seconds_since_epoch' : 12 }, {}]))
542
542
543
543
544
- class LayoutTestDirMergerTests (unittest .TestCase ):
544
+ class WebTestDirMergerTests (unittest .TestCase ):
545
545
546
546
# JSON files for shard 1
547
547
# Shard1 has the following tests;
@@ -555,7 +555,7 @@ class LayoutTestDirMergerTests(unittest.TestCase):
555
555
"chromium_revision": "123",
556
556
"fixable": 1,
557
557
"interrupted": false,
558
- "layout_tests_dir": "/b/s/w/irJ1McdS/third_party/WebKit/LayoutTests ",
558
+ "layout_tests_dir": "/b/s/w/irJ1McdS/third_party/blink/web_tests ",
559
559
"num_failures_by_type": {
560
560
"AUDIO": 2,
561
561
"CRASH": 3
@@ -677,7 +677,7 @@ class LayoutTestDirMergerTests(unittest.TestCase):
677
677
"chromium_revision": "123",
678
678
"fixable": 9,
679
679
"interrupted": false,
680
- "layout_tests_dir": "/b/s/w/sadfa124/third_party/WebKit/LayoutTests ",
680
+ "layout_tests_dir": "/b/s/w/sadfa124/third_party/blink/web_tests ",
681
681
"num_failures_by_type": {
682
682
"AUDIO": 10,
683
683
"CRASH": 11
@@ -772,7 +772,7 @@ class LayoutTestDirMergerTests(unittest.TestCase):
772
772
[Wed Mar 01 22:20:07.400802 2017] [ssl:warn] [pid 15010] AH01909: RSA certificate configured for 127.0.0.1:443 does NOT include an ID which matches the server name
773
773
"""
774
774
775
- layout_test_filesystem = {
775
+ web_test_filesystem = {
776
776
# Files for shard0
777
777
'/shards/0/layout-test-results/access_log.txt' : shard0_access_log ,
778
778
'/shards/0/layout-test-results/archived_results.json' : shard0_archived_results_json ,
@@ -1008,7 +1008,7 @@ class LayoutTestDirMergerTests(unittest.TestCase):
1008
1008
[Wed Mar 01 22:20:07.400802 2017] [ssl:warn] [pid 15010] AH01909: RSA certificate configured for 127.0.0.1:443 does NOT include an ID which matches the server name
1009
1009
"""
1010
1010
1011
- layout_test_output_filesystem = {
1011
+ web_test_output_filesystem = {
1012
1012
'/out/layout-test-results/access_log.txt' : output_access_log ,
1013
1013
'/out/layout-test-results/archived_results.json' : output_archived_results_json ,
1014
1014
'/out/layout-test-results/error_log.txt' : output_error_log ,
@@ -1040,11 +1040,11 @@ class LayoutTestDirMergerTests(unittest.TestCase):
1040
1040
}
1041
1041
1042
1042
def test (self ):
1043
- fs = MockFileSystem (self .layout_test_filesystem )
1043
+ fs = MockFileSystem (self .web_test_filesystem )
1044
1044
1045
- merger = merge_results .LayoutTestDirMerger (fs , results_json_value_overrides = {'layout_tests_dir' : 'src' })
1045
+ merger = merge_results .WebTestDirMerger (fs , results_json_value_overrides = {'layout_tests_dir' : 'src' })
1046
1046
merger .merge ('/out' , ['/shards/0' , '/shards/1' ])
1047
1047
1048
- for fname , contents in self .layout_test_output_filesystem .items ():
1048
+ for fname , contents in self .web_test_output_filesystem .items ():
1049
1049
self .assertIn (fname , fs .files )
1050
1050
self .assertMultiLineEqual (contents , fs .files [fname ])
0 commit comments