Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for actual_string (1.32 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            String actualString = smbCom.toString();
    
            // Check for key parts of the string representation
            org.junit.jupiter.api.Assertions.assertTrue(actualString.startsWith("SmbComCreateDirectory["),
                    "String should start with the class name.");
            org.junit.jupiter.api.Assertions.assertTrue(actualString.contains("command=SMB_COM_CREATE_DIRECTORY"),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java

            // A direct string comparison might be brittle, so we check for the class name and brackets.
            String actualString = response.toString();
            assertTrue(actualString.startsWith("Trans2SetFileInformationResponse["),
                    "The string representation should start with the class name.");
            assertTrue(actualString.endsWith("]"), "The string representation should end with a bracket.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            NameQueryRequest request = new NameQueryRequest(mockConfig, mockName);
            String expectedStringPrefix = "NameQueryRequest[";
            String actualString = request.toString();
    
            assertTrue(actualString.startsWith(expectedStringPrefix));
            assertTrue(actualString.endsWith("]"));
            // Further verification could involve mocking super.toString() if needed
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

                    "DfsReferral[pathConsumed=20,server=testServer,share=testShare,link=testLink,path=/test/path,ttl=300,expiration=1234567890,resolveHashes=true]";
            String actualString = referral.toString();
    
            // Then
            assertEquals(expectedString, actualString, "The toString method should return the expected string representation.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top