- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for Accepted (0.03 sec)
-
src/test/java/jcifs/smb/DosFileFilterTest.java
boolean result = dosFileFilter.accept(mockFile); // Then the result should be as expected if (expectedResult) { assertTrue(result, "File should be accepted"); } else { assertFalse(result, "File should not be accepted"); } } /** * Tests that the accept method returns true when the file has more attributes
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt
* * As persistence, implementations of this interface must also provide storage of cookies. Simple * implementations may store cookies in memory; sophisticated ones may use the file system or * database to hold accepted cookies. The [cookie storage model][rfc_6265_53] specifies policies for * updating and expiring cookies. * * [rfc_6265_53]: https://tools.ietf.org/html/rfc6265#section-5.3 */ interface CookieJar { /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
when(smbFile.isDirectory()).thenReturn(true); // Act boolean result = filter.accept(smbFile); // Assert assertTrue(result, "Directory should be accepted"); verify(smbFile, times(1)).isDirectory(); verify(smbFile, never()).getName(); verifyNoMoreInteractions(smbFile); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocketListener.kt
* limitations under the License. */ package okhttp3 import okio.ByteString abstract class WebSocketListener { /** * Invoked when a web socket has been accepted by the remote peer and may begin transmitting * messages. */ open fun onOpen( webSocket: WebSocket, response: Response, ) { }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/OneSizeTestContainerGenerator.java
import com.google.common.collect.testing.features.CollectionSize; import java.util.Collection; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * The subject-generator interface accepted by Collection testers, for testing a Collection at one * particular {@link CollectionSize}. * * <p>This interface should not be implemented outside this package; {@linkRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
* <code>NtlmPasswordAuthentication</code> object against the domain controller * specified by the <code>UniAddress</code> parameter. If the credentials are * not accepted, an <code>SmbAuthException</code> will be thrown. If an error * occurs an <code>SmbException</code> will be thrown. If the credentials are * valid, the method will return without throwing an exception. See the
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt
* limitations under the License. */ package okhttp3.sse import okhttp3.Response abstract class EventSourceListener { /** * Invoked when an event source has been accepted by the remote peer and may begin transmitting * events. */ open fun onOpen( eventSource: EventSource, response: Response, ) { } open fun onEvent( eventSource: EventSource,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 07:51:20 UTC 2025 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java
SmbFile file = mock(SmbFile.class); when(file.getAttributes()).thenReturn(SmbFile.ATTR_NORMAL); assertTrue(filter.accept(file), "Attributes match should be accepted"); verify(file, times(1)).getAttributes(); } @Test public void testAcceptReturnsFalseWhenAttributesDoNotMatch() throws Exception { SmbFile file = mock(SmbFile.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/OneSizeTestContainerGenerator.java
import com.google.common.collect.testing.features.CollectionSize; import java.util.Collection; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * The subject-generator interface accepted by Collection testers, for testing a Collection at one * particular {@link CollectionSize}. * * <p>This interface should not be implemented outside this package; {@linkRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
assertFalse(it.hasNext(), "No more elements expected"); assertNull(it.next(), "next() returns null when exhausted in this implementation"); } @Test @DisplayName("With filter: only accepted entries are returned and filter is invoked per entry") void withFilter_acceptsSome_skipsOthers_andVerifiesInteractions() throws Exception { SmbFile parent = newParent();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0)