- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 583 for incorrectly (0.06 sec)
-
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
assertEquals(FileSystemInformation.FS_SIZE_INFO, result); verify(mockFileSystemInfo, times(1)).getFileSystemInformationClass(); } @Test @DisplayName("Should decode buffer correctly") void testDecode() throws SMBProtocolDecodingException { byte[] buffer = new byte[100]; when(mockFileSystemInfo.decode(any(byte[].class), anyInt(), anyInt())).thenReturn(24);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
assertEquals(1, result.getProject().getArtifacts().size()); assertNotNull(result.getDependencyResolutionResult()); } /** * Tests whether local version range parent references are built correctly. */ @Test void testBuildValidParentVersionRangeLocally() throws Exception { File f1 = getTestFile("src/test/resources/projects/parent-version-range-local-valid/child/pom.xml");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
// Act & Assert assertThrows(NullPointerException.class, () -> handler.openConnection(null)); } @Test @DisplayName("URL created with handler parses SMB URL correctly") void testUrlCreationWithHandler() throws Exception { // Act - Create various SMB URLs using the handler URL url1 = new URL(null, "smb://host/share", handler);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
docs_src/security/tutorial003_py39.py
if not user_dict: raise HTTPException(status_code=400, detail="Incorrect username or password") user = UserInDB(**user_dict) hashed_password = fake_hash_password(form_data.password) if not hashed_password == user.hashed_password: raise HTTPException(status_code=400, detail="Incorrect username or password") return {"access_token": user.username, "token_type": "bearer"}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.4K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
#### The time to answer helps the attackers { #the-time-to-answer-helps-the-attackers } At that point, by noticing that the server took some microseconds longer to send the "Incorrect username or password" response, the attackers will know that they got _something_ right, some of the initial letters were right.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
// Basic setup, specific filter attributes will be set in each test } /** * Tests the constructor of DosFileFilter. * This test ensures that the constructor runs without errors and correctly initializes the object. * The wildcard parameter is stored but its filtering logic is handled server-side, * so we only verify its acceptance here. */ @Test void testConstructor() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
} finally { executor.shutdownNow(); } assertTrue(future.isDone()); assertFalse(future.isCancelled()); } /** Tests that the {@link Future#get(long, TimeUnit)} method times out correctly. */ public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException { // The task thread waits for the latch, so we expect a timeout here. try { future.get(20, MILLISECONDS);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java
@Mock private SamrAliasHandle mockAliasHandle; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Should correctly initialize MsrpcSamrOpenAlias with provided parameters") void testConstructorInitialization() { // Given int access = 0x01; // Example access value int rid = 123; // Example RID valueRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
internal/disk/fdatasync_linux.go
// unless that metadata is needed in order to allow a subsequent data retrieval // to be correctly handled. For example, changes to st_atime or st_mtime // (respectively, time of last access and time of last modification; see inode(7)) // do not require flushing because they are not necessary for a subsequent data // read to be handled correctly. On the other hand, a change to the file size
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Sep 29 23:40:28 UTC 2021 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, bindMessage.getFlags(), "Flags should be set correctly"); } @Test @DisplayName("Decode error handling should work correctly") void testDecodeErrorHandling() throws Exception { // Given when(mockHandle.getMaxXmit()).thenReturn(1024);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0)