Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 583 for incorrectly (0.05 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java

            response = new Trans2SetFileInformationResponse();
        }
    
        /**
         * Test for the constructor of {@link Trans2SetFileInformationResponse}.
         * It should initialize the subCommand correctly.
         */
        @Test
        void testConstructor() {
            // Verify that the subCommand is set to TRANS2_SET_FILE_INFORMATION
            assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, response.subCommand,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. docs_src/security/tutorial004_an_py39.py

    ) -> Token:
        user = authenticate_user(fake_users_db, form_data.username, form_data.password)
        if not user:
            raise HTTPException(
                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Incorrect username or password",
                headers={"WWW-Authenticate": "Bearer"},
            )
        access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES)
        access_token = create_access_token(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            assertEquals(0, sis.skip(skipBytes));
    
            // All data should still be available
            assertEquals(10, sis.read());
        }
    
        @Test
        @DisplayName("Skip correctly advances position in stream")
        void skipAdvancesPosition() throws IOException {
            // Create message with 5 bytes of data
            byte[] data = new byte[] { 10, 20, 30, 40, 50 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

        public void setUp() {
            smbComDelete = new SmbComDelete(TEST_FILE_NAME);
        }
    
        @Test
        public void testConstructor() {
            // Test if the constructor sets the file name and command correctly
            assertEquals(TEST_FILE_NAME, smbComDelete.path);
            assertEquals(ServerMessageBlock.SMB_COM_DELETE, smbComDelete.command);
        }
    
        @Test
        public void testWriteParameterWordsWireFormat() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

      public void testSubmit() throws Exception {
        /*
         * Mostly just tests that TrustedListenableFutureTask are created and run; tests for
         * TrustedListenableFutureTask should ensure that listeners are called correctly.
         */
    
        TestListeningExecutorService e = new TestListeningExecutorService();
    
        TestRunnable runnable = new TestRunnable();
        ListenableFuture<?> runnableFuture = e.submit(runnable);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

        }
    
        /**
         * Test the getEntries() method with a populated DfsEnumArray200.
         * Verifies that the DFS entries are correctly converted to FileEntry objects.
         */
        @Test
        void testGetEntries() {
            // Given
            MsrpcDfsRootEnum dfsRootEnum = new MsrpcDfsRootEnum("test-server");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

        initMapWithNullValue();
        testToString_formatting();
      }
    
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_formatting() {
        assertEquals(
            "map.toString() incorrect", expectedToString(getMap().entrySet()), getMap().toString());
      }
    
      private String expectedToString(Set<Entry<K, V>> entries) {
        Map<K, V> reference = new LinkedHashMap<>();
        for (Entry<K, V> entry : entries) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            assertNotNull(req);
            assertTrue(req instanceof ServerMessageBlock2Request);
            assertTrue(req instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should set notify flags correctly")
        void testSetNotifyFlags() throws Exception {
            // Given
            int flags = Smb2ChangeNotifyRequest.SMB2_WATCH_TREE;
    
            // When
            request.setNotifyFlags(flags);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

      public void testSetCountConditional_negativeOldCount_addUnsupported() {
        try {
          assertSetCountNegativeOldCount();
        } catch (UnsupportedOperationException tolerated) {
        }
      }
    
      // Incorrect expected present count.
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCountConditional_oldCountTooLarge() {
        assertFalse(
            "setCount() with a too-large oldCount should return false",
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top