Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assumeTrue (0.05 sec)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Skip if Docker isn't available
            assumeTrue(isDockerAvailable(), "Docker is not available - skipping integration test");
            assumeTrue(sambaContainer != null, "Samba container is not initialized - Docker not available");
    
            // Wait for container to be fully ready in CI environments
            if (!sambaContainer.isRunning()) {
                assumeTrue(false, "Samba container is not running - skipping test");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        url = server.url("/")
        setLevel(Level.BASIC)
        server.enqueue(MockResponse())
        val response = client.newCall(request().build()).execute()
        Assumptions.assumeTrue(response.protocol == Protocol.HTTP_2)
        applicationLogs
          .assertLogEqual("--> GET $url")
          .assertLogMatch(Regex("""<-- 200 $url \(\d+ms, 0-byte body\)"""))
          .assertNoMoreLogs()
        networkLogs
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 37.5K bytes
    - Viewed (0)
Back to top