- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,083 for instance2 (0.18 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/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
// Given SmbComTreeDisconnect instance1 = new SmbComTreeDisconnect(config); SmbComTreeDisconnect instance2 = new SmbComTreeDisconnect(mockConfig); // Then assertNotSame(instance1, instance2); assertEquals(instance1.getCommand(), instance2.getCommand()); assertNotEquals(instance1.toString(), instance2.toString()); // Different object references in toString }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java
assertEquals("instance2", transformer2.getName()); assertEquals("instance3", transformer3.getName()); // Change one instance's name transformer2.setName("changed2"); // Others should remain unchanged assertEquals("instance1", transformer1.getName()); assertEquals("changed2", transformer2.getName());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 20.8K 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) -
android/guava/src/com/google/common/collect/Cut.java
* way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily * "numbers") into two sections; this can be done below a certain value, above a certain value, * below all values or above all values. With this object defined in this way, an interval can * always be represented by a pair of {@code Cut} instances. * * @author Kevin Bourrillion */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
assertFalse(iterator2.hasNext(), "Second instance should have no elements"); assertFalse(iterator3.hasNext(), "Third instance should have no elements"); assertNull(iterator1.next(), "First instance next() should return null"); assertNull(iterator2.next(), "Second instance next() should return null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K 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)