- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,260 for rejects (0.3 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
assertTrue(result, "Filter should accept any provided name"); verifyNoInteractions(mockDir); } /** * Happy-path: a filter that rejects any name. */ @ParameterizedTest @DisplayName("rejects every provided name") @ValueSource(strings = { "file.txt", "data.DAT", "a", "", " " }) void rejectsAnyNameReturnsFalse(String input) throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
@Test @DisplayName("createEncryptionContext rejects when SMB2/3 not negotiated") void createEncryptionContext_rejects_noNegotiation() { assertThrows(SmbUnsupportedOperationException.class, () -> transport.createEncryptionContext(new byte[] { 1 }, null)); } @Test @DisplayName("createEncryptionContext rejects pre-SMB3 dialect")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
architecture/build-execution-model.md
3. If the daemon is not able to run the request, for example it is already running a request or is shutting down, it rejects the request. The client starts again. 4. The daemon runs the request, sending back data such as logging output or tooling API events and intermediate models while doing so.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jun 12 09:50:57 GMT 2025 - 907 bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java
import java.util.Set; import okhttp3.CertificatePinner; import okhttp3.Interceptor; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class CheckHandshake { /** Rejects otherwise-trusted certificates. */ private static final Interceptor CHECK_HANDSHAKE_INTERCEPTOR = new Interceptor() { final Set<String> denylist = Collections.singleton(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
verify(treeHandle, times(1)).release(); } @Test @DisplayName("Iterator should handle filter that rejects all entries") void testIterator_FilterRejectsAll() throws Exception { // Given: A filter that rejects everything when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP); when(locator.getURL()).thenReturn(createSmbURL("smb://"));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
// negative size -> reject when(smbFile.length()).thenReturn(-1L); assertFalse(filter.accept(smbFile), "Negative size should be rejected"); verify(smbFile, times(1)).length(); // zero size -> reject reset(smbFile); when(smbFile.length()).thenReturn(0L); assertFalse(filter.accept(smbFile), "Zero size should be rejected"); verify(smbFile, times(1)).length();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
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(); StubFileEntry skip = new StubFileEntry("SKIPME", SmbConstants.TYPE_SERVER);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
assertNull(request.getUserPrincipal()); assertEquals("NTLM", request.getAuthType()); } @Test @DisplayName("constructor rejects null HttpServletRequest") void testConstructorWithNullHttpRequest(@Mock Principal mockPrincipal) { // HttpServletRequestWrapper throws IllegalArgumentException for null request
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
assertEquals(SmbPipeResource.PIPE_TYPE_RDWR, pipe.getPipeType(), "Pipe type should match constructor"); } @ParameterizedTest @DisplayName("Rejects non-IPC$ URLs") @ValueSource(strings = { "smb://server/C$/foo", "smb://server/public/foo", "smb://server/share/path" }) void rejectsNonIpcShare(String url) { // Arrange & Act & Assert
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0)