- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 507 for correta (0.04 sec)
-
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
request = new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, TEST_TOKEN); } @Test @DisplayName("Should create request with correct parameters") void testConstructorSetsCorrectParameters() throws Exception { // Given & When int securityMode = 0x03; int capabilities = 0x0F; long previousSessionId = 0xFEDCBA9876543210L;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
byte[] buffer = new byte[100]; int dstIndex = 10; int bytesWritten = info.encode(buffer, dstIndex); // Verify replaceIfExists flag at correct position assertEquals(1, buffer[dstIndex]); // Verify file name length at correct position int nameLength = SMBUtil.readInt4(buffer, dstIndex + 16); assertEquals(fileName.getBytes(StandardCharsets.UTF_16LE).length, nameLength);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
assertEquals(mockConfig, responseConfig); // Verify response has correct fileId assertEquals(testFileId, response.getFileId()); // Verify response has correct fileName assertEquals(testFileName, response.getFileName()); } @Test @DisplayName("size should return correct message size") void testSize() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
assertTrue(resp instanceof ServerMessageBlock2); assertTrue(resp instanceof TreeConnectResponse); } @Test @DisplayName("Should return correct share type constants") void testShareTypeConstants() { // Then assertEquals((byte) 0x1, Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
SamrAliasHandle aliasHandle = new SamrAliasHandle(mockDcerpcHandle, mockSamrDomainHandle, access, rid); // Assert assertNotNull(aliasHandle); // Verify that sendrecv was called with the correct MsrpcSamrOpenAlias object ArgumentCaptor<MsrpcSamrOpenAlias> rpcCaptor = ArgumentCaptor.forClass(MsrpcSamrOpenAlias.class); verify(mockDcerpcHandle).sendrecv(rpcCaptor.capture());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
class FlagConstantsTests { @Test @DisplayName("Should have correct shared lock flag value") void testSharedLockFlag() { assertEquals(0x1, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK); } @Test @DisplayName("Should have correct exclusive lock flag value") void testExclusiveLockFlag() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
private TestRequestWithPath testImplementation; @BeforeEach void setUp() { testImplementation = new TestRequestWithPath(); } @Test @DisplayName("Test getPath returns correct path") void testGetPath() { // Test with mock String expectedPath = "/share/folder/file.txt"; when(requestWithPath.getPath()).thenReturn(expectedPath);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
assertEquals(0x00, trans.maxSetupCount); assertEquals(2, trans.setupCount); assertEquals("\\PIPE\\", trans.name); } @Test @DisplayName("Test writeSetupWireFormat writes correct data") void testWriteSetupWireFormat() { // Arrange TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH); byte[] dst = new byte[10];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
docs/es/docs/advanced/additional-responses.md
El lugar correcto es: * En la clave `content`, que tiene como valor otro objeto JSON (`dict`) que contiene: * Una clave con el media type, por ejemplo, `application/json`, que contiene como valor otro objeto JSON, que contiene: * Una clave `schema`, que tiene como valor el JSON Schema del modelo, aquĆ es el lugar correcto.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9.3K bytes - Viewed (0) -
docs/en/docs/advanced/additional-responses.md
The correct place is: * In the key `content`, that has as value another JSON object (`dict`) that contains: * A key with the media type, e.g. `application/json`, that contains as value another JSON object, that contains: * A key `schema`, that has as the value the JSON Schema from the model, here's the correct place.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 8.9K bytes - Viewed (0)