Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for nulla (0.15 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy

            _ * superClassMetaData.superClass >> null
            _ * superClassMetaData.interfaces >> [interfaceMetaData]
            1 * interfaceMetaData.findDeclaredMethod('method()') >> overriddenMethod
        }
    
        def hasNoOverriddenMethodWhenNoSuperClass() {
            when:
            def m = method.overriddenMethod
    
            then:
            m == null
            _ * owner.superClass >> null
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.6K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

                return null
            }
    
            if (!changed(member)) {
                return null
            }
    
            Optional<CtClass> oldClass = member.oldClass
            Optional<CtClass> newClass = member.newClass
            if (!oldClass.isPresent() || !newClass.isPresent()) {
                // breaking change would be reported
                return null
            }
    
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        void addClassExtension(ClassExtensionDoc extensionDoc) {
            classExtensions.add(extensionDoc)
        }
    
        List<ClassDoc> getSuperTypes() {
            return superClass == null ? interfaces : [superClass] + interfaces
        }
    
        Element getClassSection() { return classSection }
    
        Element getPropertiesTable() { return propertiesTable }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

            cl.delegate = builder
            cl.call()
            def firstChild = parent.getFirstChild()
            builder.elements.each { element ->
                parent.insertBefore(element, firstChild)
            }
        }
    
        public static void addBefore(Node sibling, Closure cl) {
            DomBuilder builder = new DomBuilder(sibling.ownerDocument, null)
            cl.delegate = builder
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Aug 11 15:32:19 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            1 * action.execute(value2)
            0 * action._
        }
    
        def canPersistMetaData() {
            TestDomainObject value = new TestDomainObject('a')
            File file = Files.createTempFile(tmpDir.toPath(), null, null).toFile()
            repository.put('class', value)
    
            when:
            repository.store(file)
            def newRepo = new SimpleClassMetaDataRepository<TestDomainObject>()
            newRepo.load(file)
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            // Tests will not supply these
            this.apiChangesJsonFile = params.get("apiChangesJsonFile") ? new File(params.get("apiChangesJsonFile") as String) : null
            this.projectRootDir = params.get("projectRootDir") ? new File(params.get("projectRootDir") as String) : null
        }
    
        protected BinaryCompatibilityRepository getRepository() {
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            _ * property.signature >> "$name-signature"
            _ * javadocConverter.parse(property, !null) >> ({[parse("<para>${args.comment ?: 'comment'}</para>")]} as DocComment)
            return property
        }
    
        def propertyDoc(Map<String, ?> args = [:], String name) {
            return new PropertyDoc(classMetaData(), property(name, null), [parse("<para>$name comment</para>")], args.additionalValues ?: [])
        }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                            alert("You must enter a reason to accept all changes.");
                            return;
                        }
    
                        var textToWrite = JSON.stringify(appendErrorCorrections(reason), null, 4) + "\\n";
                        var textFileAsBlob = new Blob([textToWrite], {type:'text/plain'});
                        var fileNameToSaveAs = 'accepted-public-api-changes.json';
    
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

            super(params)
        }
    
        @Override
        Violation maybeViolation(JApiCompatibility member) {
    
            if (isNewOrRemoved(member) || !(member instanceof JApiMethod)) {
                return null
            }
    
            JApiMethod method = (JApiMethod) member
    
            def metadata = KotlinMetadataQueries.INSTANCE
    
            def oldMethod = method.oldMethod.get()
            def newMethod = method.newMethod.get()
    
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

                <para>comment</para>
            </section>
        </section>''')
        }
    
        def linkRenderer() {
            LinkRenderer renderer = Mock()
            _ * renderer.link(!null, !null) >> {
                args -> parse("<classname>${args[0].signature}</classname>", document)
            }
            return renderer
        }
    
        def classDoc(Map<String, ?> args = [:], String name) {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 40.8K bytes
    - Viewed (0)
Back to top