Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1261 - 1270 of 1,763 for single (0.05 seconds)

  1. docs/works_with_okhttp.md

     * [OkHttp Idling Resource](https://github.com/JakeWharton/okhttp-idling-resource): An Espresso IdlingResource for OkHttp.
     * [okhttp-client-mock](https://github.com/gmazzo/okhttp-client-mock): A simple OKHttp client mock, using a programmable request interceptor.
     * [OkHttp Profiler](https://plugins.jetbrains.com/plugin/11249-okhttp-profiler): An IntelliJ plugin for monitoring OkHttp calls.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Nov 26 07:59:38 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

                return resource;
            }
        }
    
        @BeforeEach
        void setUp() {
            lenient().when(fileEntry.getName()).thenReturn("test");
        }
    
        @Test
        @DisplayName("Iterator without filter - simple case")
        void iteratorWithoutFilter() {
            // Setup: constructor calls advance() once
            when(delegate.hasNext()).thenReturn(true, false);
            when(delegate.next()).thenReturn(fileEntry);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                throws Exception {
            File localRepoDir = new File(projectBuildingRequest.getLocalRepository().getBasedir());
            LocalRepository localRepo = new LocalRepository(localRepoDir, "simple");
    
            RepositorySystemSession session = new MavenSessionBuilderSupplier(repositorySystem)
                    .get()
                    .withLocalRepositories(localRepo)
                    .build();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. scripts/tests/test_translation_fixer/test_complex_doc/data/translated_doc.md

    ```python
    # Этот комментарий НЕ будет сохранён
    def hello_world():
        print("Hello, world")  # Как и этот комментарий
    ```
    
    ````
    
    # Включения кода { #code-includes }
    
    ## Простые включения кода { #simple-code-includes }
    
    {* ../../docs_src/python_types/tutorial001_py310.py *}
    
    {* ../../docs_src/python_types/tutorial002_py310.py *}
    
    
    ## Включения кода с подсветкой { #code-includes-with-highlighting }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

     * ListeningExecutorService.submit} on a service obtained from {@link
     * MoreExecutors#listeningDecorator}.
     *
     * @author Sven Mawson
     * @since 1.0
     */
    @GwtIncompatible
    public class ListenableFutureTask<V extends @Nullable Object> extends FutureTask<V>
        implements ListenableFuture<V> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 10 11:51:21 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/AbstractIterator.java

       * elements left in the iteration.
       *
       * @return {@code null}; a convenience so your {@code computeNext} implementation can use the
       *     simple statement {@code return endOfData();}
       */
      @CanIgnoreReturnValue
      protected final @Nullable T endOfData() {
        state = State.DONE;
        return null;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            when(parent.getLocator()).thenReturn(parentLocator);
            // Make the parent appear as a workgroup to use the simpler URL code-path
            when(parentLocator.isWorkgroup()).thenReturn(true);
        }
    
        /** Simple implementation of FileEntry for controlled inputs in tests. */
        private static final class StubFileEntry implements FileEntry {
            private final String name;
            private final int type;
    
    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)
  8. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            verify(handle).getSession();
        }
    
        @Test
        @DisplayName("Scenario: verify interaction order across multiple calls")
        void verifyInteractionOrder() throws Exception {
            // Arrange: stub simple returns
            when(handle.hasCapability(anyInt())).thenReturn(true);
    
            // Act: perform a series of calls to verify order
            handle.ensureDFSResolved();
            handle.hasCapability(7);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/testing.md

    Create functions with a name that starts with `test_` (this is standard `pytest` conventions).
    
    Use the `TestClient` object the same way as you do with `httpx`.
    
    Write simple `assert` statements with the standard Python expressions that you need to check (again, standard `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *}
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  10. CLAUDE.md

    3. Add comprehensive tests
    4. Run `mvn formatter:format license:format test`
    5. Update JavaDoc for changed/new classes
    
    **Principles:**
    - Avoid over-engineering - keep solutions simple
    - Only expose necessary public APIs
    - Validate parameters with `Objects.requireNonNull()`
    - Provide detailed error messages with context
    - Add logging with contextual information
    
    ### Resource Files
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:53 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top