Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 17 of 17 for assumeTrue (0.06 seconds)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.junit.jupiter.api.Assumptions.assumeTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.inOrder;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    
    @Deprecated
    class MavenCliTest {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

    import org.hamcrest.BaseMatcher
    import org.hamcrest.CoreMatchers
    import org.hamcrest.Description
    import org.hamcrest.Matcher
    import org.hamcrest.MatcherAssert
    import org.junit.Assume.assumeThat
    import org.junit.Assume.assumeTrue
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  3. docs/smb3-features/05-rdma-smb-direct-design.md

        assertNotNull(provider);
        assertTrue(provider.isAvailable());
    }
    
    @Test
    public void testRdmaMemoryRegistration() throws Exception {
        RdmaProvider provider = new DisniRdmaProvider();
        assumeTrue(provider.isAvailable());
        
        ByteBuffer buffer = ByteBuffer.allocateDirect(4096);
        RdmaMemoryRegion region = provider.registerMemory(buffer, 
            EnumSet.of(RdmaAccess.LOCAL_READ, RdmaAccess.REMOTE_READ));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  4. 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");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

    import okio.buffer
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Assertions.assertArrayEquals
    import org.junit.jupiter.api.Assumptions.assumeTrue
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

      }
    
      @Test
      fun `Windows cannot read while writing`() {
        Assumptions.assumeTrue(windows)
    
        set("k1", "a", "a")
        val editor = cache.edit("k1")!!
        assertThat(cache["k1"]).isNull()
        editor.commit()
      }
    
      @Test
      fun `Windows cannot write while reading`() {
        Assumptions.assumeTrue(windows)
    
        set("k1", "a", "a")
        val snapshot = cache["k1"]!!
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  7. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
Back to Top