Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 3,662 for Void (0.57 sec)

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

        public void test_constructorWithMessage() {
            // Test constructor with message only
            String message = "Thumbnail generation failed";
            ThumbnailGenerationException exception = new ThumbnailGenerationException(message);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithMessageAndCause() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

        }
    
        /**
         * Set the environment map.
         * @param envMap The environment map.
         */
        public void setEnvMap(final Map<String, String> envMap) {
            this.envMap = envMap;
        }
    
        /**
         * Log the login activity.
         * @param user The user.
         */
        public void login(final OptionalThing<FessUserBean> user) {
            final Map<String, String> valueMap = new LinkedHashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

        private static final int TEST_BATCH_SIZE = 8192;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        void testConstructor() {
            // Test constructor initializes all fields correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

     */
    public class TimeConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_Null() throws Exception {
            assertThat(toDate(null), is(nullValue()));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/ErrorToWarnRewritePolicyTest.java

    public class ErrorToWarnRewritePolicyTest extends UnitFessTestCase {
    
        public void test_constructor() {
            String[] loggerNames = { "test.logger", "another.logger" };
            ErrorToWarnRewritePolicy policy = new ErrorToWarnRewritePolicy(loggerNames);
    
            assertNotNull(policy);
        }
    
        public void test_rewrite_with_null_logger_name() {
            String[] loggerNames = { "test.logger" };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

        void testConstructorWithPathEndingInBackslash() {
            // Test path already ending with backslash
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test\\path\\", "*.doc", 0x16, 20, 2048);
    
            assertEquals("\\test\\path\\", trans2FindFirst2.getPath());
        }
    
        @Test
        @DisplayName("Test constructor with root path")
        void testConstructorWithRootPath() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            // Use real configuration for most tests
            mockConfig = new BaseConfiguration(false);
            response = new NetServerEnum2Response(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with configuration")
        void testConstructor() {
            assertNotNull(response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        @Mock
        private Decodable mockDecodable;
    
        private Smb2QueryInfoResponse response;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
        }
    
        @Test
        @DisplayName("Test constructor initializes with config and info type/class")
        void testConstructor() {
            byte infoType = Smb2Constants.SMB2_0_INFO_FILE;
            byte infoClass = FileInformation.FILE_INTERNAL_INFO;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SIDTest.java

        /**
         * Test constructor with an invalid SID string.
         */
        @Test
        void testStringConstructorInvalidFormat() {
            assertThrows(SmbException.class, () -> new SID("invalid-sid"));
            assertThrows(SmbException.class, () -> new SID("S-1"));
        }
    
        /**
         * Test constructor with a byte array.
         */
        @Test
        void testByteArrayConstructor() {
            SID sid = new SID(adminSidBytes, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtStatusTest.java

        void testSuccessStatusIdentification() {
            // Given
            int successStatus = NtStatus.NT_STATUS_SUCCESS;
    
            // When/Then
            assertEquals(0x00000000, successStatus);
            // Success status should be zero
            assertTrue(successStatus == 0);
        }
    
        @Test
        @DisplayName("Should identify error status codes")
        void testErrorStatusIdentification() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top