- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 599 for isInvalid (0.05 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
SmbNegotiationRequest request = mock(SmbNegotiationRequest.class); when(request.isSigningEnforced()).thenReturn(true); response.getServerData().signaturesEnabled = true; assertTrue(response.isValid(mockContext, request)); assertTrue(response.isSigningNegotiated()); assertTrue((response.getNegotiatedFlags2() & SmbConstants.FLAGS2_SECURITY_SIGNATURES) != 0); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt
override fun getLastAccessedTime(): Long = delegate!!.lastAccessedTime override fun invalidate() { delegate!!.invalidate() } override fun isValid(): Boolean = delegate!!.isValid override fun putValue( s: String, o: Any, ) { delegate!!.putValue(s, o) } override fun getValue(s: String): Any = delegate!!.getValue(s)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertEquals(0, result); } @Test @DisplayName("Should throw exception for invalid structure size") void testReadBytesWireFormatInvalidSize() { byte[] buffer = new byte[1024]; int bufferIndex = 100; // Write invalid structure size = 8 SMBUtil.writeInt2(8, buffer, bufferIndex); SMBProtocolDecodingException exception =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
public void test_constructor_withMessageAndCause() { // Test constructor with message and cause final String message = "Job processing failed"; final Exception cause = new IllegalStateException("Invalid state"); final JobProcessingException exception = new JobProcessingException(message, cause); assertNotNull(exception); assertEquals(message, exception.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
} @Test @DisplayName("Test invalid configuration") void testInvalidConfiguration() { assertThrows(IllegalArgumentException.class, () -> new SimpleCircuitBreaker("invalid", 0, 2, 100)); assertThrows(IllegalArgumentException.class, () -> new SimpleCircuitBreaker("invalid", 3, 0, 100)); assertThrows(IllegalArgumentException.class, () -> new SimpleCircuitBreaker("invalid", 3, 2, -1)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
fail("Should have thrown FessSystemException"); } catch (FessSystemException e) { assertTrue(e.getMessage().contains("Invalid pruned tag")); } try { PrunedTag.parse(".css-only"); fail("Should have thrown FessSystemException"); } catch (FessSystemException e) { assertTrue(e.getMessage().contains("Invalid pruned tag")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
@Test @DisplayName("Binary constructor with invalid sub_authority_count throws RuntimeCIFSException") void testBinaryConstructorInvalidCount() { // Arrange: second byte is sub_authority_count > 100 byte[] bytes = new byte[1 + 1 + 6]; bytes[0] = 1; // revision bytes[1] = (byte) 101; // invalid count // Act + Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
// Test unavailable SID type (type 6 - DELETED) assertNull(sambaHelper.getAccountId(createMockSID(6, "Deleted Account"))); // Test unavailable SID type (type 7 - INVALID) assertNull(sambaHelper.getAccountId(createMockSID(7, "Invalid Account"))); } public void test_getAccountId_smb1_basic() throws SmbException { // Note: SMB1 SID testing is limited due to interface constraints
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/ElevateWordPager.java
*/ public void setExistNextPage(final boolean existNextPage) { this.existNextPage = existNextPage; } /** * Gets the number of records per page. * If page size is not set or invalid, returns the default page size. * * @return the page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/UserPager.java
this.existNextPage = existNextPage; } /** * Gets the number of records per page. * Returns the default page size if not set or invalid. * * @return the page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); } return pageSize; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.3K bytes - Viewed (0)