- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for violation (0.07 sec)
-
android-test/src/androidTest/java/okhttp/android/test/StrictModeTest.kt
OkHttpClient() assertThat(violations).hasSize(1) assertThat(violations[0].message).isEqualTo("newSSLContext") } @Test fun testNewCall() { Platform.resetForTests() val client = OkHttpClient() applyStrictMode() // Safe on main client.newCall(Request("https://google.com/robots.txt".toHttpUrl())) assertThat(violations).isEmpty() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 22 14:39:30 UTC 2025 - 2.1K bytes - Viewed (0) -
errors.go
// ErrDuplicatedKey occurs when there is a unique key constraint violation ErrDuplicatedKey = errors.New("duplicated key not allowed") // ErrForeignKeyViolated occurs when there is a foreign key constraint violation ErrForeignKeyViolated = errors.New("violates foreign key constraint") // ErrCheckConstraintViolated occurs when there is a check constraint violation ErrCheckConstraintViolated = errors.New("violates check constraint")
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 26 02:53:17 UTC 2024 - 2.5K bytes - Viewed (0) -
CODE_OF_CONDUCT.md
the consequences for any action they deem in violation of this Code of Conduct: ### 1. Correction **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community. **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Oct 17 06:18:13 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
assertFalse(violations.isEmpty()); assertEquals(1, violations.size()); ConstraintViolation<CustomMessageBean> violation = violations.iterator().next(); assertEquals("Invalid cron expression format", violation.getMessage()); } // Test annotation on method parameter public void test_annotationOnMethod() throws Exception {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
logger.logSecurityViolation("Test violation with stack trace", context); logger.setIncludeStackTrace(false); logger.logSecurityViolation("Test violation without stack trace", context); Map<EventType, Long> stats = logger.getStatistics(); assertEquals(Long.valueOf(2), stats.get(EventType.SECURITY_VIOLATION), "Should have 2 security violation events"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
assertTrue(exception.getMessage().toLowerCase().contains("access") && exception.getMessage().toLowerCase().contains("denied")); } @Test @DisplayName("Should format error message for sharing violation") void testSharingViolationError() { // Given int ntStatus = NtStatus.NT_STATUS_SHARING_VIOLATION; // When SmbException exception = new SmbException(ntStatus, false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
returnContextMap(context); } /** * Log a security violation * * @param violation description of violation * @param context additional context */ public void logSecurityViolation(String violation, Map<String, Object> context) { String message = "Security violation detected: " + violation; logEvent(EventType.SECURITY_VIOLATION, Severity.CRITICAL, message, context);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java
// Cyclic Dependency Error if (result.hasCircularDependencyExceptions()) { throw result.getCircularDependencyException(0); } // Version Range Violation if (result.hasVersionRangeViolations()) { throw result.getVersionRangeViolation(0); } // Transfer Error if (result.hasErrorArtifactExceptions()) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtStatus.java
int NT_STATUS_LOGON_FAILURE = 0xC000006d; /** Logon failure: user account restriction */ int NT_STATUS_ACCOUNT_RESTRICTION = 0xC000006e; /** Logon failure: account logon time restriction violation */ int NT_STATUS_INVALID_LOGON_HOURS = 0xC000006f; /** Logon failure: user not allowed to log on to this computer */ int NT_STATUS_INVALID_WORKSTATION = 0xC0000070; /** The user's password has expired */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 14.9K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
), ).assertLogMatch( Regex( """callFailed: \S+(?:SSLProtocolException|SSLHandshakeException|TlsFatalAlert): .*(?:Unexpected handshake message: client_hello|Handshake message sequence violation, 1|Read error|Handshake failed|unexpected_message\(10\)).*""", ),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.2K bytes - Viewed (0)