File tree 5 files changed +18
-12
lines changed
5 files changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
6
7
7
## [ Unreleased]
8
8
9
+ ## [ 4.4.4]
10
+
11
+ ### Fixed
12
+
13
+ - issue related to autorun feture.
14
+
9
15
## [ 4.4.3] - 2023-06-06
10
16
11
17
### Fixed
Original file line number Diff line number Diff line change @@ -85,12 +85,12 @@ export abstract class AbstractExecutable<TestT extends AbstractTest = AbstractTe
85
85
return this . _tests . values ( ) ;
86
86
}
87
87
88
- public hasTestWithId ( id : string ) : boolean {
89
- if ( this . _execItem . getItem ( ) ?. id === id ) return true ;
90
- const found = this . _tests . get ( id ) ;
91
- if ( found ) return true ;
88
+ public hasTestItem ( item : vscode . TestItem ) : boolean {
89
+ if ( this . _execItem . getItem ( ) === item ) return true ;
90
+ const found = this . _tests . get ( item . id ) ;
91
+ if ( found ?. item === item ) return true ;
92
92
for ( const test of this . _tests . values ( ) ) {
93
- const found = test . hasSubTest ( id ) ;
93
+ const found = test . hasSubTestItem ( item ) ;
94
94
if ( found ) return true ;
95
95
}
96
96
return false ;
Original file line number Diff line number Diff line change @@ -151,12 +151,12 @@ export abstract class AbstractTest {
151
151
152
152
private _subTests : Map < string /*id*/ , SubTest > | undefined = undefined ;
153
153
154
- public hasSubTest ( id : string ) : boolean {
154
+ public hasSubTestItem ( item : vscode . TestItem ) : boolean {
155
155
if ( this . _subTests === undefined ) return false ;
156
- const found = this . _subTests . get ( id ) ;
157
- if ( found !== undefined ) return true ;
156
+ const found = this . _subTests . get ( item . id ) ;
157
+ if ( found ?. item === item ) return true ;
158
158
for ( const subTest of this . _subTests . values ( ) ) {
159
- const found = subTest . hasSubTest ( id ) ;
159
+ const found = subTest . hasSubTestItem ( item ) ;
160
160
if ( found ) return true ;
161
161
}
162
162
return false ;
Original file line number Diff line number Diff line change @@ -707,8 +707,8 @@ class ExpressionProcessor implements XmlTagProcessor {
707
707
this . builder . addMessageWithOutput (
708
708
this . attribs . filename ,
709
709
this . attribs . line ,
710
- ` ${ this . attribs . type } threw an exception: \`${ this . exception } \``,
711
- 'Original: ' + this . original ,
710
+ ( this . attribs . type ?? `Expression` ) + ` threw an exception \`${ this . exception } \``,
711
+ this . original ?? '' ,
712
712
) ;
713
713
} else {
714
714
this . builder . addExpressionMsg (
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
177
177
} else {
178
178
for ( const item of request . include ) {
179
179
for ( const e of executables ) {
180
- if ( e . hasTestWithId ( item . id ) ) {
180
+ if ( e . hasTestItem ( item ) ) {
181
181
include . push ( item ) ;
182
182
break ;
183
183
}
You can’t perform that action at this time.
0 commit comments