Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 560 for detects (0.24 sec)

  1. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/TrivialChangeDetectorTest.groovy

        def detector = new TrivialChangeDetector(itemComparator, changeFactory, delegate)
    
        def change = Mock(Change)
        def visitor = Mock(ChangeVisitor)
    
        def "detects no change between empty current and previous"() {
            when:
            detector.visitChangesSince([:], [:], "test", visitor)
            then:
            0 * _
        }
    
        def "detects no change between the same one item"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultOverlappingOutputDetectorTest.groovy

                "output", FileSystemSnapshot.EMPTY
            )
            expect:
            detector.detect(previousOutputFiles, outputFilesBeforeExecution) == null
        }
    
        def "detects overlap when there is a stale root"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/compile/CachingAndIncrementalJavaModuleCompileIntegrationTest.groovy

        def setup() {
            buildFile << """
                dependencies {
                    api 'org:moda:1.0'
                }
            """
        }
    
        def "detects changes in module-info file"() {
            when:
            publishJavaModule('moda')
            consumingModuleInfo()
            consumingModuleClass('moda.ModaClass')
    
            then:
            fails ':compileJava'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/AnnotationProcessorDetectorTest.groovy

            0 * _
        }
    
        AnnotationProcessorDetector detector = new AnnotationProcessorDetector(new TestFileContentCacheFactory(), logger, true)
    
        def "detects no processors in broken jars"() {
            given:
            def jar = tmpDir.file("classes.jar")
            jar << "broken"
            def cp = files(jar)
    
            when:
            def processors = detector.detectProcessors(cp)
    
            then:
            processors == [:]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. pkg/volume/metrics_block.go

    func NewMetricsBlock(device string) MetricsProvider {
    	return &metricsBlock{device}
    }
    
    // See MetricsProvider.GetMetrics
    // GetMetrics detects the size of the BlockMode volume for the device node
    // where the Volume is attached.
    //
    // Note that only the capacity of the device can be detected with standard
    // tools. Storage systems may have more information that they can provide by
    // going through specialized APIs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 19 14:33:37 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesByGradleFileWatchingIntegrationTest.groovy

    import org.gradle.integtests.fixtures.DirectoryBuildCacheFixture
    
    @LocalOnly
    class ChangesByGradleFileWatchingIntegrationTest extends AbstractFileSystemWatchingIntegrationTest implements DirectoryBuildCacheFixture {
    
        def "detects when outputs are removed for tasks without sources"() {
            buildFile << """
                apply plugin: 'base'
    
                abstract class Producer extends DefaultTask {
                    @InputDirectory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalTaskWithNormalizedInputsIntegrationTest.groovy

        private static final String INCREMENTAL_TASK_NAME = "incrementalTask"
    
        @Issue("https://github.com/gradle/gradle/issues/9320")
        def "incremental task with NAME_ONLY input (matching file names and content) detects changed input"() {
            def inputs = folderNames().collect { file("${it}/input.txt").createFile() }
            def modifiedInput = inputs[1]
    
            buildFile << incrementalTaskWithNameOnlyInputFiles(inputs)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 30 07:31:26 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  8. releasenotes/notes/29855.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: istioctl
    issue:
    - 29607
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 08 15:20:18 UTC 2021
    - 169 bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaClassChangeCliIncrementalCompilationIntegrationTest.groovy

        }
    
        /**
         * Test scenario from {@link BaseIncrementalCompilationAfterFailureIntegrationTest#detects deletion of a source base class that leads to compilation failure but keeps old files()}
         * but for the CLI compiler where incremental compilation after failure is not supported.
         */
        def "detects deletion of a source base class that leads to compilation failure"() {
            def a = source "class A {}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/ComponentModuleMetadataContainerTest.groovy

        }
    
        def "detects cycles early"() {
            replacements.module("o:a").replacedBy("o:b")
            when: replacements.module("o:b").replacedBy("o:a")
    
            then:
            def ex = thrown(InvalidUserDataException)
            ex.message == "Cannot declare module replacement o:b->o:a because it introduces a cycle: o:b->o:a->o:b"
        }
    
        def "detects transitive cycles early"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top