Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 4,648 for new2 (0.02 sec)

  1. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                // Host is empty -> triggers master browser path
                URL anyUrlWithEmptyHost = new URL("file:/");
                when(locator.getURL()).thenReturn(anyUrlWithEmptyHost);
                // Simulate failure to find master browser (UnknownHost wrapped in CIFSException)
                when(locator.getAddress()).thenThrow(new CIFSException("no master", new UnknownHostException("MB")));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                        readings[0] = l.toArray(new String[l.size()]);
    
                        if (items == null) {
                            items = new ArrayList<>(text.length() * fields.length / field.length());
                        }
    
                        final String[] langs = lang == null ? new String[] {} : new String[] { lang };
                        items.add(new SuggestItem(words, readings, new String[] { field }, 1L, 0, -1, tags, roles, langs,
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

        }
    
        public void test_nestedCause() {
            // Test with nested exceptions
            RuntimeException rootCause = new RuntimeException("Root cause");
            ParseException parseException = new ParseException("Parse error");
            parseException.initCause(rootCause);
            QueryParseException queryParseException = new QueryParseException(parseException);
    
            assertEquals(parseException, queryParseException.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            TestAuthenticationChain chain = new TestAuthenticationChain();
            chain.updateThrowsException = false;
    
            chain.update(null);
    
            assertEquals(1, chain.updateCalls.size());
            assertNull(chain.updateCalls.get(0));
        }
    
        // Test update with multiple calls
        public void test_update_multipleCalls() {
            TestAuthenticationChain chain = new TestAuthenticationChain();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

        // Test custom properties
        public void xtest_customProperties() {
            // Create custom FessEnv with custom properties
            FessEnv.SimpleImpl customEnv = new FessEnv.SimpleImpl() {
                protected Properties prepareProperties() {
                    Properties props = new Properties();
                    props.setProperty(FessEnv.lasta_di_SMART_DEPLOY_MODE, "cool");
                    props.setProperty(FessEnv.DEVELOPMENT_HERE, "false");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top