Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 164 for dashes (0.5 sec)

  1. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Comprehensive test suite for NdrShort class
     * Tests construction, encoding, decoding, and edge cases
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("NdrShort Test Suite")
    class NdrShortTest {
    
        @Mock
        private NdrBuffer mockBuffer;
    
        @Nested
        @DisplayName("Constructor Tests")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/PathValidator.java

        }
    
        /**
         * Normalize a path
         */
        private String normalizePath(String path) {
            // Replace forward slashes with backslashes for consistency
            String normalized = path.replace('/', '\\');
    
            // Remove duplicate slashes
            normalized = normalized.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's the root
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SSPContextTest.java

                assertThrows(CIFSException.class, () -> ctx.initSecContext(buf, 2, 2));
            }
    
            @Test
            @DisplayName("initSecContext null token edge cases")
            void testInitSecContextNullToken() throws Exception {
                DummySSPContext ctx = new DummySSPContext(new byte[] { 1 }, false, null, null, 0, false);
                // len == 0 is allowed and returns empty token
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            List<TermQuery> queryList = SuggestUtil.getTermQueryList(null, fields);
            assertNotNull(queryList);
            assertEquals(0, queryList.size());
        }
    
        // Additional tests for createSuggestTextId boundary cases
        @Test
        public void testCreateSuggestTextIdBoundaryExactly445() {
            // Create text that encodes to exactly 445 characters
            // Base64 encoding increases size by ~4/3, so original size should be ~333 bytes
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for creating access tokens in the admin interface.
     * This form handles the creation of API access tokens with configurable permissions and expiration dates.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
            // Default constructor
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/FileEntryTest.java

        void mock_noInteractions() {
            // Arrange/Act: do nothing
            // Assert: verify no interactions
            verifyNoInteractions(mockEntry);
        }
    
        // --- Fake implementation tests (happy path and edge cases) ---
    
        @Test
        @DisplayName("Fake implementation returns provided values (happy path)")
        void fakeImplementation_happyPath() {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalControllerTest.java

     */
    package org.codelibs.fess.crawler.interval.impl;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test cases for {@link DefaultIntervalController}
     *
     * @author shinsuke
     */
    public class DefaultIntervalControllerTest extends PlainTestCase {
    
        /**
         * Test default constructor initializes with default values
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:58:39 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

    /**
     * Tests for SMBProtocolDowngradeException covering all constructors and behaviors.
     */
    @ExtendWith(MockitoExtension.class)
    class SMBProtocolDowngradeExceptionTest {
    
        /**
         * Provides messages including edge cases (null and empty) for parameterized testing.
         */
        static Stream<Arguments> messages() {
            return Stream.of(Arguments.of((String) null), Arguments.of(""), Arguments.of("unexpected downgrade"));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

     *
     * @author higa
     */
    public class CopyOptions {
    
        /**
         * Creates a new {@link CopyOptions} instance.
         */
        public CopyOptions() {
        }
    
        /**
         * Default converter for dates.
         */
        protected static final Converter DEFAULT_DATE_CONVERTER = new DateConverter(DateConversionUtil.getMediumPattern());
    
        /**
         * Default converter for time.
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

        void encodeWithSpiedBufferCallsEncMethod() throws NdrException {
            NdrShort ns = new NdrShort(42);
            NdrBuffer spy = spy(new NdrBuffer(new byte[10], 0));
            ns.encode(spy);
            // NdrShort passes its value (already masked to 0xFF) to enc_ndr_short
            verify(spy).enc_ndr_short(42);
        }
    
        /**
         * Verify that decode invokes NdrBuffer.dec_ndr_short.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top