Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,343 for detects (0.27 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/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompileProcessorTest.groovy

            virtualFileSystem.invalidateAll()
            graph.remove(sourceFile)
            sourceFile.delete()
        }
    
        def "detects unchanged source files"() {
            given:
            initialFiles()
    
            expect:
            checkCompile recompiled: [], removed: []
        }
    
        def "detects new source files"() {
            given:
            initialFiles()
    
            when:
            def file3 = sourceFile("file3")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:31:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractClassChangeIncrementalCompilationIntegrationTest.groovy

        }
    
        def "detects change of an isolated class"() {
            source "class A {}", "class B {}"
    
            outputs.snapshot { run language.compileTaskName }
    
            when:
            source "class A { /* change */ }"
            run language.compileTaskName
    
            then:
            outputs.recompiledClasses 'A'
        }
    
        def "detects deletion of an inner class"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top