Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for disallowChanges (0.32 sec)

  1. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/tasks/JacocoReport.java

        private final JacocoReportsContainer reports;
    
        public JacocoReport() {
            super();
            projectName.value(getProject().getName()).disallowChanges();
            reports = getInstantiator().newInstance(JacocoReportsContainerImpl.class, this, getCallbackActionDecorator());
        }
    
        /**
         * The reported project name.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/FileSystemPropertySpec.groovy

        }
    
        def "cannot set value using file when changes disallowed"() {
            given:
            def file = tmpDir.file("thing")
            def prop = propertyWithNoValue()
            prop.disallowChanges()
    
            when:
            prop.set(file)
    
            then:
            def e = thrown(IllegalStateException)
            e.message == 'The value for this property cannot be changed any further.'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top