Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 878 for Verify (0.04 sec)

  1. src/test/java/jcifs/pac/PacConstantsTest.java

         * This prevents accidental modification of these critical constants.
         */
        @Test
        void testConstantValues() {
            // Verify the PAC version
            assertEquals(0, PacConstants.PAC_VERSION, "PAC_VERSION should be 0");
    
            // Verify PAC buffer types
            assertEquals(1, PacConstants.LOGON_INFO, "LOGON_INFO should be 1");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

            // Verify that the super constructor was called with the correct arguments
            // Note: Mockito cannot directly verify super constructor calls.
            // We assume if the object is created, the super constructor was called.
            // We can verify the state of the object after construction.
    
            // Verify ptype and flags are set correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            params.put("key2", "value2");
    
            IndexUpdateCallback callback = new TestIndexUpdateCallback();
    
            // Execute store method
            dataStore.store(config, callback, params);
    
            // Verify store was called
            assertTrue(storeCalled.get());
            assertNotNull(capturedConfig.get());
            assertEquals("test-config", capturedConfig.get().getName());
            assertNotNull(capturedCallback.get());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. cmd/signature-v4-parser.go

    func parsePreSignV4(query url.Values, region string, stype serviceType) (psv preSignValues, aec APIErrorCode) {
    	// verify whether the required query params exist.
    	aec = doesV4PresignParamsExist(query)
    	if aec != ErrNone {
    		return psv, aec
    	}
    
    	// Verify if the query algorithm is supported or not.
    	if query.Get(xhttp.AmzAlgorithm) != signV4Algorithm {
    		return psv, ErrInvalidQuerySignatureAlgo
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertEquals(0x01, SMBUtil.readInt4(buffer, headerStart + 44)); // Write flags
    
                // Verify data offset is written correctly
                int dataOffsetValue = SMBUtil.readInt2(buffer, headerStart + 2);
                assertEquals(headerStart - 0 + 48, dataOffsetValue); // Assuming getHeaderStart() returns 0
    
                // Verify data is copied
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // When
            encryptionContext.secureWipeKeys();
    
            // Then - Verify keys are wiped (we can't directly access private fields,
            // but we can verify the context behaves correctly after wiping)
            // After wiping, operations that require keys should fail
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

            // Call the decode method with the mocked NdrBuffer
            ndrHyper.decode(mockNdrBuffer);
    
            // Verify that dec_ndr_hyper was called exactly once
            verify(mockNdrBuffer, times(1)).dec_ndr_hyper();
            verifyNoMoreInteractions(mockNdrBuffer);
    
            // Verify that the NdrHyper object's value was updated correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top