- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for mockserver (0.15 sec)
-
container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt
@Container val mockServer: MockServerContainer = MockServerContainer(MOCKSERVER_IMAGE) .withNetwork(network) .withNetworkAliases("mockserver") @Container val socks5Proxy = GenericContainer(SOCKS5_PROXY) .withNetwork(network) .withExposedPorts(1080) @Test fun testLocal() { MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2.6K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt
import okio.source import org.junit.jupiter.api.Test import org.mockserver.client.MockServerClient import org.mockserver.configuration.Configuration import org.mockserver.logging.MockServerLogger import org.mockserver.model.HttpRequest.request import org.mockserver.model.HttpResponse.response import org.mockserver.proxyconfiguration.ProxyConfiguration import org.mockserver.socket.tls.KeyStoreFactory
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 5.9K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt
import okhttp3.OkHttpClient import okhttp3.Request import org.junit.jupiter.api.Test import org.mockserver.client.MockServerClient import org.mockserver.configuration.Configuration import org.mockserver.logging.MockServerLogger import org.mockserver.model.HttpRequest.request import org.mockserver.model.HttpResponse.response import org.mockserver.socket.tls.KeyStoreFactory import org.testcontainers.containers.MockServerContainer
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 3.3K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt
import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension import org.junit.jupiter.api.parallel.Isolated import org.mockserver.client.MockServerClient import org.mockserver.model.HttpRequest.request import org.mockserver.model.HttpResponse.response import org.testcontainers.containers.MockServerContainer import org.testcontainers.junit.jupiter.Container
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 11:15:46 UTC 2024 - 3.7K bytes - Viewed (0) -
container-tests/build.gradle.kts
testImplementation(libs.junit.jupiter.params) testImplementation(libs.junit.jupiter.engine) testImplementation(libs.assertk) testImplementation(libs.testcontainers) testImplementation(libs.mockserver) testImplementation(libs.mockserver.client) testImplementation(libs.testcontainers.junit5)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 17 14:46:34 UTC 2024 - 1.1K bytes - Viewed (0) -
gradle/libs.versions.toml
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinx-serialization" } mockserver = { module = "org.testcontainers:mockserver", version.ref = "testcontainers" } mockserver-client = { module = "org.mock-server:mockserver-client-java-no-dependencies", version.ref = "mockserverClient" }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Oct 28 11:53:44 UTC 2024 - 7.5K bytes - Viewed (0) -
internal/dsync/dsync-server_test.go
subrouter.Methods(http.MethodPost).Path("/v1/lock").HandlerFunc(lockServer.LockHandler) subrouter.Methods(http.MethodPost).Path("/v1/rlock").HandlerFunc(lockServer.RLockHandler) subrouter.Methods(http.MethodPost).Path("/v1/unlock").HandlerFunc(lockServer.UnlockHandler) subrouter.Methods(http.MethodPost).Path("/v1/runlock").HandlerFunc(lockServer.RUnlockHandler)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 23 16:46:37 UTC 2023 - 8.3K bytes - Viewed (0) -
cmd/lock-rest-server.go
func registerLockRESTHandlers(gm *grid.Manager) { lockServer := &lockRESTServer{ ll: newLocker(), } logger.FatalIf(lockRPCForceUnlock.Register(gm, lockServer.ForceUnlockHandler), "unable to register handler") logger.FatalIf(lockRPCRefresh.Register(gm, lockServer.RefreshHandler), "unable to register handler") logger.FatalIf(lockRPCLock.Register(gm, lockServer.LockHandler), "unable to register handler")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 5.8K bytes - Viewed (0) -
internal/dsync/dsync_test.go
if testing.Short() { t.Skip("skipping test in short mode.") } // Simulate Refresh response to return no locking found for i := range lockServers[:3] { lockServers[i].setRefreshReply(false) defer lockServers[i].setRefreshReply(true) } dm := NewDRWMutex(ds, "aap") dm.refreshInterval = 500 * time.Millisecond var wg sync.WaitGroup wg.Add(1)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 14:35:19 UTC 2024 - 11.1K bytes - Viewed (0)