Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 228 for behaviors (2.23 sec)

  1. src/test/java/jcifs/smb1/util/LogStreamTest.java

            assertSame(instance2, LogStream.getInstance());
        }
    
        @Test
        void testNullStreamHandling() {
            // Test that passing null to setInstance throws NullPointerException
            // This is expected behavior as PrintStream doesn't accept null
            assertThrows(NullPointerException.class, () -> {
                LogStream.setInstance(null);
            });
        }
    
        @Test
        void testPrintStreamDelegation() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

     * The class under test contains a number of straightforward data‑layout
     * methods (writing parameters and handling empty wire formats) and an
     * informative {@link NtTransQuerySecurityDesc#toString()}. The tests
     * exercise normal behaviour, boundary values, and the interaction with
     * the underlying wire‑format helpers.
     */
    @ExtendWith(MockitoExtension.class)
    class NtTransQuerySecurityDescTest {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

                assertEquals("The inputstream is null.", e.getMessage());
                // Note: validateCalled will be false because exception is thrown
                // before the flag can be set, which is the expected behavior
                assertFalse("validateCalled should be false as exception thrown before flag set", extractor.isValidateCalled());
            }
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

     *
     * <p>Mockito is exercised in a dummy scenario to satisfy the
     * request for an interaction test.  The mock represents a
     * {@code SmbTransport} collaborator and is used only for
     * demonstration – the real class behaviour is not required for
     * validating constants.
     */
    public class SmbConstantsTest {
    
        /**
         * Verify that the hard‑coded default values are present.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

     * The service for access token.
     */
    public class AccessTokenService {
    
        /**
         * Default constructor.
         */
        public AccessTokenService() {
            // nothing
        }
    
        /**
         * The behavior of access token.
         */
        @Resource
        protected AccessTokenBhv accessTokenBhv;
    
        /**
         * The Fess configuration.
         */
        @Resource
        protected FessConfig fessConfig;
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java

         * This constructor is used by the DI container to create an instance of the service.
         */
        public RelatedQueryService() {
            super();
        }
    
        /**
         * Behavior class for accessing related query data in the database.
         * This provides database operations for RelatedQuery entities.
         */
        @Resource
        protected RelatedQueryBhv relatedQueryBhv;
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

            // Act & Assert: attempting to call any method on null should throw NPE
            Assertions.assertThrows(NullPointerException.class, () -> {
                // Intentionally dereference null to validate exception behavior
                // This checks that callers must handle null references defensively
                info.getSize();
            });
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

    import org.codelibs.fess.crawler.processor.ResponseProcessor;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class for RuleManager interface.
     * Tests the contract and behavior of RuleManager implementations.
     */
    public class RuleManagerTest extends PlainTestCase {
    
        /**
         * Test implementation of RuleManager for testing purposes
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            // Set null
            crawlerContext.setRobotsTxtUrlSet(null);
            assertNull(crawlerContext.getRobotsTxtUrlSet());
        }
    
        /**
         * Test LRU behavior of robotsTxtUrlSet
         */
        public void test_robotsTxtUrlSet_lru() {
            Set<String> urlSet = crawlerContext.getRobotsTxtUrlSet();
    
            // Add URLs up to capacity (10000)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/FacetInfo.java

    /**
     * Entity class representing facet configuration information for search results.
     * This class holds configuration settings for faceted search including field facets,
     * query facets, and various parameters that control facet behavior.
     */
    public class FacetInfo {
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(FacetInfo.class);
    
        /** Array of field names to create facets for */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top