Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 228 for behaviors (2.56 sec)

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

            } catch (SmbException e) {
                // This is the expected behavior per SMB specification
                deletionFailed = true;
                log.info("Non-empty directory deletion properly failed as expected: {}", e.getMessage());
            }
    
            // Directory behavior depends on whether deletion failed or succeeded
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

        }
    
        @Test
        @DisplayName("Invalid: resolving class by null name throws NPE")
        void testClassForNameWithNull() {
            // Intent: demonstrate defensive behavior with null when resolving this type by name
            assertThrows(NullPointerException.class, () -> Class.forName(null));
        }
    
        @Test
        @DisplayName("Happy path: class is loadable via fully qualified name")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/KeyMatchService.java

    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    /**
     * Service class for KeyMatch.
     */
    public class KeyMatchService extends FessAppService {
    
        /** The KeyMatch behavior. */
        @Resource
        protected KeyMatchBhv keyMatchBhv;
    
        /**
         * Default constructor.
         */
        public KeyMatchService() {
            super();
        }
    
        /** The Fess config. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            assertEquals(msg, ex.getMessage(), "Constructor should preserve the provided message (including null)");
            assertNull(ex.getCause(), "No cause expected when only message is provided");
    
            // toString behavior mirrors Throwable: includes message when not null
            String ts = ex.toString();
            assertTrue(ts.contains("SmbUnsupportedOperationException"), "toString should contain class name");
            if (msg != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

        @Mock
        private Configuration mockConfig;
    
        @Mock
        private Name mockName;
    
        private NodeStatusRequest nodeStatusRequest;
    
        @BeforeEach
        void setUp() {
            // Setup default mock behavior
            lenient().when(mockConfig.getNetbiosScope()).thenReturn("DEFAULT.SCOPE");
            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
            // Setup mock name
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            // Reserved1 (2 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written)
            // This is expected behavior - the reserved fields are not explicitly written to 0
    
            // Reserved2 (4 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written)
            // This is expected behavior - the reserved fields are not explicitly written to 0
    
            // FileId (16 bytes) - should match our test file ID
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/NotifyResponseTest.java

        @Mock
        private FileNotifyInformation mockNotifyInfo2;
    
        @Mock
        private CommonServerMessageBlockRequest mockRequest;
    
        /**
         * Mock implementation of NotifyResponse for testing interface behavior
         */
        private static class MockNotifyResponse implements NotifyResponse {
    
            private List<FileNotifyInformation> notifyInformation;
            private boolean async = false;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/LabelTypeService.java

    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    /**
     * Service class for label types.
     */
    public class LabelTypeService extends FessAppService {
    
        /** The LabelType behavior. */
        @Resource
        protected LabelTypeBhv labelTypeBhv;
    
        /** The Fess config. */
        @Resource
        protected FessConfig fessConfig;
    
        /**
         * Default constructor.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/context/CIFSContextWrapper.java

            } catch (final MalformedURLException e) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
        /**
         * Wraps a new context, allowing subclasses to provide custom wrapping behavior.
         *
         * @param newContext the context to wrap
         * @return the wrapped context
         */
        protected CIFSContext wrap(final CIFSContext newContext) {
            return newContext;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

                if (host == null) {
                    return;
                }
    
                // Atomically get or create the AtomicLong for this host using Cache.get()
                // This ensures thread-safe, atomic get-or-create behavior
                // Initialize with 0 to mark uninitialized state
                final AtomicLong lastTime = lastTimes.get(host, () -> new AtomicLong(0));
    
                synchronized (lastTime) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top