Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,148 for instance1 (0.08 sec)

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

            // Test getInstance when no instance has been set
            // Should default to System.err
            LogStream instance = LogStream.getInstance();
            assertNotNull(instance);
    
            // Getting instance again should return the same instance
            LogStream instance2 = LogStream.getInstance();
            assertSame(instance, instance2);
        }
    
        @Test
        void testSetInstanceAndGetInstance() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            SmbShareInfo instance3 = new SmbShareInfo("SHARE2", 0, "remark1");
            Object notAShareInfo = new Object();
    
            assertTrue(instance1.equals(instance2)); // Should be equal based on netName
            assertFalse(instance1.equals(instance3)); // Should not be equal
            assertFalse(instance1.equals(notAShareInfo)); // Should not be equal to other types
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            // Test that constructor creates a non-null instance
            assertNotNull(crawlerEngineClient);
        }
    
        // Test inheritance
        public void test_inheritance() {
            // Test that CrawlerEngineClient is properly inherited
            assertTrue(crawlerEngineClient instanceof org.codelibs.fess.crawler.client.FesenClient);
        }
    
        // Test multiple instances
        public void test_multipleInstances() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

        public void test_constructor() {
            assertNotNull("Constructor should create instance", target);
            assertTrue("Instance should be of correct type", target instanceof HotThreadMonitorTarget);
            assertTrue("Instance should be a MonitorTarget", target instanceof MonitorTarget);
            assertTrue("Instance should be a TimeoutTarget", target instanceof TimeoutTarget);
        }
    
        public void test_expired_method_exists() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            // Test that FessUserNotFoundException is an instance of FessSystemException
            FessUserNotFoundException exception = new FessUserNotFoundException("testuser");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

        public void test_multipleInstances() {
            // Test creating multiple instances
            ResultOffsetExceededException exception1 = new ResultOffsetExceededException("First instance");
            ResultOffsetExceededException exception2 = new ResultOffsetExceededException("Second instance");
            ResultOffsetExceededException exception3 = new ResultOffsetExceededException("Third instance");
    
            assertNotSame(exception1, exception2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

        public void test_constructor() {
            assertNotNull("Constructor should create instance", target);
            assertTrue("Instance should be of correct type", target instanceof SystemMonitorTarget);
            assertTrue("Instance should be a MonitorTarget", target instanceof MonitorTarget);
            assertTrue("Instance should be a TimeoutTarget", target instanceof TimeoutTarget);
        }
    
        public void test_expired_method_exists() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            LdapConfigurationException exception = new LdapConfigurationException("test");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_stackTrace() {
            // Test that stack trace is generated properly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

        }
    
        public void test_instanceOf() {
            // Test that exception is instance of RuntimeException
            DictionaryExpiredException exception = new DictionaryExpiredException();
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_throwAndCatch() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

        /**
         * Creates a new empty DataStoreParams instance.
         * Initializes the internal parameter map with a ParamMap wrapper.
         */
        public DataStoreParams() {
            params = new ParamMap<>(new HashMap<>());
        }
    
        /**
         * Creates a new DataStoreParams instance with a copy of the provided parameters.
         * This protected constructor is used for creating new instances from existing parameter maps.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top