Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 821 - 830 of 1,121 for verify (0.26 seconds)

  1. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            byte[] encrypted = storage.encryptCredentials(plaintext);
            assertNotNull(encrypted, "Encrypted data should not be null");
            assertTrue(encrypted.length > 0, "Encrypted data should have content");
    
            // Verify plaintext is not in encrypted data
            String encryptedStr = new String(encrypted);
            assertFalse(encryptedStr.contains("SecretPassword123"), "Plaintext should not be visible in encrypted data");
    
            // Decrypt
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  2. cmd/object-multipart-handlers.go

    		idxCb = cb
    		defer s2c.Close()
    		reader = etag.Wrap(s2c, actualReader)
    		size = -1   // Since compressed size is un-predictable.
    		md5hex = "" // Do not try to verify the content.
    		sha256hex = ""
    	}
    
    	var forceMD5 []byte
    	// Optimization: If SSE-KMS and SSE-C did not request Content-Md5. Use uuid as etag. Optionally enable this also
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 07 16:13:09 GMT 2025
    - 39.5K bytes
    - Click Count (1)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * AbstractListTester isn't enough because many tests that run on lists don't
       * extends AbstractListTester.) We could also iterate over all elements to
       * verify absence
       */
      protected void expectMissing(E... elements) {
        for (E element : elements) {
          assertFalse("Should not contain " + element, actualContents().contains(element));
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length);
    
            assertTrue(bytesRead > 0);
            assertNotNull(response.getInfo());
    
            // Verify the correct type was created
            if (infoLevel == FileInformation.FILE_BASIC_INFO) {
                assertTrue(response.getInfo() instanceof FileBasicInfo);
            } else if (infoLevel == FileInformation.FILE_STANDARD_INFO) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            List<RelatedContent> testData = new ArrayList<>();
            testData.add(createRelatedContent("test", "Test Content", ""));
            mockBhv.setTestData(testData);
    
            relatedContentHelper.init();
    
            // Verify that load was called and data is processed
            String[] results = relatedContentHelper.getRelatedContents("test");
            assertEquals(1, results.length);
            assertEquals("Test Content", results[0]);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/curl/CurlTest.java

            // ## Act ##
            final Method[] methods = Method.values();
    
            // ## Assert ##
            assertEquals(8, methods.length); // GET, POST, PUT, DELETE, HEAD, OPTIONS, TRACE, CONNECT
    
            // Verify each method exists
            boolean hasGet = false, hasPost = false, hasPut = false, hasDelete = false;
            boolean hasHead = false, hasOptions = false, hasTrace = false, hasConnect = false;
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            assertEquals(20, bytesRead);
            assertNotNull(response.getInfo());
        }
    
        @Test
        void testInformationLevelConstants() {
            // Verify information level constants are correctly used
            assertEquals((byte) -1, FileSystemInformation.SMB_INFO_ALLOCATION);
            assertEquals((byte) 3, FileSystemInformation.FS_SIZE_INFO);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            testSids = new jcifs.SID[] { mockSid1, mockSid2 };
    
            // Act
            lookupSids = new MsrpcLookupSids(mockPolicyHandle, testSids);
    
            // Assert using reflection to verify superclass fields
            Field handleField = lsarpc.LsarLookupSids.class.getDeclaredField("handle");
            handleField.setAccessible(true);
            assertSame(mockPolicyHandle, handleField.get(lookupSids));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertTrue(exception.shouldRetry(1));
            assertTrue(exception.shouldRetry(2));
            assertFalse(exception.shouldRetry(3)); // Max attempts reached
    
            // Verify exponential backoff
            assertEquals(1000, exception.getRetryDelayMs(1));
            assertEquals(2000, exception.getRetryDelayMs(2));
            assertEquals(4000, exception.getRetryDelayMs(3));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            mockRequest.setMethod("POST");
            mockRequest.setRequestURI("/test/uri");
    
            webApiRequest = new WebApiRequest(mockRequest, customPath);
    
            // Verify that other methods are properly delegated
            assertEquals("POST", webApiRequest.getMethod());
            assertEquals("/test/uri", webApiRequest.getRequestURI());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
Back to Top