Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 550 for dangling (0.05 seconds)

  1. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                assertFalse("test1".equals(listItem.getInput()));
            }
        }
    
        @Test
        public void test_reload_withIOException() {
            // This test verifies error handling during reload
            // We'll test with invalid data or missing file
            try {
                File nonExistentFile = new File("non_existent_file.txt");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

         */
        @Override
        public String toString() {
            return "MappingFile [path=" + path + ", mappingItemList=" + mappingItemList + ", id=" + id + "]";
        }
    
        /**
         * Inner class for handling updates to the character mapping file.
         * This class manages the temporary file creation, writing operations,
         * and atomic updates to ensure data consistency during modifications.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbOperationException.java

    import java.util.HashMap;
    import java.util.Map;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    
    /**
     * Unified exception class for SMB operations providing enhanced error handling,
     * retry policies, and contextual information.
     *
     * This exception consolidates the various SMB exception types and provides:
     * - Standardized error codes
     * - Automatic retry policies
     * - Rich contextual information
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    /**
     * Query command implementation for handling Boolean queries.
     * Converts Lucene BooleanQuery objects to OpenSearch BoolQueryBuilder objects.
     */
    public class BooleanQueryCommand extends QueryCommand {
        /**
         * Default constructor for BooleanQueryCommand.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/spnego/NegTokenTargTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for {@link NegTokenTarg}. The class has no external
     * collaborators so tests are mostly focused on round‑trip
     * serialisation and invalid input handling.
     */
    class NegTokenTargTest {
    
        @Test
        @DisplayName("happy path – full token round‑trip")
        void testRoundTripFull() throws IOException {
            // Arrange – create a fully populated token
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     * Unit tests for the {@link AbstractUpgradeGoal} class.
     * Tests the shared functionality across upgrade goals including option handling,
     * .mvn directory creation, and upgrade orchestration.
     */
    @DisplayName("AbstractUpgradeGoal")
    class AbstractUpgradeGoalTest {
    
        @TempDir
        Path tempDir;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

    import java.util.Arrays;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test secure password handling in NtlmPasswordAuthenticator
     */
    public class NtlmPasswordAuthenticatorTest {
    
        /**
         * Test password storage using char arrays
         */
        @Test
        public void testPasswordAsCharArray() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

    import org.lastaflute.core.message.UserMessages;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.index.query.RangeQueryBuilder;
    
    /**
     * Command class for handling term range query execution and conversion.
     * This class processes Lucene TermRangeQuery objects and converts them to OpenSearch QueryBuilder instances.
     */
    public class TermRangeQueryCommand extends QueryCommand {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

        }
    
        @Test
        public void test_nullSafeGetResponse() {
            SpnegoAuthenticator authenticator = new SpnegoAuthenticator();
    
            // SPNEGO typically doesn't provide special response handling
            org.lastaflute.web.response.ActionResponse response = authenticator.getResponse(org.codelibs.fess.sso.SsoResponseType.METADATA);
            assertNull(response);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

        @Test
        public void test_isValid_basic() {
            final CustomSize annotation = createBasicAnnotation();
            validator.initialize(annotation);
    
            // Test that the method can be called (even if context handling is complex)
            try {
                final boolean result = validator.isValid("test", null);
                assertNotNull(Boolean.valueOf(result), "isValid should return a boolean result");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.4K bytes
    - Click Count (0)
Back to Top