Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 58 for jorn (0.01 seconds)

  1. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8));
    
            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 5, null);
            thread.start();
            thread.join(1000);
    
            String output = thread.getOutput();
            assertTrue(output.contains("line1"));
            assertTrue(output.contains("line2"));
            assertTrue(output.contains("line3"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

                    return StringUtils.join(newInputs, ",");
                }
                return StringUtils.join(newInputs, ",") + "=>" + StringUtils.join(newOutputs, ",");
            }
            if (Arrays.equals(inputs, outputs)) {
                return StringUtils.join(inputs, ",");
            }
            return StringUtils.join(inputs, ",") + "=>" + StringUtils.join(outputs, ",");
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            final String jwtClaim = "{\"sub\":\"user123\",\"name\":\"John Doe\",\"email\":\"john@example.com\"}";
            final Map<String, Object> attributes = new HashMap<>();
    
            authenticator.parseJwtClaim(jwtClaim, attributes);
    
            assertEquals("user123", attributes.get("sub"));
            assertEquals("John Doe", attributes.get("name"));
            assertEquals("john@example.com", attributes.get("email"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

            startLatch.countDown();
    
            // Wait for writer thread to complete
            writerThread.join(1000);
    
            // Wait for all reader threads to complete
            for (Thread thread : readerThreads) {
                thread.join(testDurationMs + 1000);
            }
    
            // Verify that alive was changed to false
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  5. src/test/java/org/codelibs/fess/util/JobProcessTest.java

            JobProcess jobProcess = new JobProcess(mockProcess, 100, callback);
            InputStreamThread thread = jobProcess.getInputStreamThread();
    
            thread.start();
            thread.join(1000);
    
            assertEquals(2, callbackResults.size());
            assertEquals("integration test", callbackResults.get(0));
            assertEquals("second line", callbackResults.get(1));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  6. .teamcity/scripts/FindCommits.java

            if (r.exitCode != 0) {
                throw new AssertionError(String.join(" ", cmd) + " failed: " + r);
            }
        }
    
        private static String stdout(String... cmd) throws IOException, InterruptedException {
            ExecResult r = exec(cmd);
            if (r.exitCode != 0) {
                throw new AssertionError(String.join(" ", cmd) + " failed: " + r);
            }
            return r.stdout;
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            // Start all threads
            for (Thread thread : threads) {
                thread.start();
            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                thread.join();
            }
    
            // Verify no exceptions occurred
            for (int i = 0; i < threadCount; i++) {
                assertNull(exceptions[i], "Thread " + i + " threw exception");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

         *
         * @return compact string representation of the mapping rule
         */
        public String toLineString() {
            if (isUpdated()) {
                return StringUtils.join(newInputs, ",") + "=>" + newOutput;
            }
            return StringUtils.join(inputs, ",") + "=>" + output;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

         *
         * @return The stopword as a string.
         */
        public String toLineString() {
            if (isUpdated()) {
                return StringUtils.join(newInput);
            }
            return StringUtils.join(input);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/ldap/LdapUtilTest.java

            assertEquals("", LdapUtil.escapeValue(""));
        }
    
        @Test
        public void test_escapeValue_noSpecialChars() {
            assertEquals("admin", LdapUtil.escapeValue("admin"));
            assertEquals("john.doe", LdapUtil.escapeValue("john.doe"));
            assertEquals("user123", LdapUtil.escapeValue("user123"));
            assertEquals("Test User", LdapUtil.escapeValue("Test User"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4.4K bytes
    - Click Count (0)
Back to Top