Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 115 for coverageOs (0.07 seconds)

  1. tests/test_compat.py

        # For coverage
        # TODO: in theory this would allow declaring types that could be lists of bytes
        # to be read from files and other types, but I'm not even sure it's a good idea
        # to support it as a first class "feature"
        assert is_bytes_sequence_annotation(list[str] | list[bytes])
    
    
    def test_is_uploadfile_sequence_annotation():
        # For coverage
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  2. internal/dsync/.gitignore

    dsync.test
    coverage.txt
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 29 bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                val groups =
                    (scenarioObj["groups"] as List<Map<String, Any>>).map { groupObj ->
                        val testProject = groupObj["testProject"] as String
                        val coverage =
                            (groupObj["coverage"] as Map<String, List<String>>)
                                .map { (key, value) ->
                                    val performanceTestType = PerformanceTestType.valueOf(key.uppercase())
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 29 01:37:22 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  4. README.md

    # Run specific test class
    mvn test -Dtest=SuggesterTest
    
    # Run with verbose output
    mvn surefire:test -Dmaven.surefire.debug=true
    ```
    
    ### Running Tests with Coverage
    
    ```bash
    mvn clean jacoco:prepare-agent test jacoco:report
    ```
    
    Coverage reports are generated in `target/site/jacoco/`.
    
    ## Common Use Cases
    
    ### E-commerce Search
    
    ```java
    // Product search suggestions
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Aug 31 03:31:14 GMT 2025
    - 12.1K bytes
    - Click Count (1)
  5. .gitignore

    TODO*
    documents
    coverage.txt
    _book
    .idea
    vendor
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jul 14 12:05:22 GMT 2022
    - 56 bytes
    - Click Count (0)
  6. tests/test_dependencies_utils.py

    from fastapi.dependencies.utils import get_typed_annotation
    
    
    def test_get_typed_annotation():
        # For coverage
        annotation = "None"
        typed_annotation = get_typed_annotation(annotation, globals())
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 241 bytes
    - Click Count (0)
  7. tests/test_stream_bare_type.py

    import json
    from typing import AsyncIterable, Iterable  # noqa: UP035 to test coverage
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
    
    
    app = FastAPI()
    
    
    @app.get("/items/stream-bare-async")
    async def stream_bare_async() -> AsyncIterable:
        yield {"name": "foo"}
    
    
    @app.get("/items/stream-bare-sync")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

        @Test
        void testWriteParameterWordsWireFormat() {
            // This method is empty, just call it for coverage
            assertEquals(0, response.writeParameterWordsWireFormat(new byte[0], 0));
        }
    
        @Test
        void testWriteBytesWireFormat() {
            // This method is empty, just call it for coverage
            assertEquals(0, response.writeBytesWireFormat(new byte[0], 0));
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  9. tests/test_fastapi_cli.py

    import sys
    from unittest.mock import patch
    
    import fastapi.cli
    import pytest
    
    
    def test_fastapi_cli():
        result = subprocess.run(
            [
                sys.executable,
                "-m",
                "coverage",
                "run",
                "-m",
                "fastapi",
                "dev",
                "non_existent_file.py",
            ],
            capture_output=True,
            encoding="utf-8",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 02 04:02:38 GMT 2025
    - 866 bytes
    - Click Count (0)
  10. tests/test_depends_hashable.py

    # Ref: https://github.com/fastapi/fastapi/pull/14320
    
    from fastapi import Depends, Security
    
    
    def dep():
        pass
    
    
    def test_depends_hashable():
        dep()  # just for coverage
        d1 = Depends(dep)
        d2 = Depends(dep)
        d3 = Depends(dep, scope="function")
        d4 = Depends(dep, scope="function")
    
        s1 = Security(dep)
        s2 = Security(dep)
    
        assert hash(d1) == hash(d2)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Nov 19 16:50:18 GMT 2025
    - 596 bytes
    - Click Count (0)
Back to Top