- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 3,060 for _shouldn (0.03 sec)
-
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
} @Test @DisplayName("Should throw exception on null buffer") void testEncodeWithNullBuffer() { assertThrows(IllegalArgumentException.class, () -> testRequest.encode(null, 0), "Should throw exception for null buffer"); } @Test @DisplayName("Should throw exception on negative index") void testEncodeWithNegativeIndex() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
class SamrCloseHandleTests { @Test @DisplayName("Should construct with correct opnum") void testConstructorAndOpnum() { // When: Creating close handle message samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle); // Then: Should have correct opnum and handle assertEquals(0x01, message.getOpnum());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
assertNotNull(region, "Memory region should not be null"); assertEquals(buffer, region.getBuffer(), "Buffer should match"); assertEquals(1024, region.getSize(), "Size should match buffer size"); assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access"); assertTrue(region.hasAccess(RdmaAccess.LOCAL_WRITE), "Should have local write access");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
} @Test @DisplayName("Should create instance with null ciphers") void testConstructorWithNullCiphers() { EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, null); assertNotNull(context); assertNull(context.getCiphers()); } @Test @DisplayName("Should create instance with empty ciphers array")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
} @Test @DisplayName("Should initialize DfsReferralResponseBuffer") void testDfsResponseBufferInitialization() { assertNotNull(response.getDfsResponse()); assertTrue(response.getDfsResponse() instanceof DfsReferralResponseBuffer); } @Test @DisplayName("Should throw NullPointerException with null configuration")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtStatusTest.java
} @Test @DisplayName("Should identify success status") void testSuccessStatusIdentification() { // Given int successStatus = NtStatus.NT_STATUS_SUCCESS; // When/Then assertEquals(0x00000000, successStatus); // Success status should be zero assertTrue(successStatus == 0); } @Test @DisplayName("Should identify error status codes")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
// Verify - should consume 28 bytes even though len is 24 assertEquals(28, bytesConsumed, "Should consume 28 bytes"); byte[] resumeKey = response.getResumeKey(); assertNotNull(resumeKey, "Resume key should not be null"); assertEquals(24, resumeKey.length, "Resume key should be 24 bytes"); // Verify all bytes are 0xAA
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
@Test @DisplayName("Should initialize remaining to zero") void testInitialRemainingValue() { assertEquals(0, response.getRemaining()); } } @Nested @DisplayName("Getter Tests") class GetterTests { @Test @DisplayName("Should get count value") void testGetCount() { // Initial value should be 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
fail("Should throw IllegalArgumentException for null engine"); } catch (IllegalArgumentException e) { assertEquals("name or scriptEngine is null.", e.getMessage()); } } // Test add method with both null parameters public void test_add_bothNull() { try { scriptEngineFactory.add(null, null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
assertTrue(pool.contains(transport), "Transport should be in pool initially"); // When: Remove the transport pool.removeTransport(transport); // Then: Transport should no longer be in pool assertFalse(pool.contains(transport), "Transport should be removed from pool"); } @Test @DisplayName("Should close all connections and return in-use status")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0)