- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,148 for instance2 (0.05 sec)
-
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) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
@Test void testHashCode() { SmbShareInfo instance1 = new SmbShareInfo("SHARE1", 0, "remark1"); SmbShareInfo instance2 = new SmbShareInfo("SHARE1", 1, "remark2"); SmbShareInfo instance3 = new SmbShareInfo("SHARE2", 0, "remark1"); assertEquals(instance1.hashCode(), instance2.hashCode()); assertNotEquals(instance1.hashCode(), instance3.hashCode()); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)