- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 220 for teststring (0.08 sec)
-
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
* Tests the toString method of the DfsReferral class. * It verifies that the toString method returns a string representation of the object * that accurately reflects its properties. */ @Test void testToString() { // Given DfsReferral referral = new DfsReferral(); referral.pathConsumed = 20; referral.server = "testServer"; referral.share = "testShare";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
internal/s3select/sql/value.go
} // Fallback to string sA := a.bytesToString() sB := b.bytesToString() a.setString(sA) b.setString(sB) return nil case okA && !okB: // Here a has `a` is untyped, but `b` has a fixed // type. switch b.value.(type) { case string: s := a.bytesToString() a.setString(s) case int64, float64: if iA, ok := a.bytesToInt(); ok { a.setInt(iA)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java
byte[] buffer = new byte[10]; int result = sdd.readBytesWireFormat(buffer, 0); assertEquals(0, result); } /** * Test toString method. */ @Test void testToString() { SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir"); String result = sdd.toString(); assertTrue(result.contains("SmbComDeleteDirectory"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
testExceptionPropagation(interfaceType, method, wrapperFunction); } if (testsEquals) { testEquals(interfaceType, wrapperFunction); } testToString(interfaceType, wrapperFunction); } /** Returns the most concrete public methods from {@code type}. */ private static Method[] getMostConcreteMethods(Class<?> type) { Method[] methods = type.getMethods();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
assertNull(ex3.getCause()); assertNull(ex3.getMessage()); }); } @Test @DisplayName("toString should include class name and message") void testToString() { // Given SpnegoException ex = new SpnegoException("hello"); // When String s = ex.toString(); // Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
byte[] buffer = new byte[10]; int result = smbCom.readBytesWireFormat(buffer, 0); assertEquals(0, result); } @Test void testToString() { // Test the string representation of the object String directoryName = "myDir"; SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, directoryName);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java
// This method does nothing and should return 0. assertEquals(0, bytesRead); } /** * Test the toString method. */ @Test void testToString() { SmbComWriteAndXResponse response = new SmbComWriteAndXResponse(); response.count = 12345L; String result = response.toString();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java
// This method is expected to do nothing and return 0 int result = smbComDelete.readBytesWireFormat(new byte[0], 0); assertEquals(0, result); } @Test public void testToString() { // Test the string representation of the object String result = smbComDelete.toString(); assertNotNull(result); // Verify the result contains expected componentsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java
/** * @throws Exception */ @Test public void testGetString() throws Exception { final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages"); assertThat(bundle.getString("ECL0001"), is(notNullValue())); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java
int result = instance.readBytesWireFormat(buffer, 0); // Then assertEquals(0, result); } /** * Test of toString method */ @Test public void testToString() { // Given SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config); // When String result = instance.toString(); // Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0)