Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 151 for verified (0.04 sec)

  1. src/main/java/jcifs/smb/SMBSignatureValidationException.java

     */
    package jcifs.smb;
    
    /**
     * Exception thrown when SMB message signature validation fails.
     * Indicates that the integrity of an SMB message could not be verified.
     *
     * @author mbechler
     *
     */
    public class SMBSignatureValidationException extends SmbException {
    
        /**
         * Default constructor for SMB signature validation exception.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            // This test verifies the exception is serializable
            String message = "Serialization test";
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
            // Verify basic properties are preserved
            assertEquals(message, exception.getMessage());
    
            // The presence of serialVersionUID is verified at compile time
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

        // Note: This test is simplified because complex Tomcat Context mocking
        // is difficult to maintain due to frequent API changes.
        // The focus is on testing the class structure and basic functionality
        // that can be verified without full integration testing.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // Add padding for 8-byte alignment
            SMBUtil.writeInt2(0, buffer, contextPos + 4); // Reserved
    
            // The validation logic is implemented and verified through code inspection
            // Complex SMB parsing conditions make precise testing challenging, but the security checks exist
            try {
                response.readBytesWireFormat(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            assertEquals("Operation is not supported with the negotiated capabilities", ex.getMessage());
        }
    
        @Test
        @DisplayName("Mockito: stubbed collaborator throws RuntimeException wrapper and interactions are verified")
        void mockInteraction_stubsThrow_andVerifiesInvocation() {
            // Arrange: Since SmbUnsupportedOperationException is a checked exception (extends IOException),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

                |Hostname ${address.url.host} not verified:
                |    certificate: ${CertificatePinner.pin(cert)}
                |    DN: ${cert.subjectDN.name}
                |    subjectAltNames: ${OkHostnameVerifier.allSubjectAltNames(cert)}
                """.trimMargin(),
              )
            } else {
              throw SSLPeerUnverifiedException(
                "Hostname ${address.url.host} not verified (no certificates)",
              )
            }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. docs/debugging/xl-meta/main.go

    				}
    				if splitData[shardsIdx][startOffset+i] != shards[shardsIdx][i] {
    					fmt.Println("Internal error: Mismatch at", startOffset+i)
    				}
    				verified++
    			}
    		}
    	}
    	fmt.Println("Reconstructed", reconstructed, "bytes and verified", verified, "bytes of partial shard with config", string(shardConfig))
    }
    
    // bitrot returns a shard beginning at startOffset after doing bitrot checks.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            int offset = 10;
            int size = 100;
            when(response.verifySignature(buffer, offset, size)).thenReturn(true);
    
            // When
            boolean verified = response.verifySignature(buffer, offset, size);
    
            // Then
            assertTrue(verified);
            verify(response).verifySignature(buffer, offset, size);
        }
    
        @Test
        @DisplayName("Test Response interface methods - isVerifyFailed")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            assertTrue(r.getName().startsWith("OKSERVER"), "Expected valid entry to be adapted");
            assertFalse(itr.hasNext());
        }
    
        @Test
        @DisplayName("Filter rejects first, accepts second; interactions verified")
        void filterRejectsThenAccepts_nextYieldsAccepted() throws Exception {
            // Arrange: two entries; filter rejects first, accepts second
            setupParentForUrlCreation();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbSessionInternalTest.java

            assertTrue(ex.getMessage().contains("failure"));
            verify(session).getSessionKey();
        }
    
        // Happy path: transport is returned and verified
        @Test
        @DisplayName("getTransport returns mocked transport")
        void getTransport_happy() {
            when(session.getTransport()).thenReturn(transport);
            assertSame(transport, session.getTransport());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top