- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testToStringFormat (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
// or we can just check for the prefix and suffix. // For this test, I'll add a helper in the response class to get super.toString() // Or, more simply, check the format of the string. @Test void testToStringFormat() { String str = response.toString(); assert (str.startsWith("TransTransactNamedPipeResponse[")); assert (str.endsWith("]")); } }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) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
assertEquals(0, response.readDataWireFormat(buffer, i * 10, 10)); } } @Test @DisplayName("Test toString contains proper class name") void testToStringFormat() { String str = response.toString(); // Should start with the class name assertTrue(str.startsWith("Trans2SetFileInformationResponse[")); // Should end with closing bracket
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
assertNotNull(result); assertTrue(result.contains("buffer=")); } @Test @DisplayName("Should have proper toString format") void testToStringFormat() { String result = response.toString(); assertNotNull(result); assertTrue(result.startsWith("Trans2GetDfsReferralResponse[")); assertTrue(result.endsWith("]"));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0)