Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 169 for reevaluate (0.17 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/LocalComponentGraphResolveState.java

         *
         * @see org.gradle.api.internal.artifacts.ivyservice.moduleconverter.DefaultRootComponentMetadataBuilder.MetadataHolder#tryCached(ComponentIdentifier)
         */
        void reevaluate();
    
        @Override
        LocalComponentGraphSelectionCandidates getCandidatesForGraphVariantSelection();
    
        interface LocalComponentGraphSelectionCandidates extends GraphSelectionCandidates {
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt

      @Test fun get() {
        // These tests wont actually run before Android 8.0 as per
        // https://github.com/mannodermaus/android-junit5
        // Raised https://github.com/mannodermaus/android-junit5/issues/228 to reevaluate
        val androidMorEarlier = Build.VERSION.SDK_INT <= 23
    
        val clientBuilder = OkHttpClient.Builder()
    
        if (androidMorEarlier) {
          val cert: X509Certificate =
            """
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/DefaultRootComponentMetadataBuilderTest.groovy

                MutationValidator.MutationType.ARTIFACTS,
                MutationValidator.MutationType.USAGE,
                MutationValidator.MutationType.HIERARCHY
            ]
        }
    
        def "does not reevaluate component metadata when #mutationType change"() {
            componentIdentifierFactory.createComponentIdentifier(_) >> {
                new DefaultModuleComponentIdentifier(mid, '1.0')
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. pkg/test/util/tmpl/evaluate.go

    	tpl, err := file.AsString(filePath)
    	if err != nil {
    		return "", err
    	}
    	return Evaluate(tpl, data)
    }
    
    // EvaluateOrFail calls Evaluate and fails tests if it returns error.
    func EvaluateOrFail(t test.Failer, tpl string, data any) string {
    	t.Helper()
    	s, err := Evaluate(tpl, data)
    	if err != nil {
    		t.Fatalf("tmpl.EvaluateOrFail: %v", err)
    	}
    	return s
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/EvaluationContextTest.groovy

            result == "result"
        }
    
        def "fallback value is used when circular evaluation detected"() {
            given:
            def evaluation = Mock(TestEvaluation)
    
            when:
            def result = context().evaluate(owner) {
                context().tryEvaluate(this.owner, "fallback", evaluation)
            }
    
            then:
            0 * evaluation.evaluate()
            result == "fallback"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:33 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/parsingUtil.kt

        evaluate: FailureCollectorContext.() -> ElementResult<T>
    ): ElementResult<T> {
        val context = FailureCollectorContext()
        return evaluate(context)
    }
    
    
    internal
    fun <T> syntacticOrFailure(
        evaluate: FailureCollectorContext.() -> SyntacticResult<T>
    ): SyntacticResult<T> {
        val context = FailureCollectorContext()
        return evaluate(context)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestPluginTest.groovy

            when:
            project.pluginManager.apply(CppApplicationPlugin)
            project.evaluate()
    
            then:
            project.unitTest.testedComponent.orNull == project.application
        }
    
        def "registers a component for the test suite"() {
            when:
            project.pluginManager.apply(CppUnitTestPlugin)
            project.evaluate()
    
            then:
            project.components.test == project.unitTest
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtCompileTimeConstantProvider.kt

        public abstract fun evaluate(expression: KtExpression): KaConstantValue?
    
        public abstract fun evaluateAsAnnotationValue(expression: KtExpression): KaAnnotationValue?
    }
    
    public typealias KtCompileTimeConstantProvider = KaCompileTimeConstantProvider
    
    public interface KaCompileTimeConstantProviderMixIn : KaSessionMixIn {
        /**
         * Tries to evaluate the provided expression.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/configuration/project/LifecycleProjectEvaluatorTest.groovy

            given:
            state.configured()
    
            when:
            evaluate()
    
            then:
            state.executed
            0 * delegate._
    
            and:
            operations.empty
        }
    
        void "nothing happens if project is being configured now"() {
            given:
            state.toBeforeEvaluate()
    
            when:
            evaluate()
    
            then:
            state.configuring
            0 * delegate._
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/buildlifecycle/projectEvaluateEvents/groovy/build.gradle

    // tag::after-evaluate[]
    gradle.beforeProject { project ->
        project.ext.set("hasTests", false)
    }
    
    gradle.afterProject { project ->
        if (project.ext.has("hasTests") && project.ext.get("hasTests") as Boolean) {
            def projectString = project.toString()
            println "Adding test task to $projectString"
            project.task('test') {
                doLast {
                    println "Running tests for $projectString"
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 483 bytes
    - Viewed (0)
Back to top