Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for given (0.12 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

        def getFailsForUnknownClass() {
            given:
            repository.put('unkown', new TestDomainObject('unknown'))
    
            when:
            repository.get('unknown')
    
            then:
            UnknownDomainObjectException e = thrown()
            e.message == 'No meta-data is available for class \'unknown\'. Did you mean? [unkown]'
        }
    
        def getFailsForWrongPackage() {
            given:
    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/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

        }
    
        def cleanup() {
            repository?.close()
        }
    
        def "each new #apiElement requires a @Incubating annotation"() {
            given:
            JApiCompatibility jApiType = getProperty(jApiTypeName)
            def rule = withContext(new IncubatingMissingRule([:]))
            def annotations = []
            jApiType.annotations >> annotations
    
            when:
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  3. .github/workflows/CheckBadMerge.groovy

            } else {
                println("$commit is not a merge commit we're looking for. Parents: $parentCommits, p1Branches: $p1Branches, p2Branches: $p2Branches")
            }
        }
    
        /**
         * Check if the given file is "bad": we should only use the release note from the master branch.
         * This means that every line in the merge commit version should be either:
         * - Only exists on `master`.
         * - Exists on `master` and `releaseX`.
    Groovy
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
Back to top