mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-22 06:21:25 +07:00
[Java] Refactor tests after using more options from VMOptionsSevice in JavaShellCommandSpecsProvider
IDEA-359564 GitOrigin-RevId: d2bd0584ffe414aa8c11ead3cf5eefad138349d1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
44e3345c64
commit
ed565f05a1
@@ -24,8 +24,9 @@ class JavaShellCommandSpecsProviderTest : BasePlatformTestCase() {
|
||||
val fixture = ShellCompletionTestFixture.builder(project).mockShellCommandResults { _ ->
|
||||
return@mockShellCommandResults ShellCommandResult.create("", exitCode = 1)
|
||||
}.build()
|
||||
assertSameElements(fixture.getCompletionNames(), listOf("-?", "-help", "-h", "-jar", "-D", "-version", "-classpath", "-cp", "-showversion",
|
||||
"-dsa", "-enablesystemassertions", "-esa", "-disablesystemassertions", "-ea", "-enableassertions", "-da", "-disableassertions", "-agentlib", "-agentpath", "-javaagent"))
|
||||
assertSameElements(fixture.getCompletionNames(), listOf("-ea", "-enableassertions", "-da", "-disableassertions", "-esa", "-enablesystemassertions",
|
||||
"-dsa", "-disablesystemassertions", "-agentpath:", "-agentlib:", "-javaagent:",
|
||||
"-D", "-XX:", "-?", "-help", "-h", "-jar", "-version", "-classpath", "-cp", "-showversion"))
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user