- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 160 for TestToString (0.06 sec)
-
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
byte[] buffer = new byte[100]; int consumed = pipe.readDataWireFormat(buffer, 0, 10); assertEquals(0, consumed, "readDataWireFormat should return 0"); } @Test public void testToString() { // Test the toString method String pipeName = "\\\\pipe\\testPipe"; TransWaitNamedPipe pipe = new TransWaitNamedPipe(pipeName); String result = pipe.toString();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java
public void testBigDouble() throws Exception { assertEquals("12500000", BigDecimalConversionUtil.toBigDecimal(12500000D).toString()); } /** * @throws Exception */ public void testToString() throws Exception { final BigDecimal d = new BigDecimal(new BigInteger("125"), -1); assertEquals("1250", BigDecimalConversionUtil.toString(d)); }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
assertEquals(8, bytesRead); assertArrayEquals(encryptionKey, serverData.encryptionKey); assertEquals("", serverData.oemDomainName); } @Test void testToString() { // Populate serverData with some values response.dialectIndex = 5; serverData.securityMode = 0x03; // User, Encrypted serverData.security = 1;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
assertEquals(firstInstance.getSize(), secondInstance.getSize()); assertEquals(expectedEndOfFile, secondInstance.getSize()); } @Test @DisplayName("Test toString method") void testToString() throws SMBProtocolDecodingException { // Setup test data byte[] buffer = new byte[22]; long expectedAllocationSize = 65536L; long expectedEndOfFile = 49152L;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
public void testEquals() { boolean unused = create().equals(new HashMap<String, Integer>()); } public void testHashCode() { int unused = create().hashCode(); } public void testToString() { String unused = create().toString(); } public void testSerialization() { SerializableTester.reserializeAndAssert(create()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 14:47:20 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
assertNull(context.getServerChallenge()); assertNull(context.getSigningKey()); assertNull(context.getNetbiosName()); } @Test void testToString() { // Test the toString method for completeness NtlmContext context = new NtlmContext(mockAuth, false); String str = context.toString(); assertTrue(str.contains("NtlmContext["));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
} /** * Test the toString method to ensure it returns the expected string format. */ @Test @DisplayName("toString should return a correctly formatted string") void testToString() { int errorClass = NbtException.ERR_SSN_SRVC; int errorCode = NbtException.CONNECTION_REFUSED; NbtException exception = new NbtException(errorClass, errorCode);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
public void testDelegate() { assertEquals(LIST1, ImmutableList.copyOf(newDelegatingList(LIST1))); assertEquals(LIST1, ImmutableList.copyOf(newDelegatingListWithEquals(LIST1))); } public void testToString() { List<String> proxy = newDelegatingList(LIST1); assertEquals(Proxy.getInvocationHandler(proxy).toString(), proxy.toString()); } interface A {} interface B {} public void testEquals() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 02:48:50 UTC 2024 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
assertEquals(0, result, "readBytesWireFormat should always return 0"); } /** * Test toString contains relevant information */ @Test public void testToString() { SmbComWrite write = new SmbComWrite(); write.setParam(0x1234, 100L, 50, new byte[10], 0, 10); String str = write.toString(); assertNotNull(str);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)