Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for getClass (0.04 sec)

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

            Method updateMethod = findMethod(transport.getClass(), "updatePreauthHash", byte[].class);
            updateMethod.setAccessible(true);
    
            byte[] testData = new byte[64];
    
            assertThrows(Exception.class, () -> {
                updateMethod.invoke(transport, testData);
            });
    
            // Verify hash was reset
            Method resetMethod = findMethod(transport.getClass(), "resetPreauthHash");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            assertFalse(crawlerEngineClient.equals(other));
        }
    
        // Test getClass method
        public void test_getClass() {
            // Test that getClass returns the correct class
            assertEquals(CrawlerEngineClient.class, crawlerEngineClient.getClass());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            // Both instances should be of the same class
            assertEquals(exception1.getClass(), exception2.getClass());
    
            // Test serialization compatibility by checking class name
            assertEquals("org.codelibs.fess.exception.CommandExecutionException", exception1.getClass().getName());
        }
    
        public void test_exceptionThrown() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            FessUserNotFoundException exception2 = new FessUserNotFoundException("user2");
    
            // Both instances should be of the same class
            assertEquals(exception1.getClass(), exception2.getClass());
        }
    
        public void test_stackTrace() {
            // Test that the exception has a proper stack trace
            FessUserNotFoundException exception = new FessUserNotFoundException("testuser");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            FessSystemException exception2 = new FessSystemException("Test");
    
            // Both instances should be of the same class
            assertEquals(exception1.getClass(), exception2.getClass());
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedMessage = "Expected error";
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            return guid.toString();
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj)
                return true;
            if (obj == null || getClass() != obj.getClass())
                return false;
            HandleGuid that = (HandleGuid) obj;
            return guid.equals(that.guid);
        }
    
        @Override
        public int hashCode() {
            return guid.hashCode();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            InvalidAccessTokenException exception2 = new InvalidAccessTokenException("Type", "Message");
    
            // Both instances should be of the same class
            assertEquals(exception1.getClass(), exception2.getClass());
        }
    
        public void test_stackTracePopulated() {
            // Test that stack trace is properly populated
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught ThemeException, but caught: " + e.getClass());
            }
        }
    
        public void test_throwAndCatchWithCause() {
            // Test throwing and catching exception with cause
            String expectedMessage = "Theme validation failed";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/ResourceManager.java

            volatile boolean closed;
    
            ResourceHolder(String resourceId, AutoCloseable resource, ReferenceQueue<AutoCloseable> queue) {
                this.resourceId = resourceId;
                this.resourceType = resource.getClass().getSimpleName();
                this.resourceRef = new WeakReference<>(resource);
                this.phantomRef = new PhantomReference<>(resource, queue);
                this.creationTime = System.currentTimeMillis();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

         */
        @Override
        public boolean allowChain(final CommonServerMessageBlockRequest next) {
            return getConfig().isAllowCompound(getClass().getSimpleName()) && getConfig().isAllowCompound(next.getClass().getSimpleName());
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#createCancel()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top