Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 171 for unbound (0.29 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/UnboundRulesProcessorTest.groovy

    import org.gradle.model.internal.core.ModelPath
    import org.gradle.model.internal.core.ModelReference
    import org.gradle.model.internal.report.unbound.UnboundRule
    import org.gradle.model.internal.report.unbound.UnboundRuleInput
    import org.gradle.model.internal.report.unbound.UnboundRulesReporter
    import org.gradle.util.internal.ConfigureUtil
    
    import static org.gradle.util.internal.TextUtil.normaliseLineSeparators
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/UnboundModelRulesException.java

    import org.gradle.model.internal.report.unbound.UnboundRule;
    import org.gradle.model.internal.report.unbound.UnboundRulesReporter;
    
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.util.List;
    
    public class UnboundModelRulesException extends GradleException {
    
        private static final String MESSAGE = "The following model rules could not be applied due to unbound inputs and/or subjects:";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/ide/problems-api/src/test/groovy/org/gradle/api/problems/internal/DefaultProblemTest.groovy

    import org.gradle.internal.deprecation.Documentation
    import org.gradle.internal.operations.OperationIdentifier
    import spock.lang.Specification
    
    class DefaultProblemTest extends Specification {
        def "unbound builder result is equal to original"() {
            def additionalData = Mock(AdditionalData)
            def problem = createTestProblem(severity, additionalData)
    
            def newProblem = problem.toBuilder().build()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingValidationIntegrationTest.groovy

                include ":used", ":unused"
            """
    
            file("unused/build.gradle") << """
                class Rules extends RuleSource {
                    @Mutate
                    void unbound(ModelMap<Task> tasks, String unbound) {
                    }
                }
    
                apply type: Rules
            """
    
            then:
            succeeds ":used:tasks"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/UnboundRulesProcessor.java

    import org.gradle.model.internal.core.ModelNode;
    import org.gradle.model.internal.core.ModelPath;
    import org.gradle.model.internal.core.ModelReference;
    import org.gradle.model.internal.report.unbound.UnboundRule;
    import org.gradle.model.internal.report.unbound.UnboundRuleInput;
    import org.gradle.util.internal.CollectionUtils;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    
    @ThreadSafe
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/report/unbound/UnboundRulesReporterTest.groovy

     */
    
    package org.gradle.model.internal.report.unbound
    
    import org.gradle.util.internal.TextUtil
    import spock.lang.Specification
    
    class UnboundRulesReporterTest extends Specification {
    
        def output = new StringWriter()
    
        def reporter = new UnboundRulesReporter(new PrintWriter(output), "> ")
    
        def "reports on unbound rules"() {
            when:
            reporter.reportOn([
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelNodeInternalTest.groovy

        }
    
        def "should not fire for unbound binders"() {
            setup:
            ModelNodeInternal modelNode = new TestNode(registration)
            def executionBinder = Mock(RuleBinder)
            executionBinder.isBound() >> false
    
            when:
            modelNode.notifyFired(executionBinder)
    
            then:
            AssertionError e = thrown()
            e.message == 'RuleBinder must be in a bound state'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/unbound/UnboundRulesReporter.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.model.internal.report.unbound;
    
    import com.google.common.base.Joiner;
    import javax.annotation.concurrent.NotThreadSafe;
    
    import java.io.PrintWriter;
    
    @NotThreadSafe
    public class UnboundRulesReporter {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompilerFacility.kt

    import org.jetbrains.kotlin.resolve.diagnostics.Diagnostics
    import org.jetbrains.kotlin.resolve.source.PsiSourceFile
    import org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedContainerSource
    
    /**
     * Whether unbound IR symbols should be stubbed instead of linked.
     * This should be enabled if the compiled file could refer to symbols defined in another file of the same module.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/unbound/UnboundRuleInput.java

        private final String type;
        private final boolean bound;
        private final String description;
        private final ImmutableList<String> suggestedPaths;
        private final String scope;
    
        public String getPath() {
            return path;
        }
    
        public String getType() {
            return type;
        }
    
        public boolean isBound() {
            return bound;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top