Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 3,275 for Nest (0.08 sec)

  1. src/test/java/jcifs/util/transport/TransportTest.java

            }
    
            @Test
            @DisplayName("readn should throw IOException when buffer too short")
            void shouldThrowWhenBufferTooShort() {
                InputStream is = new ByteArrayInputStream("test".getBytes());
                assertThrows(IOException.class, () -> Transport.readn(is, new byte[5], 0, 10));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        clientListener.assertClosed(1000, "")
        serverListener.assertClosed(1000, "")
      }
    
      @Test
      fun wsScheme() {
        assumeNotWindows()
        websocketScheme("ws")
      }
    
      @Test
      fun wsUppercaseScheme() {
        websocketScheme("WS")
      }
    
      @Test
      fun wssScheme() {
        webServer.useHttps(handshakeCertificates.sslSocketFactory())
        client =
          client
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

        private SmbPipeHandle mockSmbPipeHandle;
        @Mock
        private BufferCache mockBufferCache;
    
        private static final String TEST_URL = "ncacn_np:server[\\pipe\\test]";
        private static final String TEST_SERVER = "server";
        private static final String TEST_ENDPOINT = "\\pipe\\test";
    
        @BeforeEach
        void setUp() throws IOException {
            // Setup mock behavior with lenient stubbing to avoid UnnecessaryStubbingException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

        }
    
        @Test
        void testConstructor_maxValue() {
            // Test with the maximum byte value
            NdrSmall ndrSmall = new NdrSmall(255);
            assertEquals(255, ndrSmall.value, "Value should be initialized correctly for max byte value.");
        }
    
        @Test
        void testConstructor_zeroValue() {
            // Test with zero value
            NdrSmall ndrSmall = new NdrSmall(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

         */
        @Test
        void testToString() {
            String result = response.toString();
            assertNotNull(result, "toString() should not return null.");
        }
    
        // Helper method to access the super.toString() for verification,
        // as we cannot call it directly from the test.
        // This requires a package-private or public method in the class under test,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            assertEquals("test", getQuery("", new String[] { "test" }, Collections.emptyMap(), Collections.emptyMap(), false));
            assertEquals("test (query1 OR query2)",
                    getQuery("", new String[] { "test", "query1 OR query2" }, Collections.emptyMap(), Collections.emptyMap(), false));
            assertEquals("(test || extra)",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            super.setUp();
            authenticationManager = new AuthenticationManager();
        }
    
        // Test default constructor
        public void test_constructor() {
            AuthenticationManager manager = new AuthenticationManager();
            assertNotNull(manager);
        }
    
        // Test insert with no chains
        public void test_insert_noChains() {
            User user = createTestUser("testuser");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

        @BeforeEach
        void setUp() {
            // Initialize test file IDs
            testFileId = new byte[16];
            new SecureRandom().nextBytes(testFileId);
    
            emptyFileId = new byte[16];
            Arrays.fill(emptyFileId, (byte) 0);
    
            unspecifiedFileId = Smb2Constants.UNSPECIFIED_FILEID;
    
            testOutputBuffer = new byte[1024];
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

      }
    
      @Test @Disabled
      fun headers() {
        var headers: Headers = Headers.of("", "")
        headers = Headers.of(mapOf("" to ""))
        val size: Int = headers.size()
      }
    
      @Test @Disabled
      fun httpLoggingInterceptor() {
        val interceptor = HttpLoggingInterceptor()
        val level = interceptor.getLevel()
      }
    
      @Test @Disabled
      fun httpUrl() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

      }
    
      /**
       * Test that response caching is consistent with the RI and the spec.
       * http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.4
       */
      @Test
      fun responseCachingByResponseCode() {
        // Test each documented HTTP/1.1 code, plus the first unused value in each range.
        // http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
    
        // We can't test 100 because it's not really a response.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
Back to top