- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 3,084 for shouldn (0.27 sec)
-
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
assertEquals(mid, request.getMid(), "MID should be set correctly"); assertEquals(asyncId, request.getAsyncId(), "AsyncId should be set correctly"); assertEquals(credits, request.getCredit(), "Credits should be set correctly"); assertEquals(treeId, request.getTreeId(), "Tree ID should be set correctly"); assertTrue((request.getFlags() & SMB2_FLAGS_ASYNC_COMMAND) != 0, "Async flag should be set for non-zero asyncId"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
assertNotNull(clazz.getMethod("createNewFile"), "Should have createNewFile method"); assertNotNull(clazz.getMethod("mkdir"), "Should have mkdir method"); assertNotNull(clazz.getMethod("mkdirs"), "Should have mkdirs method"); assertNotNull(clazz.getMethod("delete"), "Should have delete method"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
assertEquals(message, ex.getMessage(), "Message should be preserved as provided"); assertNull(ex.getCause(), "Cause should be null when only message is provided"); // toString should include the class name and (if non-null) the message String ts = ex.toString(); assertTrue(ts.contains("SMBProtocolDecodingException"), "toString should include class name"); if (message != null && !message.isEmpty()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertTrue(s.startsWith("Trans2FindNext2["), "toString should start with class name"); assertTrue(s.contains(",sid=" + sid), "toString should include sid in decimal"); assertTrue(s.contains(",searchCount=" + Trans2FindFirst2.LIST_SIZE), "toString should include searchCount using LIST_SIZE"); assertTrue(s.contains(",informationLevel=0x104"), "toString should include information level 0x104");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
assertTrue(t.isParsed(), "parse should mark parsed"); assertArrayEquals(raw, t.getMechanismToken(), "parse should set mechanismToken"); } @Test @DisplayName("parse throws IOException on null input") void parseThrowsOnNull() { TestSpnegoToken t = new TestSpnegoToken(); IOException ex = assertThrows(IOException.class, () -> t.parse(null), "parse should throw IOException on null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
@Test @DisplayName("Constructor with null file ID should accept null") void testConstructorWithNullFileId() { // Should not throw exception Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName); assertNotNull(requestWithNull); } @Test @DisplayName("Constructor with null fileName should accept null")
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/netbios/SessionRequestPacketTest.java
} @Test @DisplayName("Constructor with Configuration only should create empty Name instances") void testConstructorWithConfigOnly() { SessionRequestPacket packet = new SessionRequestPacket(mockConfig); assertNotNull(packet); // The packet should have calledName and callingName initialized but empty byte[] dst = new byte[256];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
// Then assertNotNull(result); assertTrue(result.length > 0, "HMAC-T64 should produce non-empty result"); } @Test @DisplayName("Should perform RC4 encryption/decryption") void testRC4() throws Exception { // Given byte[] key = "testkey123456789".getBytes(); // 16 bytes byte[] plaintext = "This is a test message for RC4".getBytes(); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
} @Test @DisplayName("Should align size to 8-byte boundary") void testSizeAlignment() { int size = request.size(); assertEquals(0, size % 8, "Size should be aligned to 8-byte boundary"); } @ParameterizedTest @DisplayName("Should calculate size for various lock counts")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
assertTrue(session.isInUse(), "Session should be in use initially"); try (SmbSessionImpl autoSession = session) { // Session is already in use due to transport acquisition assertTrue(autoSession.isInUse(), "Session should be in use"); } // Session should be automatically released assertFalse(session.isInUse(), "Session should be released after try-with-resources"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0)