Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,343 for detects (0.15 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/internal/Maven3CompatDependenciesValidator.java

    import org.apache.maven.plugin.PluginValidationManager;
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.resolution.ArtifactDescriptorResult;
    
    /**
     * Detects Maven3 plugins using maven-compat Maven2 compatibility layer.
     *
     * @since 3.9.3
     */
    @Singleton
    @Named
    class Maven3CompatDependenciesValidator extends AbstractMavenPluginDependenciesValidator {
    
        @Inject
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 09:51:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/CaptureIncrementalStateBeforeExecutionStepTest.groovy

            1 * outputSnapshotter.snapshotOutputs(work, _) >> { throw failure }
            interaction { snapshotState() }
            0 * _
    
            assertOperation(ex)
        }
    
        def "detects overlapping outputs when instructed"() {
            def previousExecutionState = Mock(PreviousExecutionState)
            def previousOutputSnapshot = Mock(FileSystemSnapshot)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DefaultInstantiatorFactoryTest.groovy

            then:
            def e = thrown(IllegalArgumentException)
            e.message == 'Annotation @Annotation3 is not a registered injection annotation.'
        }
    
        def "detects properties injected by annotation"() {
            def scheme = instantiatorFactory.injectScheme([Annotation1, Annotation2])
            when:
            def instanceFactory = scheme.forType(UsesAnnotation1ForInjection)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. src/time/internal_test.go

    	// the entire period before the first update.
    	t := newTimer(runtimeNano(), 1<<63-1, empty, nil, nil)
    	defer t.Stop()
    
    	// If this test fails, we will either throw (when siftdownTimer detects
    	// bad when on update), or other timers will hang (if the timer in a
    	// heap is in a bad state). There is no reliable way to test this, but
    	// we wait on a short timer here as a smoke test (alternatively, timers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/core-plugins/java_gradle_plugin.adoc

    Other plugins auto apply the Java Gradle Plugin, like the link:https://plugins.gradle.org/plugin/com.gradle.plugin-publish[Plugin Publishing Plugin].
    
    === Maven Publish Plugin
    
    When the Java Gradle Plugin (`java-gradle-plugin`) detects that the Maven Publish Plugin (`maven-publish`) is also applied by the build, it will automatically configure the following link:{groovyDslPath}/org.gradle.api.publish.maven.MavenPublication.html[MavenPublications]:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

    import org.gradle.test.fixtures.file.TestFile
    
    import javax.inject.Inject
    
    abstract class AbstractPluginValidationIntegrationSpec extends AbstractIntegrationSpec implements ValidationMessageChecker {
    
        def "detects missing annotations on Java properties"() {
            javaTaskSource << """
                import org.gradle.api.*;
                import org.gradle.api.tasks.*;
                import org.gradle.work.*;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/util/ports/ReservedPortRangeTest.groovy

            def port3 = range.allocate()
    
            then:
            port2 == next(port1)
            port3 == next(port2)
    
            and:
            3 * portDetector.isAvailable(_) >> { true }
        }
    
        def "detects when ports are unavailable" () {
            def reserved = []
    
            when:
            8.times {
                reserved.add(range.allocate())
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 06 13:37:30 UTC 2015
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    		}
    	}
    }
    
    // checkCopyLocksReturnStmt detects lock copy in return statement
    func checkCopyLocksReturnStmt(pass *analysis.Pass, rs *ast.ReturnStmt) {
    	for _, x := range rs.Results {
    		if path := lockPathRhs(pass, x); path != nil {
    			pass.ReportRangef(x, "return copies lock value: %v", path)
    		}
    	}
    }
    
    // checkCopyLocksCallExpr detects lock copy in the arguments to a function call
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/projectmodule/DefaultProjectDependencyPublicationResolverTest.groovy

            then:
            def e = thrown(InvalidUserDataException)
            e.message == "Circular dependency detected while resolving component coordinates. Found the following components: foo, bar"
        }
    
        def "detects multiple components with the same coordinates"() {
            given:
            def child1 = Stub(TestComponent)
            def child2 = Stub(TestComponent)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 01:37:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/internal/MavenScopeDependenciesValidator.java

    import org.apache.maven.plugin.PluginValidationManager;
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.resolution.ArtifactDescriptorResult;
    
    /**
     * Detects Maven3 dependencies scope.
     *
     * @since 3.9.3
     */
    @Singleton
    @Named
    class MavenScopeDependenciesValidator extends AbstractMavenPluginDependenciesValidator {
    
        @Inject
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 09:51:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top