Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for InvalidNameException (0.35 sec)

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

            then:
            def e = thrown(ModelPath.InvalidNameException)
            e.message =~ "empty string"
    
            when:
            ModelPath.validateName("ΓΌ")
    
            then:
            e = thrown(ModelPath.InvalidNameException)
            e.message =~ "first character"
    
            when:
            ModelPath.validateName(" ")
    
            then:
            e = thrown(ModelPath.InvalidNameException)
            e.message =~ "first character"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPath.java

        }
    
        public static class InvalidNameException extends GradleException {
            public InvalidNameException(String message) {
                super(message);
            }
        }
    
        @Contextual
        public static class InvalidPathException extends GradleException {
            public InvalidPathException(String message, InvalidNameException e) {
                super(message, e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskCreationIntegrationTest.groovy

            """
    
            run taskName
    
            then:
            executed ":$taskName"
    
            when:
            ModelPath.validateName(taskName)
    
            then:
            thrown(ModelPath.InvalidNameException)
        }
    
        def "tasks are visible to rules using their public type"(){
            given:
            buildFile << """
    tasks.create(name: 'taskContainerTask', type: DefaultTask) { }
    
    task standardTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 18 22:50:47 UTC 2020
    - 16.9K bytes
    - Viewed (0)
  4. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.model.internal.core.ModelPath$Cache> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ModelPath.java:0)
    Class <org.gradle.model.internal.core.ModelPath$InvalidNameException> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ModelPath.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top