- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 2,989 for SHOULD (0.33 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
assertTrue(response.isValidTid()); } @Test @DisplayName("Should return null for getService") void testGetService() { // When String service = response.getService(); // Then assertNull(service); } @Test @DisplayName("Should prepare next request correctly when received") void testPrepareWhenReceived() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
assertEquals("testdomain", config.getDefaultDomain()); } @Test @DisplayName("Should handle null properties gracefully") void testNullProperties() throws CIFSException { // PropertyConfiguration doesn't handle null properties // It should throw NullPointerException assertThrows(NullPointerException.class, () -> { new PropertyConfiguration(null); });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
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/pac/PacUnicodeStringTest.java
assertNotNull(pacString, "The PacUnicodeString object should not be null."); // Verify that the getters return the correct values assertEquals(length, pacString.getLength(), "The length should match the value provided in the constructor."); assertEquals(maxLength, pacString.getMaxLength(), "The maxLength should match the value provided in the constructor.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
public void testPut_supportedPresent() { assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3())); expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) public void testPut_supportedNotPresent() { assertNull("put(notPresent, value) should return null", put(e3())); expectAdded(e3()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbPipeResource.java
* */ public interface SmbPipeResource extends SmbResource { /** * The pipe should be opened read-only. */ int PIPE_TYPE_RDONLY = SmbConstants.O_RDONLY; /** * The pipe should be opened only for writing. */ int PIPE_TYPE_WRONLY = SmbConstants.O_WRONLY; /** * The pipe should be opened for both reading and writing. */ int PIPE_TYPE_RDWR = SmbConstants.O_RDWR;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
assertNotNull(bindWithParams, "Constructor should create instance"); assertEquals(0, bindWithParams.getOpnum(), "Opnum should be 0"); assertEquals(11, bindWithParams.getPtype(), "Ptype should be 11 for bind message"); assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, bindWithParams.getFlags(), "Flags should be set for first and last fragment");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
class WireFormatTests { @Test @DisplayName("Should read parameters wire format") void testReadParametersWireFormat() { byte[] buffer = new byte[10]; int result = response.readParametersWireFormat(buffer, 0, 2); assertEquals(2, result); } @Test @DisplayName("Should write setup wire format") void testWriteSetupWireFormat() {
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/https/HandlerTest.java
class ConstructorTests { @Test @DisplayName("Should create handler with null context") void testConstructorWithNullContext() { // When Handler testHandler = new Handler(null); // Then assertNotNull(testHandler); } @Test @DisplayName("Should extend jcifs.http.Handler") void testInheritance() { // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
void testDefaultFlags() { assertEquals(0, msg.getFlags(), "Initial flags should be 0"); } @ParameterizedTest(name = "setFlags({0}) ➜ getFlags() == {0}") @ValueSource(ints = { 0x0, 0x1, 0x2, 0xFFFFFFFF, -123456 }) void testSetAndGetFlags(int value) { msg.setFlags(value); assertEquals(value, msg.getFlags(), "getFlags should return the value set"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0)