@@ -41,7 +41,7 @@ abstract class TestCodeLens extends OmniSharpCodeLens {
41
41
constructor (
42
42
range : protocol . V2 . Range ,
43
43
fileName : string ,
44
- public name : string ,
44
+ public displayName : string ,
45
45
public isTestContainer : boolean ,
46
46
public testFramework : string ,
47
47
public testMethodNames : string [ ] ) {
@@ -54,25 +54,25 @@ class RunTestsCodeLens extends TestCodeLens {
54
54
constructor (
55
55
range : protocol . V2 . Range ,
56
56
fileName : string ,
57
- name : string ,
57
+ displayName : string ,
58
58
isTestContainer : boolean ,
59
59
testFramework : string ,
60
60
testMethodNames : string [ ] ) {
61
61
62
- super ( range , fileName , name , isTestContainer , testFramework , testMethodNames ) ;
62
+ super ( range , fileName , displayName , isTestContainer , testFramework , testMethodNames ) ;
63
63
}
64
64
}
65
65
66
66
class DebugTestsCodeLens extends TestCodeLens {
67
67
constructor (
68
68
range : protocol . V2 . Range ,
69
69
fileName : string ,
70
- name : string ,
70
+ displayName : string ,
71
71
isTestContainer : boolean ,
72
72
testFramework : string ,
73
73
testMethodNames : string [ ] ) {
74
74
75
- super ( range , fileName , name , isTestContainer , testFramework , testMethodNames ) ;
75
+ super ( range , fileName , displayName , isTestContainer , testFramework , testMethodNames ) ;
76
76
}
77
77
}
78
78
@@ -155,7 +155,7 @@ export default class OmniSharpCodeLensProvider extends AbstractProvider implemen
155
155
codeLens . command = {
156
156
title : pluralTitle ,
157
157
command : pluralCommandName ,
158
- arguments : [ codeLens . name , codeLens . testMethodNames , codeLens . fileName , codeLens . testFramework ]
158
+ arguments : [ codeLens . displayName , codeLens . testMethodNames , codeLens . fileName , codeLens . testFramework ]
159
159
} ;
160
160
}
161
161
0 commit comments