Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,617 for new (0.03 sec)

  1. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

        }
    
        public void test_toSlackMessage_withLongContent() {
            MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser();
    
            StringBuilder longSubject = new StringBuilder();
            StringBuilder longContent = new StringBuilder();
            for (int i = 0; i < 100; i++) {
                longSubject.append("Subject Line ").append(i).append(" ");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testuser", "");
            assertEquals("", auth1.getPassword());
            assertNotNull(auth1.getPasswordAsCharArray());
            assertEquals(0, auth1.getPasswordAsCharArray().length);
    
            // Test with empty char[] password
            NtlmPasswordAuthenticator auth2 = new NtlmPasswordAuthenticator("testuser", new char[0]);
            assertEquals("", auth2.getPassword());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            // Setup
            final String message = "Test SSO error message";
            final Exception cause = new RuntimeException("Test cause");
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsSsoLoginError(UserMessages.GLOBAL_PROPERTY_KEY);
    
            // Execute
            final SsoMessageException exception = new SsoMessageException(messageCode, message, cause);
    
            // Verify
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Given
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, path);
            byte[] buffer = new byte[1024];
    
            // Encode to set headerStart
            req.encode(buffer, 0);
    
            // Then
            byte[] pathBytes = path.getBytes(StandardCharsets.UTF_16LE);
    
            // Verify path is written correctly at body + 8
            byte[] actualPath = new byte[pathBytes.length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            // Write completely empty file
            try (java.io.FileWriter fw = new java.io.FileWriter(testFile)) {
                // Write nothing
            }
    
            // Create a new CharMappingFile instance to ensure clean state
            CharMappingFile emptyMappingFile = new CharMappingFile("empty_test", testFile.getAbsolutePath(), new Date());
            emptyMappingFile.manager(dictionaryManager);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacSignatureTest.java

            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            writeLittleEndianInt(baos, PacSignature.KERB_CHECKSUM_HMAC_MD5);
            // Write only 10 bytes instead of 16
            baos.write(new byte[10]);
            byte[] data = baos.toByteArray();
    
            // Verify that PACDecodingException is thrown
            assertThrows(PACDecodingException.class, () -> {
                new PacSignature(data);
            });
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

            // Test OK status
            ApiResult okResult = new ApiResult.ApiResponse().status(Status.OK).result();
            assertNotNull(okResult);
    
            // Test BAD_REQUEST status
            ApiResult badRequestResult = new ApiResult.ApiResponse().status(Status.BAD_REQUEST).result();
            assertNotNull(badRequestResult);
    
            // Test UNAUTHORIZED status
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbNegotiationTest.java

            assertArrayEquals(new byte[] { 0x05, 0x06, 0x07, 0x08 }, responseBuffer);
        }
    
        @Test
        @DisplayName("Test with empty buffers")
        void testWithEmptyBuffers() {
            // Test with empty byte arrays
            byte[] emptyRequestBuffer = new byte[0];
            byte[] emptyResponseBuffer = new byte[0];
    
    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/tests/persistent/HandleInfoTest.java

        @BeforeEach
        public void setUp() {
            testGuid = new HandleGuid();
            testFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                testFileId[i] = (byte) (i + 1);
            }
            testLeaseKey = new Smb2LeaseKey();
        }
    
        @Test
        public void testHandleInfoCreation() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test of readParameterWordsWireFormat method
         */
        @Test
        public void testReadParameterWordsWireFormat() {
            // Given
            byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 };
            SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top