Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 1,142 for Setup (0.02 sec)

  1. src/test/java/jcifs/SmbResourceTest.java

        /**
         * Helper method to create a basic SmbResource mock without pre-stubbing
         */
        private SmbResource createMockResource() {
            return mock(SmbResource.class);
        }
    
        @BeforeEach
        void setUp() {
            // Reset mocks to ensure clean state for each test
            reset(mockResource, mockLocator, mockContext);
        }
    
        @Nested
        @DisplayName("Interface Contract Tests")
        class InterfaceContractTests {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

      private fun configureClientTestRule(): OkHttpClientTestRule {
        val clientTestRule = OkHttpClientTestRule()
        clientTestRule.recordTaskRunner = true
        return clientTestRule
      }
    
      @BeforeEach
      fun setUp() {
        platform.assumeNotOpenJSSE()
      }
    
      @AfterEach
      @Throws(InterruptedException::class)
      fun tearDown() {
        clientListener.assertExhausted()
      }
    
      @Test
      fun textMessage() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

     */
    @DisplayName("InferenceStrategy")
    class InferenceStrategyTest {
    
        private InferenceStrategy strategy;
    
        @BeforeEach
        void setUp() {
            strategy = new InferenceStrategy();
        }
    
        private UpgradeContext createMockContext() {
            return TestUtils.createMockContext();
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

        }
    
        private void assertContains(String msg, String substring) {
            assertTrue(msg.contains(substring), "\"" + substring + "\" was not found in: " + msg);
        }
    
        @BeforeEach
        void setUp() throws Exception {
            validator = new DefaultModelValidator(new DefaultModelVersionProcessor());
        }
    
        @AfterEach
        void tearDown() throws Exception {
            this.validator = null;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

        @Mock
        private DcerpcBinding mockBinding;
    
        @Mock
        private DcerpcHandle mockHandle;
    
        @Mock
        private NdrBuffer mockBuffer;
    
        private DcerpcBind bind;
    
        @BeforeEach
        void setUp() {
            bind = new DcerpcBind();
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

        return e
      }
    
      /**
       * Stops applying the timeout before the call is entirely complete. This is used for WebSockets
       * and duplex calls where the timeout only applies to the initial setup.
       */
      fun timeoutEarlyExit() {
        check(!timeoutEarlyExit)
        timeoutEarlyExit = true
        timeout.exit()
      }
    
      fun upgradeToSocket() {
        timeoutEarlyExit()
    
        withLock {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

    @DisplayName("Smb2QueryDirectoryResponse Tests")
    class Smb2QueryDirectoryResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private Smb2QueryDirectoryResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.isUseUnicode()).thenReturn(true);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65536);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

    @Suppress("deprecation")
    @Timeout(30)
    @Tag("Slow")
    class MockWebServerTest {
      @RegisterExtension
      var platform = PlatformRule()
      private val server = MockWebServer()
    
      @BeforeEach
      fun setUp() {
        server.start()
      }
    
      @AfterEach
      fun tearDown() {
        server.shutdown()
      }
    
      @Test
      fun defaultMockResponse() {
        val response = MockResponse()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  9. docs/bucket/notifications/README.md

    ```
    
    MinIO supports all the exchanges available in [RabbitMQ](https://www.rabbitmq.com/). For this setup, we are using `fanout` exchange.
    
    MinIO also sends with the notifications two headers: `minio-bucket` and `minio-event`. An exchange using the type "headers" can use this information to route the notifications to proper queues.
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 84.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

    class Smb2QueryInfoRequestTest {
    
        private Configuration mockConfig;
        private CIFSContext mockContext;
        private Smb2QueryInfoRequest request;
        private byte[] testFileId;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            mockContext = mock(CIFSContext.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65536);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top