Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NULL (0.12 sec)

  1. 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)
  2. 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 May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                    def newNullability = newParametersNullability[idx]
                    if (oldNullability && !newNullability) {
                        errors << "Parameter $idx from null accepting to non-null accepting breaking change".toString()
                    } else if (!oldNullability && newNullability) {
                        warnings << "Parameter $idx nullability changed from non-nullable to nullable".toString()
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Apr 13 10:04:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

                    @Override
                    void method() { }
                }
            """
    
            then:
            incubatingMissingRule.maybeViolation(jApiType) == null
            sinceMissingRule.maybeViolation(jApiType) == null
    
            where:
            apiElement | jApiTypeName
            'method'   | 'jApiMethod'
            'field'    | 'jApiField'
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
Back to top