- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 215 for test_string (1.48 sec)
-
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
assertTrue(true); } catch (NoSuchMethodException e) { fail("close method should exist"); } } // Test toString method public void test_toString() { // Test that toString returns a non-null value String result = crawlerEngineClient.toString(); assertNotNull(result); } // Test hashCode method
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/jcifs/tests/persistent/HandleInfoTest.java
assertNull(info.getFile()); Object mockFile = new Object(); info.setFile(mockFile); assertEquals(mockFile, info.getFile()); } @Test public void testToString() { HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.PERSISTENT, 0, testLeaseKey); String str = info.toString(); assertTrue(str.contains("/test/file.txt"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
info3.setInterfaceIndex(2); assertEquals(info1, info2); assertNotEquals(info1, info3); assertEquals(info1.hashCode(), info2.hashCode()); } @Test void testToString() { NetworkInterfaceInfo info = new NetworkInterfaceInfo(testAddress, 1000); String str = info.toString(); assertNotNull(str); assertTrue(str.contains(testAddress.toString()));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
assertEquals(0x12345678, contextWithFlags.getFlags()); } @Test @DisplayName("Test toString representation") public void testToString() { String str = context.toString(); assertNotNull(str); assertTrue(str.contains("CompressionNegotiateContext")); assertTrue(str.contains("LZ77"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java
assertEquals(message, exception.getMessage()); // Call twice to verify consistency assertEquals(message, exception.getLocalizedMessage()); } public void test_toString() { // Test toString method String message = "Test exception message"; JobNotFoundException exception = new JobNotFoundException(message); String toStringResult = exception.toString();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComBlankResponseTest.java
} /** * Test for the toString method. * It should return a string containing the class name. */ @Test void testToString() { String toString = response.toString(); assertTrue(toString.contains("SmbComBlankResponse"), "toString should contain the class name"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
assertEquals(0, cmd.readParametersWireFormat(null, 0, 0)); assertEquals(0, cmd.readDataWireFormat(null, 0, 0)); } @Test @DisplayName("toString includes information level in hex") void testToString() { int level = 0xABC; Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level); String str = cmd.toString(); // toString uses Hexdump.toHexString(informationLevel, 3)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java
assertEquals(3, multiset.size()); assertEquals(2, multiset.count("foo")); assertEquals("[foo x 2, bar]", multiset.toString()); } public void testToString() { Multiset<String> ms = LinkedHashMultiset.create(); ms.add("a", 3); ms.add("c", 1); ms.add("b", 2); assertEquals("[a x 3, c, b x 2]", ms.toString()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
int result = smbComOpenAndX.readBytesWireFormat(buffer, 0); assertEquals(0, result); } /** * Test toString method. */ @Test void testToString() { smbComOpenAndX = new SmbComOpenAndX(fileName, access, 0, andx); String result = smbComOpenAndX.toString(); assertNotNull(result); assertTrue(result.contains(fileName)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
assertEquals(0, response.readBytesWireFormat(buffer, bufferIndex)); } /** * Test of toString method, of class SmbComQueryInformationResponse. */ @Test public void testToString() { String result = response.toString(); assertNotNull(result); assertTrue(result.startsWith("SmbComQueryInformationResponse[")); assertTrue(result.contains("fileAttributes=0x0000"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0)