@@ -9,7 +9,7 @@ namespace Hyperbee.Expressions.Tests;
99[ TestClass ]
1010public class BlockAsyncBasicTests
1111{
12- [ DataTestMethod ]
12+ [ TestMethod ]
1313 [ DataRow ( CompleterType . Immediate , CompilerType . Fast ) ]
1414 [ DataRow ( CompleterType . Immediate , CompilerType . System ) ]
1515 [ DataRow ( CompleterType . Immediate , CompilerType . Interpret ) ]
@@ -36,7 +36,7 @@ public async Task BlockAsync_ShouldAwaitSuccessfully_WithCompletedTask( Complete
3636 Assert . AreEqual ( 1 , result ) ;
3737 }
3838
39- [ DataTestMethod ]
39+ [ TestMethod ]
4040 [ DataRow ( CompleterType . Immediate , CompilerType . Fast ) ]
4141 [ DataRow ( CompleterType . Immediate , CompilerType . System ) ]
4242 [ DataRow ( CompleterType . Immediate , CompilerType . Interpret ) ]
@@ -67,7 +67,7 @@ public async Task BlockAsync_ShouldAwaitMultipleSuccessfully_WithCompletedTask(
6767 Assert . AreEqual ( 2 , result ) ;
6868 }
6969
70- [ DataTestMethod ]
70+ [ TestMethod ]
7171 [ DataRow ( CompilerType . Fast ) ]
7272 [ DataRow ( CompilerType . System ) ]
7373 [ DataRow ( CompilerType . Interpret ) ]
@@ -86,7 +86,7 @@ public async Task BlockAsync_ShouldAwaitSuccessfully_WithDelayedTask( CompilerTy
8686 Assert . AreEqual ( 5 , result ) ;
8787 }
8888
89- [ DataTestMethod ]
89+ [ TestMethod ]
9090 [ DataRow ( CompleterType . Immediate , CompilerType . Fast ) ]
9191 [ DataRow ( CompleterType . Immediate , CompilerType . System ) ]
9292 [ DataRow ( CompleterType . Immediate , CompilerType . Interpret ) ]
@@ -117,7 +117,7 @@ public async Task BlockAsync_ShouldAwaitMultipleTasks_WithDifferentResults( Comp
117117 Assert . AreEqual ( 2 , result ) ; // Last awaited result should be returned
118118 }
119119
120- [ DataTestMethod ]
120+ [ TestMethod ]
121121 [ DataRow ( CompilerType . Fast ) ]
122122 [ DataRow ( CompilerType . System ) ]
123123 [ DataRow ( CompilerType . Interpret ) ]
@@ -136,7 +136,7 @@ public async Task BlockAsync_ShouldThrowException_WithFaultedTask( CompilerType
136136 await compiledLambda ( ) ;
137137 }
138138
139- [ DataTestMethod ]
139+ [ TestMethod ]
140140 [ DataRow ( CompilerType . Fast ) ]
141141 [ DataRow ( CompilerType . System ) ]
142142 [ DataRow ( CompilerType . Interpret ) ]
@@ -156,7 +156,7 @@ public async Task BlockAsync_ShouldHandleCanceledTask_WithCancellation( Compiler
156156 await compiledLambda ( ) ;
157157 }
158158
159- [ DataTestMethod ]
159+ [ TestMethod ]
160160 [ DataRow ( CompleterType . Immediate , CompilerType . Fast ) ]
161161 [ DataRow ( CompleterType . Immediate , CompilerType . System ) ]
162162 [ DataRow ( CompleterType . Immediate , CompilerType . Interpret ) ]
@@ -184,7 +184,7 @@ public async Task BlockAsync_ShouldAwaitNestedBlockAsync_WithNestedTasks( Comple
184184 Assert . AreEqual ( 2 , result ) ;
185185 }
186186
187- [ DataTestMethod ]
187+ [ TestMethod ]
188188 [ DataRow ( CompleterType . Immediate , CompilerType . Fast ) ]
189189 [ DataRow ( CompleterType . Immediate , CompilerType . System ) ]
190190 [ DataRow ( CompleterType . Immediate , CompilerType . Interpret ) ]
@@ -215,7 +215,7 @@ public async Task BlockAsync_ShouldAwaitNestedBlockAsync_WithNestedLambdas( Comp
215215 Assert . AreEqual ( 2 , result ) ;
216216 }
217217
218- [ DataTestMethod ]
218+ [ TestMethod ]
219219 [ DataRow ( CompleterType . Immediate , CompilerType . Fast ) ]
220220 [ DataRow ( CompleterType . Immediate , CompilerType . System ) ]
221221 [ DataRow ( CompleterType . Immediate , CompilerType . Interpret ) ]
@@ -261,7 +261,7 @@ public async Task BlockAsync_ShouldShareVariablesBetweenBlocks_WithNestedAwaits(
261261 Assert . AreEqual ( 7 , result ) ;
262262 }
263263
264- [ DataTestMethod ]
264+ [ TestMethod ]
265265 [ DataRow ( CompleterType . Immediate , CompilerType . Fast ) ]
266266 [ DataRow ( CompleterType . Immediate , CompilerType . System ) ]
267267 [ DataRow ( CompleterType . Immediate , CompilerType . Interpret ) ]
@@ -285,7 +285,7 @@ public async Task BlockAsync_ShouldHandleSyncAndAsync_WithMixedOperations( Compl
285285 Assert . AreEqual ( 20 , result ) ; // The last operation is asynchronous and returns 20
286286 }
287287
288- [ DataTestMethod ]
288+ [ TestMethod ]
289289 [ DataRow ( CompilerType . Fast ) ]
290290 [ DataRow ( CompilerType . System ) ]
291291 [ DataRow ( CompilerType . Interpret ) ]
@@ -303,7 +303,7 @@ public async Task BlockAsync_ShouldAwaitSuccessfully_WithTask( CompilerType comp
303303 Assert . IsTrue ( true ) ; // If no exception, the test is successful
304304 }
305305
306- [ DataTestMethod ]
306+ [ TestMethod ]
307307 [ DataRow ( CompleterType . Immediate , CompilerType . Fast ) ]
308308 [ DataRow ( CompleterType . Immediate , CompilerType . System ) ]
309309 [ DataRow ( CompleterType . Immediate , CompilerType . Interpret ) ]
@@ -333,7 +333,7 @@ public async Task BlockAsync_ShouldAwaitSuccessfully_WithReturnLabel( CompleterT
333333 Assert . AreEqual ( 10 , result ) ; // The last operation is asynchronous and returns 10
334334 }
335335
336- [ DataTestMethod ]
336+ [ TestMethod ]
337337 [ DataRow ( CompleterType . Immediate , CompilerType . Fast ) ]
338338 [ DataRow ( CompleterType . Immediate , CompilerType . System ) ]
339339 [ DataRow ( CompleterType . Immediate , CompilerType . Interpret ) ]
@@ -365,7 +365,7 @@ public async Task BlockAsync_ShouldPreserveVariableAssignment_BeforeAndAfterAwai
365365 Assert . AreEqual ( 15 , result ) ;
366366 }
367367
368- [ DataTestMethod ]
368+ [ TestMethod ]
369369 [ DataRow ( CompleterType . Immediate , CompilerType . Fast ) ]
370370 [ DataRow ( CompleterType . Immediate , CompilerType . System ) ]
371371 [ DataRow ( CompleterType . Immediate , CompilerType . Interpret ) ]
@@ -416,7 +416,7 @@ public async Task BlockAsync_ShouldPreserveVariablesInNestedBlock_WithAwaits( Co
416416 Assert . AreEqual ( 255 , result ) ;
417417 }
418418
419- [ DataTestMethod ]
419+ [ TestMethod ]
420420 [ DataRow ( CompilerType . Fast ) ]
421421 [ DataRow ( CompilerType . System ) ]
422422 [ DataRow ( CompilerType . Interpret ) ]
@@ -454,7 +454,7 @@ public async Task BlockAsync_ShouldPreserveVariables_WithNestedAwaits( CompilerT
454454 Assert . AreEqual ( 10 , result ) ;
455455 }
456456
457- [ DataTestMethod ]
457+ [ TestMethod ]
458458 [ DataRow ( CompleterType . Immediate , CompilerType . Fast ) ]
459459 [ DataRow ( CompleterType . Immediate , CompilerType . System ) ]
460460 [ DataRow ( CompleterType . Immediate , CompilerType . Interpret ) ]
@@ -500,7 +500,7 @@ public async Task BlockAsync_ShouldAllowLambdaParameters( CompleterType complete
500500 Assert . AreEqual ( 15 , result ) ;
501501 }
502502
503- [ DataTestMethod ]
503+ [ TestMethod ]
504504 [ DataRow ( CompleterType . Immediate , CompilerType . Fast ) ]
505505 [ DataRow ( CompleterType . Immediate , CompilerType . System ) ]
506506 [ DataRow ( CompleterType . Immediate , CompilerType . Interpret ) ]
@@ -561,7 +561,7 @@ public async Task BlockAsync_ShouldAllowParallelBlocks_WithTaskWhenAll( Complete
561561 }
562562 }
563563
564- [ DataTestMethod ]
564+ [ TestMethod ]
565565 [ DataRow ( CompleterType . Immediate , CompilerType . Fast ) ]
566566 [ DataRow ( CompleterType . Immediate , CompilerType . System ) ]
567567 [ DataRow ( CompleterType . Immediate , CompilerType . Interpret ) ]
@@ -613,7 +613,7 @@ public async Task BlockAsync_ShouldAllowNestedBlocks_WithoutAsync( CompleterType
613613 Assert . AreEqual ( 7 , result ) ;
614614 }
615615
616- [ DataTestMethod ]
616+ [ TestMethod ]
617617 [ DataRow ( CompleterType . Immediate , CompilerType . Fast ) ]
618618 [ DataRow ( CompleterType . Immediate , CompilerType . System ) ]
619619 [ DataRow ( CompleterType . Immediate , CompilerType . Interpret ) ]
@@ -667,7 +667,7 @@ public void Dispose()
667667 }
668668 }
669669
670- [ DataTestMethod ]
670+ [ TestMethod ]
671671 [ DataRow ( CompleterType . Immediate , CompilerType . Fast ) ]
672672 [ DataRow ( CompleterType . Immediate , CompilerType . System ) ]
673673 [ DataRow ( CompleterType . Deferred , CompilerType . Fast ) ]
0 commit comments