- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for testContext (0.04 sec)
-
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
Type2Message message = new Type2Message(mockContext); byte[] testContext = new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 }; // When message.setContext(testContext); // Then assertArrayEquals(testContext, message.getContext()); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
* - rdma.test.port=445 (target port, defaults to 445) */ public class RdmaIntegrationTest { private String testServer; private int testPort; private CIFSContext testContext; @BeforeEach public void setUp() throws Exception { testServer = System.getProperty("rdma.test.server"); String portStr = System.getProperty("rdma.test.port", "445");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
response.setEncoding("UTF-8"); String testContent = "Hello, World!"; byte[] data = testContent.getBytes("UTF-8"); ContentCache cache = new ContentCache(data); response.setContentCache(cache); String content = response.getContentAsString(); assertEquals(testContent, content); } @Test
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
assertEquals(testContent, result); } } @Test public void testMemoryBasedCacheMultipleReads() throws IOException { String testContent = "Hello, World!"; byte[] data = testContent.getBytes("UTF-8"); ContentCache cache = new ContentCache(data); // First read try (InputStream stream1 = cache.getInputStream()) {
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
} @Test @DisplayName("getName() should return expected byte array") void testGetNameMethod() { byte[] expectedName = "TEST_CONTEXT".getBytes(StandardCharsets.UTF_8); CreateContextResponse response = mock(CreateContextResponse.class); when(response.getName()).thenReturn(expectedName);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
} @Test @DisplayName("getName() should return expected byte array") void testGetNameMethod() { byte[] expectedName = "TEST_CONTEXT".getBytes(StandardCharsets.UTF_8); CreateContextRequest request = mock(CreateContextRequest.class); when(request.getName()).thenReturn(expectedName);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0)