Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,007 for construction (1.28 sec)

  1. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

        protected Set<String> availableSearcherNameSet;
    
        /**
         * Default constructor for RankFusionProcessor.
         * Initializes the processor with default values. The actual initialization
         * is performed by the init() method which is called after construction.
         */
        public RankFusionProcessor() {
            // Default constructor - initialization is done in init() method
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            AppConfigurationEntry[] entries = cfg.getAppConfigurationEntry("ignored");
            Map<String, ?> returned = entries[0].getOptions();
    
            // Assert: sanity check and verify that no mutating calls were made after construction
            assertEquals("true", returned.get("refreshKrb5Config"));
            verify(spyOpts, never()).put(any(), any());
            verify(spyOpts, never()).remove(any());
            verify(spyOpts, never()).clear();
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            assertEquals("remove", ex.getMessage());
        }
    
        @Nested
        @DisplayName("Invalid constructor inputs")
        class InvalidInputs {
            @Test
            @DisplayName("Null delegate causes NullPointerException during construction")
            void nullDelegate_throwsNPE() throws Exception {
                SmbFile parent = newParent();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SpnegoContextTest.java

            when(this.mechContext.getFlags()).thenReturn(0x1234);
            when(this.mechContext.initSecContext(any(byte[].class), eq(0), eq(0))).thenReturn(new byte[] { 0x01, 0x02 });
    
            // Act: len==0 triggers initial token construction
            byte[] out = ctx.initSecContext(null, 0, 0);
    
            // Assert: returns a SPNEGO token (opaque here but non-null/non-empty)
            assertNotNull(out);
            assertTrue(out.length > 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/BufferCacheImplTest.java

    import jcifs.Configuration;
    
    @ExtendWith(MockitoExtension.class)
    class BufferCacheImplTest {
    
        @Mock
        Configuration cfg;
    
        // Verifies constructor that accepts Configuration reads the expected values and uses them
        @Test
        @DisplayName("Constructor(Configuration) uses cache size and maximum buffer size from config")
        void constructorUsesConfigurationAndAllocatesWithConfiguredSize() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            when(mockConfig.getPid()).thenReturn(12345);
            response = new SmbComSeekResponse(mockConfig);
        }
    
        /* ------------------------------------------------------------------ */
        /* 1. Construction and basic getters                                    */
        /* ------------------------------------------------------------------ */
    
        @Test
        @DisplayName("Construct with a valid configuration - should not throw")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                try {
                    TestIterator.create(tree, parent, "*", null, 0, entry("first"), pages);
                } finally {
                    TestIterator.staticThrowOnOpen = false; // Reset flag
                }
            });
            assertEquals("open fail", ex.getMessage());
            verify(tree, times(1)).release(); // closed on constructor failure
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

        protected List<DictionaryCreator> creatorList = new ArrayList<>();
    
        /**
         * Default constructor for DictionaryManager.
         * Creates a new dictionary manager with an empty creator list.
         */
        public DictionaryManager() {
            // Default constructor
        }
    
        /**
         * Initializes the dictionary manager after construction.
         * Sets up the relationship between this manager and all registered creators.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SmbNegotiationTest.java

            assertEquals(2048, negotiationWithLargeBuffers.getResponseRaw().length);
        }
    
        @Test
        @DisplayName("Fields should be immutable after construction")
        void testImmutability() {
            // Get references to the objects
            SmbNegotiationRequest originalRequest = negotiation.getRequest();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                // Then
                assertNotNull(newResponse);
                // Verify the response was created successfully with the configuration
                // The constructor doesn't actually call any methods on the config during construction
            }
        }
    
        @Nested
        @DisplayName("Edge case tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum buffer index")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top