- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 2,192 for toString (0.06 seconds)
-
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
} @Test @DisplayName("toString includes command name and filename") void testToStringIncludesInformation() { String str = cmd.toString(); assertTrue(str.startsWith("SmbComQueryInformation"), "String representation must start with class name"); assertTrue(str.contains("filename=testfile.txt"), "toString must contain the supplied filename"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
} /** * Tests the toString method. */ @Test void testToString() { String result = response.toString(); assertNotNull(result, "toString() should not return null."); } // Helper method to access the super.toString() for verification, // as we cannot call it directly from the test.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractRangeSet.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecyclePhase.java
LifecycleMojo lifecycleMojo = new LifecycleMojo(); lifecycleMojo.setGoal(s.trim()); return lifecycleMojo; }; @Override public String toString() { return Optional.ofNullable(getMojos()).orElse(Collections.emptyList()).stream() .map(LifecycleMojo::getGoal) .collect(Collectors.joining(",")); } @Deprecated
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java
if (log.isTraceEnabled()) { log.trace(e.toString()); } } setResults(results); this.lastName = e == null ? null : e.name; return bufferIndex - start; } @Override public String toString() { return ("NetServerEnum2Response[" + super.toString() + ",status=" + this.getStatus() + ",converter=" + this.converterCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
// Verify: constructor should not have interacted with the cause Mockito.verifyNoInteractions(mockCause); } /** * Ensure toString includes the exception class name and message, providing a readable representation. */ @Test @DisplayName("toString contains class name and message") void toString_containsClassAndMessage() { // Arrange String msg = "login denied";Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
StringBuilder builder = new StringBuilder(array.length * 5); builder.append(toString(array[0])); for (int i = 1; i < array.length; i++) { builder.append(separator).append(toString(array[i])); } return builder.toString(); } /** * Returns a comparator that compares two arrays of unsigned {@code long} values <a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 17.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractTable.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
assertEquals(1630000001000L, resp.getLastWriteTime()); assertEquals(2048, resp.getSize()); // toString() uses lastWriteTime directly without offset assertTrue(resp.toString().contains(new Date(1630000000000L).toString())); } // Buffer helpers to build SMB basic file info wire format. // SMB uses little-endian byte order
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0)