Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 380 for isSnapshot (0.06 seconds)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSnapshotMetadata.java

    /**
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    abstract class MavenSnapshotMetadata extends MavenMetadata {
        static final String SNAPSHOT = "SNAPSHOT";
    
        protected final Collection<Artifact> artifacts = new ArrayList<>();
    
        protected MavenSnapshotMetadata(Metadata metadata, Path path, Date timestamp) {
            super(metadata, path, timestamp);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from docs_src.behind_a_proxy.tutorial004_py39 import app
    
    client = TestClient(app)
    
    
    def test_main():
        response = client.get("/app")
        assert response.status_code == 200
        assert response.json() == {"message": "Hello World", "root_path": "/api/v1"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from docs_src.behind_a_proxy.tutorial003_py39 import app
    
    client = TestClient(app)
    
    
    def test_main():
        response = client.get("/app")
        assert response.status_code == 200
        assert response.json() == {"message": "Hello World", "root_path": "/api/v1"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

        }
    
        @Test
        void gregorianCalendarIsUsed() {
            String dateBefore = gregorianDate();
    
            RemoteSnapshotMetadata metadata =
                    new RemoteSnapshotMetadata(new DefaultArtifact("a:b:1-SNAPSHOT"), new Date(), null);
            metadata.merge(new Metadata());
    
            String dateAfter = gregorianDate();
    
            String ts = metadata.metadata.getVersioning().getSnapshot().getTimestamp();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_response_model/test_tutorial004.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial004_py39"),
            pytest.param("tutorial004_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.response_model.{request.param}")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/resources/poms/inheritance/module-path-not-artifactId-expected.xml

      <modelVersion>4.0.0</modelVersion>
    
      <parent>
        <groupId>inheritance</groupId>
        <artifactId>parent</artifactId>
        <version>11-SNAPSHOT</version>
      </parent>
    
      <groupId>inheritance</groupId>
      <artifactId>child-artifact-id</artifactId>
      <version>11-SNAPSHOT</version>
      <name>Model inheritance test parent: module directory != artifactId</name>
      <description>
        artifactId == "child-artifact-id"
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolver.java

     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface VersionResolver extends Service {
    
        /**
         * Resolves an artifact's meta version (if any) to a concrete version.
         * For example, resolves "1.0-SNAPSHOT" to "1.0-20090208.132618-23".
         *
         * @param session The repository session, must not be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  8. .teamcity/settings.kts

     |        |---- QuickFeedback
     |        |---- ...
     |        |---- ReadyForRelease
     |
     |----- Promotion (buildTypeId: Gradle_Master_Promotion)
     |        |----- Nightly Snapshot
     |        |----- ...
     |
     |----- Util
             |----- WarmupEc2Agent
             |----- AdHocPerformanceTest
    
    Release (buildTypeId: Gradle_Release)
     |----- Check (buildTypeId: Gradle_Release_Check)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Aug 14 07:58:26 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  9. tests/test_schema_ref_pydantic_v2.py

    from typing import Any
    
    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel, ConfigDict, Field
    
    
    @pytest.fixture(name="client")
    def get_client():
        app = FastAPI()
    
        class ModelWithRef(BaseModel):
            ref: str = Field(validation_alias="$ref", serialization_alias="$ref")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        assertThat(invalidated).isEqualTo(toInvalidate);
      }
    
      public void testEmptySimpleStats() {
        StatsCounter counter = new SimpleStatsCounter();
        CacheStats stats = counter.snapshot();
        assertThat(stats.requestCount()).isEqualTo(0);
        assertThat(stats.hitCount()).isEqualTo(0);
        assertThat(stats.hitRate()).isEqualTo(1.0);
        assertThat(stats.missCount()).isEqualTo(0);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top