Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,662 for Void (0.06 sec)

  1. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

        }
    
        public void test_constructor_withNullUsername() {
            // Test with null username
            String username = null;
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
            assertEquals("User is not found: null", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withSpecialCharacters() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

    import jcifs.smb.SmbFile;
    
    class Trans2FindFirst2ResponseTest {
    
        private Trans2FindFirst2Response response;
    
        @BeforeEach
        void setUp() {
            response = new Trans2FindFirst2Response();
        }
    
        // Test cases for SmbFindFileBothDirectoryInfo inner class
        @Test
        void testSmbFindFileBothDirectoryInfo_Getters() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ResourceManagerTest.java

            }
    
            @Override
            public void close() {
                closed.set(true);
            }
    
            boolean isClosed() {
                return closed.get();
            }
    
            String getName() {
                return name;
            }
        }
    
        @Test
        @DisplayName("Test resource registration and tracking")
        void testResourceRegistration() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        void testConstructorWithNullFileId() {
            // Should not throw exception
            Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName);
            assertNotNull(requestWithNull);
        }
    
        @Test
        @DisplayName("Constructor with null fileName should accept null")
        void testConstructorWithNullFileName() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

        private TestDictionaryItem dictionaryItem;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            dictionaryItem = new TestDictionaryItem();
        }
    
        public void test_getId_defaultValue() {
            // Test that default ID value is 0
            assertEquals(0L, dictionaryItem.getId());
        }
    
        public void test_getId_afterSetting() {
            // Test getting ID after setting it
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

     */
    public class SimpleCircuitBreakerTest {
    
        private SimpleCircuitBreaker circuitBreaker;
    
        @BeforeEach
        void setUp() {
            circuitBreaker = new SimpleCircuitBreaker("test", 3, 2, 100);
        }
    
        @Test
        @DisplayName("Test initial state is CLOSED")
        void testInitialState() {
            assertEquals(SimpleCircuitBreaker.State.CLOSED, circuitBreaker.getState());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

        private final long serverTimeZoneOffset = 3600000; // 1 hour in milliseconds
    
        @BeforeEach
        public void setUp() {
            response = new SmbComQueryInformationResponse(serverTimeZoneOffset);
        }
    
        /**
         * Test of constructor, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testConstructor() {
            // The constructor sets the command and serverTimeZoneOffset.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbNegotiationTest.java

        @Mock
        private SmbNegotiationResponse mockResponse;
    
        private byte[] testRequestBuffer;
        private byte[] testResponseBuffer;
        private SmbNegotiation negotiation;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testRequestBuffer = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            testResponseBuffer = new byte[] { 0x05, 0x06, 0x07, 0x08 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SIDTest.java

            @Test
            @DisplayName("Textual constructor null throws NullPointerException")
            void testTextualConstructorNull() {
                assertThrows(NullPointerException.class, () -> new SID((String) null));
            }
    
            @Test
            @DisplayName("Binary constructor happy path and round-trip via toByteArray")
            void testBinaryConstructorAndToByteArray() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

         *
         * @param objs the log objects
         */
        protected void processDefault(final Object... objs) {
        }
    
        /**
         * Processes system error log events.
         *
         * @param objs the log objects (should contain a Throwable)
         */
        protected void processSystemError(final Object... objs) {
            final Throwable t = (Throwable) objs[0];
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
Back to top