Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 198 for getEee (0.24 sec)

  1. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            ntlmConnection.disconnect();
    
            // Assert
            verify(mockConnection).disconnect();
            // Connection should be closed after disconnect
        }
    
        /**
         * Test simple getter methods that should trigger the handshake.
         * We mock a simple 200 OK response to test the handshake is called.
         * @throws IOException
         */
        @Test
        void testGettersTriggerHandshake() throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            assertEquals(20, context.getMaxThreadCheckCount());
            assertEquals(-1, context.getMaxDepth());
            assertEquals(0L, context.getMaxAccessCount());
        }
    
        /**
         * Test sessionId getter and setter
         */
        public void test_sessionId() {
            assertNull(crawlerContext.getSessionId());
    
            crawlerContext.setSessionId("test-session-001");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java

            // Test URL getter/setter
            ResponseData data = new ResponseData();
            String url = "https://example.com/path";
    
            data.setUrl(url);
            assertEquals(url, data.getUrl());
    
            data.setUrl(null);
            assertNull(data.getUrl());
        }
    
        public void test_httpStatusCodeGetterSetter() {
            // Test HTTP status code getter/setter
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

        @Test
        @DisplayName("Should generate random lease key with correct size")
        void testRandomLeaseKeyGeneration() {
            Smb2LeaseKey key = new Smb2LeaseKey();
    
            assertNotNull(key.getKey());
            assertEquals(16, key.getKey().length);
            assertFalse(key.isZero());
        }
    
        @Test
        @DisplayName("Should create lease key from byte array")
        void testLeaseKeyFromBytes() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/PropertyDesc.java

         * @return the property type
         */
        <T> Class<T> getPropertyType();
    
        /**
         * Returns the getter method.
         *
         * @return the getter method
         */
        Method getReadMethod();
    
        /**
         * Returns whether the property has a getter method.
         *
         * @return whether the property has a getter method
         */
        boolean hasReadMethod();
    
        /**
         * Returns the setter method.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                // Then
                long expectedFree = free * sectPerAlloc * bytesPerSect;
                assertEquals(expectedFree, fileFsSizeInfo.getFree());
                assertEquals(2097152L, fileFsSizeInfo.getFree()); // 512 * 8 * 512
            }
    
            @Test
            @DisplayName("Should handle overflow in capacity calculation")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                // Then
                long expectedFree = callerFree * sectPerAlloc * bytesPerSect;
                assertEquals(expectedFree, fileFsFullSizeInfo.getFree());
                assertEquals(2097152L, fileFsFullSizeInfo.getFree()); // 512 * 8 * 512
            }
    
            @Test
            @DisplayName("Should handle overflow in capacity calculation")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

                KerberosCredentials credentials = new KerberosCredentials(LOGIN_CONTEXT_NAME);
                KerberosKey foundKey = credentials.getKey(KEY_TYPE_1);
                assertNotNull(foundKey);
                assertEquals(key1, foundKey);
            }
        }
    
        /**
         * Test getKey method when the requested key type does not exist.
         *
         * @throws LoginException if login fails.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/FileEntryTest.java

        }
    
        @ParameterizedTest(name = "Int getter {2} returns {1}")
        @MethodSource("intGetterProvider")
        void intGetters_edgeCases(IntGetter getter, int value, String label) {
            // Arrange
            FileEntry e = new TestFileEntry("n", value, value, 0L, 0L, 0L, 0L, value);
            // Act
            int actual = getter.apply(e);
            // Assert
            assertEquals(value, actual, label);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            SmbPipeInputStream stream = newStreamWithMinimalStubs(true);
    
            // Arrange mocks for available()
            when(handle.ensureOpen()).thenReturn(fd);
            when(fd.getTree()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(true);
            when(tree.getConfig()).thenReturn(config);
            when(config.getTransactionBufferSize()).thenReturn(65535);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top