- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 324 for Correct (0.04 sec)
-
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/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/smb2/create/LeaseV1CreateContextRequestTest.java
testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE; leaseContext = new LeaseV1CreateContextRequest(testKey, testState); } @Test @DisplayName("Should have correct context name") void testContextName() { assertArrayEquals("RqLs".getBytes(), leaseContext.getName()); assertEquals("RqLs", LeaseV1CreateContextRequest.CONTEXT_NAME); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
if (dividend >= 0) { return dividend / divisor; } /* * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is * guaranteed to be either exact or one less than the correct value. This follows from fact that * floor(floor(x)/i) == floor(x/i) for any real x and integer i != 0. The proof is not quite * trivial. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K 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) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertEquals(1, (int) iter.peek()); assertEquals(1, (int) iter.next()); /* * We test peek() after various calls to make sure that one bad call doesn't interfere with its * ability to throw the correct exception in the future. */ assertThrows(NoSuchElementException.class, iter::peek); assertThrows(NoSuchElementException.class, iter::peek); assertThrows(NoSuchElementException.class, iter::next);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtStatus.java
/** The specified user already exists */ int NT_STATUS_USER_EXISTS = 0xC0000063; /** The specified user does not exist */ int NT_STATUS_NO_SUCH_USER = 0xC0000064; /** The specified network password is not correct */ int NT_STATUS_WRONG_PASSWORD = 0xC000006a; /** Logon failure: unknown user name or bad password */ int NT_STATUS_LOGON_FAILURE = 0xC000006d; /** Logon failure: user account restriction */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 14.9K 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) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
private String testPipeName = "\\PIPE\\testpipe"; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Constructor should initialize with correct values") void testConstructor() { // Act transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName); // Assert assertNotNull(transWaitNamedPipe);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
assertEquals(2000000L, basicInfo.getLastWriteTime()); assertEquals(0L, basicInfo.getSize()); // Basic info always returns 0 for size } @Test @DisplayName("Should generate correct toString for basic info") void testBasicInfoToString() { Trans2QueryPathInformationResponse.SmbQueryFileBasicInfo basicInfo = response.new SmbQueryFileBasicInfo(); basicInfo.attributes = 0x20;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)