Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 876 for certify (0.69 sec)

  1. src/test/java/jcifs/smb/BufferCacheImplTest.java

            when(cfg.getMaximumBufferSize()).thenReturn(5);
    
            BufferCacheImpl impl = new BufferCacheImpl(cfg);
    
            // Verify interactions happen exactly once during construction
            verify(cfg, times(1)).getBufferCacheSize();
            verify(cfg, times(1)).getMaximumBufferSize();
            verifyNoMoreInteractions(cfg);
    
            // When cache is empty, getBuffer allocates a new buffer with configured size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        void testFileEntryInterface() {
            // Verify that SmbShareInfo properly implements FileEntry interface
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
    
            // Cast to FileEntry to ensure interface is properly implemented
            jcifs.smb.FileEntry fileEntry = info;
    
            // Verify all FileEntry methods work
            assertEquals(TEST_NET_NAME, fileEntry.getName());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/SMBSigningDigest.java

         * @param length
         *            The length of the data to verify
         * @param extraPad
         *            extra padding to include in signature
         * @param msg
         *            The message to verify
         * @return whether verification was unsuccessful
         */
        boolean verify(byte[] data, int offset, int length, int extraPad, CommonServerMessageBlock msg);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            it.close();
    
            // Verify interactions: one create, two additional directory queries (for fetchMore), one close
            verify(tree, times(1)).send(argThat((Request<?> r) -> r instanceof Smb2CreateRequest));
            verify(tree, times(2)).send(argThat((Request<?> r) -> r instanceof Smb2QueryDirectoryRequest));
            verify(tree, times(1)).send(argThat((Request<?> r) -> r instanceof Smb2CloseRequest));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

        }
    
        @Test
        void messageAndCauseConstructor_setsMessageAndCause_withoutInteractingWithCause() {
            // Arrange - mock cause to verify no interactions are needed to construct
            Throwable cause = Mockito.mock(Throwable.class);
            String message = "forced downgrade detected";
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                // Verify each is a power of 2
                for (int cap : capabilities) {
                    assertTrue(isPowerOfTwo(cap), "Capability 0x" + Integer.toHexString(cap) + " should be a power of 2");
                }
    
                // Verify no overlapping bits
                for (int i = 0; i < capabilities.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Then
            // These fields are protected in parent class, so we can't access them directly
            // We verify the object was created successfully instead
            assertNotNull(trans2GetDfsReferral);
    
            // Verify that request buffer was created with correct parameters
            Field requestField = Trans2GetDfsReferral.class.getDeclaredField("request");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                Smb2EchoRequest request = new Smb2EchoRequest(mockConfig);
                assertNotNull(request);
    
                // Verify command is set to SMB2_ECHO (0x000D)
                assertEquals(0x000D, request.getCommand());
    
                // Verify configuration is set
                Field configField = ServerMessageBlock2.class.getDeclaredField("config");
                configField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

          numCallsToNewTargetIterator++;
          return Lists.newArrayList(1).iterator();
        }
    
        @Override
        protected void verify(List<Integer> elements) {
          numCallsToVerify++;
          super.verify(elements);
        }
      }
    
      public void testVerifyGetsCalled() {
        TesterThatCountsCalls tester = new TesterThatCountsCalls();
    
        tester.test();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users_test.go

    		c.Fatalf("policy add error: %v", err)
    	}
    
    	// 2. Verify that policy json is validated by server
    	invalidPolicyBytes := policyBytes[:len(policyBytes)-1]
    	err = s.adm.AddCannedPolicy(ctx, policy1+"invalid", invalidPolicyBytes)
    	if err == nil {
    		c.Fatalf("invalid policy creation success")
    	}
    
    	// 3. Create a user, associate policy and verify access
    	accessKey, secretKey := mustGenerateCredentials(c)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top