@@ -805,7 +805,7 @@ define(function (require, exports, module) {
805805
806806 await awaitsForDone ( SpecRunnerUtils . openProjectFiles ( [ "errors.js" ] ) , "open test file" , 5000 ) ;
807807
808- var $inspectorSections = $ ( ".inspector-section td " ) ;
808+ var $inspectorSections = $ ( ".inspector-section" ) ;
809809 expect ( $inspectorSections . length ) . toEqual ( 2 ) ;
810810 expect ( $inspectorSections [ 0 ] . innerHTML . lastIndexOf ( "javascript linter 1 (1)" ) ) . not . toBe ( - 1 ) ;
811811 expect ( $inspectorSections [ 1 ] . innerHTML . lastIndexOf ( "javascript linter 2 (1)" ) ) . not . toBe ( - 1 ) ;
@@ -842,7 +842,7 @@ define(function (require, exports, module) {
842842
843843 expect ( $ ( "#problems-panel" ) . is ( ":visible" ) ) . toBe ( true ) ;
844844
845- var $inspectorSections = $ ( ".inspector-section td " ) ;
845+ var $inspectorSections = $ ( ".inspector-section" ) ;
846846 expect ( $inspectorSections . length ) . toEqual ( 2 ) ;
847847 expect ( $inspectorSections [ 0 ] . innerHTML . indexOf ( "javascript linter 1 (1)" ) ) . not . toBe ( - 1 ) ;
848848 expect ( $inspectorSections [ 1 ] . innerHTML . indexOf ( "javascript linter 4 (1)" ) ) . not . toBe ( - 1 ) ;
@@ -875,13 +875,13 @@ define(function (require, exports, module) {
875875 await awaitsForDone ( SpecRunnerUtils . openProjectFiles ( [ "errors.js" ] ) , "open test file" ) ;
876876
877877 var $problemPanelTitle = $ ( "#problems-panel .title" ) . text ( ) ;
878- expect ( $problemPanelTitle ) . toBe ( StringUtils . format ( Strings . SINGLE_ERROR , "JavaScript Linter" ) ) ;
878+ expect ( $problemPanelTitle ) . toBe ( StringUtils . format ( Strings . SINGLE_ERROR , "JavaScript Linter" , "errors.js" ) ) ;
879879
880880 var $statusBar = $ ( "#status-inspection" ) ;
881881 expect ( $statusBar . is ( ":visible" ) ) . toBe ( true ) ;
882882
883883 var tooltip = $statusBar . attr ( "title" ) ;
884- var expectedTooltip = buildTooltip ( StringUtils . format ( Strings . SINGLE_ERROR , "JavaScript Linter" ) , 1 ) ;
884+ var expectedTooltip = buildTooltip ( StringUtils . format ( Strings . SINGLE_ERROR , "JavaScript Linter" , "errors.js" ) , 1 ) ;
885885 expect ( tooltip ) . toBe ( expectedTooltip ) ;
886886 } ) ;
887887
@@ -907,13 +907,13 @@ define(function (require, exports, module) {
907907 await awaitsForDone ( SpecRunnerUtils . openProjectFiles ( [ "errors.js" ] ) , "open test file" ) ;
908908
909909 var $problemPanelTitle = $ ( "#problems-panel .title" ) . text ( ) ;
910- expect ( $problemPanelTitle ) . toBe ( StringUtils . format ( Strings . MULTIPLE_ERRORS , "JavaScript Linter" , 2 ) ) ;
910+ expect ( $problemPanelTitle ) . toBe ( StringUtils . format ( Strings . MULTIPLE_ERRORS , 2 , "JavaScript Linter" , "errors.js" ) ) ;
911911
912912 var $statusBar = $ ( "#status-inspection" ) ;
913913 expect ( $statusBar . is ( ":visible" ) ) . toBe ( true ) ;
914914
915915 var tooltip = $statusBar . attr ( "title" ) ;
916- var expectedTooltip = buildTooltip ( StringUtils . format ( Strings . MULTIPLE_ERRORS , "JavaScript Linter" , 2 ) , 2 ) ;
916+ var expectedTooltip = buildTooltip ( StringUtils . format ( Strings . MULTIPLE_ERRORS , 2 , "JavaScript Linter" , "errors.js" ) , 2 ) ;
917917 expect ( tooltip ) . toBe ( expectedTooltip ) ;
918918 } ) ;
919919
@@ -928,14 +928,14 @@ define(function (require, exports, module) {
928928 await awaitsForDone ( SpecRunnerUtils . openProjectFiles ( [ "errors.js" ] ) , "open test file" ) ;
929929
930930 var $problemPanelTitle = $ ( "#problems-panel .title" ) . text ( ) ;
931- expect ( $problemPanelTitle ) . toBe ( StringUtils . format ( Strings . ERRORS_PANEL_TITLE_MULTIPLE , 2 ) ) ;
931+ expect ( $problemPanelTitle ) . toBe ( StringUtils . format ( Strings . ERRORS_PANEL_TITLE_MULTIPLE , 2 , "errors.js" ) ) ;
932932
933933 var $statusBar = $ ( "#status-inspection" ) ;
934934 expect ( $statusBar . is ( ":visible" ) ) . toBe ( true ) ;
935935
936936 var tooltip = $statusBar . attr ( "title" ) ;
937937 // tooltip will contain + in the title if the inspection was aborted
938- var expectedTooltip = buildTooltip ( StringUtils . format ( Strings . ERRORS_PANEL_TITLE_MULTIPLE , 2 ) , 2 ) ;
938+ var expectedTooltip = buildTooltip ( StringUtils . format ( Strings . ERRORS_PANEL_TITLE_MULTIPLE , 2 , "errors.js" ) , 2 ) ;
939939 expect ( tooltip ) . toBe ( expectedTooltip ) ;
940940 } ) ;
941941
@@ -1035,13 +1035,13 @@ define(function (require, exports, module) {
10351035
10361036 await awaits ( 100 ) ;
10371037 var $problemPanelTitle = $ ( "#problems-panel .title" ) . text ( ) ;
1038- expect ( $problemPanelTitle ) . toBe ( StringUtils . format ( Strings . ERRORS_PANEL_TITLE_MULTIPLE , 2 ) ) ;
1038+ expect ( $problemPanelTitle ) . toBe ( StringUtils . format ( Strings . ERRORS_PANEL_TITLE_MULTIPLE , 2 , "errors.js" ) ) ;
10391039
10401040 var $statusBar = $ ( "#status-inspection" ) ;
10411041 expect ( $statusBar . is ( ":visible" ) ) . toBe ( true ) ;
10421042
10431043 var tooltip = $statusBar . attr ( "title" ) ;
1044- var expectedTooltip = buildTooltip ( StringUtils . format ( Strings . ERRORS_PANEL_TITLE_MULTIPLE , 2 ) , 2 ) ;
1044+ var expectedTooltip = buildTooltip ( StringUtils . format ( Strings . ERRORS_PANEL_TITLE_MULTIPLE , 2 , "errors.js" ) , 2 ) ;
10451045 expect ( tooltip ) . toBe ( expectedTooltip ) ;
10461046 } ) ;
10471047
@@ -1071,7 +1071,7 @@ define(function (require, exports, module) {
10711071 expect ( $problemsPanel . is ( ":visible" ) ) . toBe ( true ) ;
10721072
10731073 var $problemsPanelTitle = $ ( "#problems-panel .title" ) . text ( ) ;
1074- expect ( $problemsPanelTitle ) . toBe ( StringUtils . format ( Strings . SINGLE_ERROR , "SlowAsyncLinter" ) ) ;
1074+ expect ( $problemsPanelTitle ) . toBe ( StringUtils . format ( Strings . SINGLE_ERROR , "SlowAsyncLinter" , "errors.js" ) ) ;
10751075
10761076 var $problemsReported = $ ( "#problems-panel .bottom-panel-table .line-text" ) ;
10771077 expect ( $problemsReported . length ) . toBe ( 1 ) ;
@@ -1101,7 +1101,7 @@ define(function (require, exports, module) {
11011101 expect ( $problemsPanel . is ( ":visible" ) ) . toBe ( true ) ;
11021102
11031103 var $problemsPanelTitle = $ ( "#problems-panel .title" ) . text ( ) ;
1104- expect ( $problemsPanelTitle ) . toBe ( StringUtils . format ( Strings . SINGLE_ERROR , providerName ) ) ;
1104+ expect ( $problemsPanelTitle ) . toBe ( StringUtils . format ( Strings . SINGLE_ERROR , providerName , "errors.js" ) ) ;
11051105
11061106 var $problemsReported = $ ( "#problems-panel .bottom-panel-table .line-text" ) ;
11071107 expect ( $problemsReported . length ) . toBe ( 1 ) ;
@@ -1127,7 +1127,7 @@ define(function (require, exports, module) {
11271127 expect ( $problemsPanel . is ( ":visible" ) ) . toBe ( true ) ;
11281128
11291129 var $problemsPanelTitle = $ ( "#problems-panel .title" ) . text ( ) ;
1130- expect ( $problemsPanelTitle ) . toBe ( StringUtils . format ( Strings . SINGLE_ERROR , providerName ) ) ;
1130+ expect ( $problemsPanelTitle ) . toBe ( StringUtils . format ( Strings . SINGLE_ERROR , providerName , "errors.js" ) ) ;
11311131
11321132 var $problemsReported = $ ( "#problems-panel .bottom-panel-table .line-text" ) ;
11331133 expect ( $problemsReported . length ) . toBe ( 1 ) ;
0 commit comments