Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 361 for asSnapshot (0.16 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/AggregatingIncrementalAnnotationProcessingIntegrationTest.groovy

        }
    
        def "generated files are recompiled when any annotated file changes"() {
            def a = java "@Service class A {}"
            java "@Service class B {}"
            java "class Unrelated {}"
    
            outputs.snapshot { run "compileJava" }
    
            when:
            a.text = "@Service class A { public void foo() {} }"
            run "compileJava"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 29 15:12:07 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildConfigurationAttributesResolveIntegrationTest.groovy

      - bar
      - foo
    All of them match the consumer attributes:
      - Variant 'bar' capability com.acme.external:external:2.0-SNAPSHOT declares attribute 'flavor' with value 'blue'
      - Variant 'foo' capability com.acme.external:external:2.0-SNAPSHOT declares attribute 'flavor' with value 'red'""")
        }
    
        def "context travels down to transitive dependencies with typed attributes using plugin"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractService.java

              case NEW:
                snapshot = new StateSnapshot(TERMINATED);
                enqueueTerminatedEvent(NEW);
                break;
              case STARTING:
                snapshot = new StateSnapshot(STARTING, true, null);
                enqueueStoppingEvent(STARTING);
                doCancelStart();
                break;
              case RUNNING:
                snapshot = new StateSnapshot(STOPPING);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

            Snapshot now = snapshot();
            assertNotEquals(String.format("contents of %s have not changed", this), snapshot.hash, now.hash);
        }
    
        public void assertContentsHaveNotChangedSince(Snapshot snapshot) {
            Snapshot now = snapshot();
            assertEquals(String.format("contents of %s has changed", this), snapshot.hash, now.hash);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenDynamicResolveIntegrationTest.groovy

            def snapshot = file('libs/projectA-1.0.jar').snapshot()
    
            when:
            server.resetExpectations()
            and:
            run 'retrieve'
    
            then:
            file('libs/projectA-1.0.jar').assertHasNotChangedSince(snapshot)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenHttpRepoResolveIntegrationTest.groovy

            then:
            file('libs').assertHasDescendants('projectA-1.0.jar', 'projectB-1.0.jar')
            def snapshot = file('libs/projectA-1.0.jar').snapshot()
    
            when:
            server.resetExpectations()
            and:
            run 'retrieve'
    
            then:
            file('libs/projectA-1.0.jar').assertHasNotChangedSince(snapshot)
        }
    
        void "fails when configured with AwsCredentials"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/IsolatableSerializerRegistry.java

    import org.gradle.internal.snapshot.impl.IsolatedEnumValueSnapshot;
    import org.gradle.internal.snapshot.impl.IsolatedImmutableManagedValue;
    import org.gradle.internal.snapshot.impl.IsolatedJavaSerializedValueSnapshot;
    import org.gradle.internal.snapshot.impl.IsolatedList;
    import org.gradle.internal.snapshot.impl.IsolatedManagedValue;
    import org.gradle.internal.snapshot.impl.IsolatedMap;
    import org.gradle.internal.snapshot.impl.IsolatedProperties;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy

    import org.gradle.internal.snapshot.CaseSensitivity
    import org.gradle.internal.snapshot.DirectorySnapshot
    import org.gradle.internal.snapshot.FileSystemLocationSnapshot
    import org.gradle.internal.snapshot.RegularFileSnapshot
    import org.gradle.internal.snapshot.SnapshotHierarchy
    import org.gradle.internal.snapshot.impl.DirectorySnapshotter
    import org.gradle.internal.snapshot.impl.DirectorySnapshotterStatistics
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/RecoverFromBrokenResolutionIntegrationTest.groovy

            then:
            executer.withArgument("--offline")
            run 'retrieve'
            and:
            file('libs/projectA-1.0-SNAPSHOT.jar').assertIsCopyOf(module.artifact.file)
        }
    
        @ToBeFixedForConfigurationCache
        def "can run offline mode after connection problem with repo url using unique snapshot version"() {
            given:
            buildFileWithSnapshotDependency()
            noAuthorizationRepo()
            publishedMavenModule()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractService.java

              case NEW:
                snapshot = new StateSnapshot(TERMINATED);
                enqueueTerminatedEvent(NEW);
                break;
              case STARTING:
                snapshot = new StateSnapshot(STARTING, true, null);
                enqueueStoppingEvent(STARTING);
                doCancelStart();
                break;
              case RUNNING:
                snapshot = new StateSnapshot(STOPPING);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.7K bytes
    - Viewed (0)
Back to top