Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0186310

Browse files
committed
fix: UT's related to proxy configuration
A new API was added to allow proxy authentication
1 parent 6d67abe commit 0186310

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/kotlin/com/coder/toolbox/sdk/CoderRestClientTest.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import com.jetbrains.toolbox.api.core.diagnostics.Logger
2424
import com.jetbrains.toolbox.api.core.os.LocalDesktopManager
2525
import com.jetbrains.toolbox.api.localization.LocalizableStringFactory
2626
import com.jetbrains.toolbox.api.remoteDev.connection.ClientHelper
27+
import com.jetbrains.toolbox.api.remoteDev.connection.ProxyAuth
2728
import com.jetbrains.toolbox.api.remoteDev.connection.RemoteToolsHelper
2829
import com.jetbrains.toolbox.api.remoteDev.connection.ToolboxProxySettings
2930
import com.jetbrains.toolbox.api.remoteDev.states.EnvironmentStateColorPalette
@@ -114,6 +115,8 @@ class CoderRestClientTest {
114115
object : ToolboxProxySettings {
115116
override fun getProxy(): Proxy? = null
116117
override fun getProxySelector(): ProxySelector? = null
118+
override fun getProxyAuth(): ProxyAuth? = null
119+
117120
override fun addProxyChangeListener(listener: Runnable) {
118121
}
119122

@@ -579,6 +582,7 @@ class CoderRestClientTest {
579582
}
580583
}
581584

585+
override fun getProxyAuth(): ProxyAuth? = null
582586
override fun addProxyChangeListener(listener: Runnable) {
583587
}
584588

0 commit comments

Comments
 (0)