You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/codemodernizer/CodeWhispererCodeModernizerUtilsTest.kt
+26-18Lines changed: 26 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -257,15 +257,19 @@ class CodeWhispererCodeModernizerUtilsTest : CodeWhispererCodeModernizerTestBase
257
257
fun`isPlanComplete returns true when plan has progress update with name '1'`() {
258
258
// Arrange
259
259
val plan =TransformationPlan.builder()
260
-
.transformationSteps(listOf(
261
-
TransformationStep.builder()
262
-
.progressUpdates(listOf(
263
-
TransformationProgressUpdate.builder()
264
-
.name("1")
265
-
.build()
266
-
))
267
-
.build()
268
-
))
260
+
.transformationSteps(
261
+
listOf(
262
+
TransformationStep.builder()
263
+
.progressUpdates(
264
+
listOf(
265
+
TransformationProgressUpdate.builder()
266
+
.name("1")
267
+
.build()
268
+
)
269
+
)
270
+
.build()
271
+
)
272
+
)
269
273
.build()
270
274
val result = isPlanComplete(plan)
271
275
assertThat(result).isTrue()
@@ -274,15 +278,19 @@ class CodeWhispererCodeModernizerUtilsTest : CodeWhispererCodeModernizerTestBase
274
278
@Test
275
279
fun`isPlanComplete returns false when plan has no progress update with name '1'`() {
0 commit comments