Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 870 for certify (0.06 sec)

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

      }
    
      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
       * returns the expected data.
       *
       * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the
       *     result doesn't match the expected value.
       */
      public void assertSuccess(Object expectedData) throws Throwable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            doReturn(10).when((NameServicePacket) request).writeQuestionSectionWireFormat(any(byte[].class), anyInt());
    
            int result = request.writeBodyWireFormat(dst, dstIndex);
    
            // Verify that writeQuestionSectionWireFormat was called
            verify((NameServicePacket) request, times(1)).writeQuestionSectionWireFormat(dst, dstIndex);
            assertEquals(10, result);
        }
    
        @Test
        void testReadBodyWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/CredentialsInternalTest.java

            assertFalse(ctx.isEstablished(), "stub context initially not established");
    
            // Verify interactions with dependency are meaningful and ordered
            InOrder order = inOrder(mockContext);
            order.verify(mockContext, times(1)).getConfig();
            order.verify(mockContext, times(1)).getCredentials();
            verifyNoMoreInteractions(mockContext);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.Credentials;
    
    /**
     * Security-focused test cases for SmbSessionImpl to verify race condition fixes.
     */
    public class SmbSessionImplSecurityTest {
    
        private CIFSContext mockContext;
        private SmbTransportImpl mockTransport;
        private Configuration mockConfig;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            assertFalse(iterator.hasNext(), "Should not have more elements");
    
            // Then
            verify(mockDelegate, times(3)).next();
            verify(mockFilter).accept(mockResource1);
            verify(mockFilter).accept(mockResource2);
            verify(mockFilter).accept(mockResource3);
        }
    
        /**
         * Test that adapt method is actually used by the iterator.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbSessionImplTest.java

            verify(transport, times(1)).acquire();
        }
    
        @Test
        @DisplayName("close/release manage usage and transport lifecycle")
        void testReleaseLifecycle() {
            SmbSessionImpl session = newSession();
    
            // First release drops usage to zero and releases transport
            session.release();
            verify(transport, times(1)).release();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/NetbiosNameTest.java

            assertEquals(testScope, mockNetbiosName.getScope());
            assertEquals(testType, mockNetbiosName.getNameType());
    
            // Verify all methods were called
            verify(mockNetbiosName).getName();
            verify(mockNetbiosName).getScope();
            verify(mockNetbiosName).getNameType();
        }
    
        @Test
        @DisplayName("Should handle interface method contracts")
        void testMethodContracts() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/RequestWithPathTest.java

            doNothing().when(requestWithPath).setResolveInDfs(true);
            requestWithPath.setResolveInDfs(true);
            verify(requestWithPath, times(1)).setResolveInDfs(true);
    
            doNothing().when(requestWithPath).setResolveInDfs(false);
            requestWithPath.setResolveInDfs(false);
            verify(requestWithPath, times(1)).setResolveInDfs(false);
    
            // Test with implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            // Verify logger is not null
            assertNotNull(logger);
    
            // Verify logger is of the expected type
            assertTrue(logger instanceof org.apache.logging.log4j.Logger);
        }
    
        // Test concurrent execution of hook method
        public void test_hook_concurrentExecution() throws Exception {
            final FwAssistantDirector assistantDirector = createMockAssistantDirector();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/oauth2-jwt.md

    And your users would be able to login from your Django app or from your **FastAPI** app, at the same time.
    
    ///
    
    ## Hash and verify the passwords { #hash-and-verify-the-passwords }
    
    Import the tools we need from `passlib`.
    
    Create a PassLib "context". This is what will be used to hash and verify passwords.
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top