- Sort Score
- Result 10 results
- Languages All
Results 621 - 630 of 3,084 for shouldn (0.15 sec)
-
src/test/java/jcifs/CloseableIteratorTest.java
@Mock private CloseableIterator<SmbResource> mockIterator; @Test @DisplayName("Should define close method") void testCloseMethod() throws CIFSException { // When mockIterator.close(); // Then verify(mockIterator).close(); } @Test @DisplayName("Should extend Iterator and AutoCloseable") void testInterfaceInheritance() { // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 964 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
assertEquals(1, loadCount[0]); // Should not increment // Simulate time passing (more than 60 seconds) testFactory.lastLoadedTime = System.currentTimeMillis() - 61000L; // Should reload after cache expiry names = testFactory.getDataStoreNames(); assertEquals(2, names.length); assertEquals(2, loadCount[0]); // Should increment }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
*/ @Test public void testMalformedStructureSize() { byte[] malformedBuffer = createBasicNegotiateResponseBuffer(); // Set incorrect structure size (should be 65) SMBUtil.writeInt2(64, malformedBuffer, 0); SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> { response.readBytesWireFormat(malformedBuffer, 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) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
// Second decode - should overwrite previous value byte[] buffer2 = new byte[8]; long indexNumber2 = 0x2222222222222222L; SMBUtil.writeInt8(indexNumber2, buffer2, 0); fileInternalInfo.decode(buffer2, 0, buffer2.length); assertEquals(indexNumber2, fileInternalInfo.getIndexNumber()); // Third decode - should overwrite again byte[] buffer3 = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java
/** Value indicating the element should be completely overridden */ public static final String SELF_COMBINATION_OVERRIDE = "override"; /** Value indicating the element should be merged */ public static final String SELF_COMBINATION_MERGE = "merge"; /** Value indicating the element should be removed */ public static final String SELF_COMBINATION_REMOVE = "remove"; /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
// Act KerberosApRequest req = new KerberosApRequest(seq, null); // Assert assertEquals(ap, req.getApOptions(), "apOptions should reflect BIT STRING's first byte"); assertNull(req.getTicket(), "ticket should be null when tag 3 is absent"); } @ParameterizedTest @ValueSource(ints = { 0, 4, 6, 99 }) @DisplayName("seq ctor: invalid pvno values throw")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashSet.java
* even {@code java.util.HashSet}, and places considerably less load on the garbage collector. Like * {@code java.util.LinkedHashSet}, it offers insertion-order iteration, with identical behavior. * * <p>This class should not be assumed to be universally superior to {@code * java.util.LinkedHashSet}. Generally speaking, this class reduces object allocation and memory
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 9.4K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt
) }, ).containsExactly( "--> GET http://google.com/robots.txt", "<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit. ${request.url} (ms)", ) // We should consider if these logs should retain Exceptions assertThat(logs.last().throwable).isNull() } @Test fun testLoggingEventListener() { val client = clientBuilder.eventListenerFactory(LoggingEventListener.Factory()).build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
* Sets whether the user identification cookie should be marked as secure. * * @param cookieSecure true if the cookie should be secure (HTTPS only), false otherwise, or null for auto-detection */ public void setCookieSecure(final Boolean cookieSecure) { this.cookieSecure = cookieSecure; } /** * Sets whether the user identification cookie should be HTTP-only. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java
transformer.name = "directFieldAccess"; assertEquals("directFieldAccess", transformer.getName()); // Setter should update the field transformer.setName("setterAccess"); assertEquals("setterAccess", transformer.name); // Field modification should be reflected in getter transformer.name = "modifiedField"; assertEquals("modifiedField", transformer.getName()); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 20.8K bytes - Viewed (0)