Skip to content

Commit 1fd6c90

Browse files
committed
unit test
1 parent 35a0e2a commit 1fd6c90

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugins/amazonq/codewhisperer/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/codewhisperer/CodeWhispererConfigurableTest.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,18 @@ class CodeWhispererConfigurableTest : CodeWhispererTestBase() {
3939

4040
val checkboxes = panel.components.filterIsInstance<JCheckBox>()
4141

42-
assertThat(checkboxes.size).isEqualTo(5)
42+
assertThat(checkboxes.size).isEqualTo(6)
4343
assertThat(checkboxes.map { it.text }).containsExactlyInAnyOrder(
4444
message("aws.settings.codewhisperer.include_code_with_reference"),
4545
message("aws.settings.codewhisperer.configurable.opt_out.title"),
4646
message("aws.settings.codewhisperer.automatic_import_adder"),
47+
"Workspace context",
4748
message("aws.settings.codewhisperer.project_context"),
4849
message("aws.settings.codewhisperer.project_context_gpu")
4950
)
5051

5152
val comments = panel.components.filterIsInstance<DslLabel>()
52-
assertThat(comments.size).isEqualTo(8)
53+
assertThat(comments.size).isEqualTo(9)
5354

5455
mockCodeWhispererEnabledStatus(false)
5556
ApplicationManager.getApplication().messageBus.syncPublisher(ToolkitConnectionManagerListener.TOPIC)

0 commit comments

Comments
 (0)