Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 840 for verifyCn (0.15 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/org/codelibs/fess/sso/SsoAuthenticatorTest.java

            // Verify
            assertNull(result);
        }
    
        // Test resolveCredential method
        public void test_resolveCredential_withValidResolver() {
            // Setup
            TestLoginCredentialResolver resolver = new TestLoginCredentialResolver();
    
            // Execute
            authenticator.resolveCredential(resolver);
    
            // Verify
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Then - verify the body was written correctly
            byte[] pathBytes = TEST_PATH.getBytes(StandardCharsets.UTF_16LE);
    
            // Verify structure size (9)
            assertEquals(9, SMBUtil.readInt2(buffer, bodyOffset));
    
            // Verify tree flags (0)
            assertEquals(0, SMBUtil.readInt2(buffer, bodyOffset + 2));
    
            // Verify path offset (points to after the 8-byte structure)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            // Verify bytes written
            assertEquals(8, bytesWritten);
    
            // Verify FID (2 bytes)
            assertEquals(fid, SMBUtil.readInt2(dst, dstIndex));
    
            // Verify reserved bytes (2 bytes at positions 2-3)
            assertEquals(0x00, dst[dstIndex + 2]);
            assertEquals(0x00, dst[dstIndex + 3]);
    
            // Verify security information (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

        public void test_allMethodsReturnExpectedValues() {
            // Comprehensive test to verify all methods return expected values
            FessJsonResourceProvider testProvider = new FessJsonResourceProvider();
    
            // Verify nulls suppression is enabled
            assertTrue("Nulls should be suppressed", testProvider.isNullsSuppressed());
    
            // Verify pretty print is enabled
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top