- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for given (0.15 sec)
-
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy
} def "can clean existing API changes"() { given: jsonFile << existingAcceptedApiChanges() when: jsonFileManager.emptyAcceptedApiChanges(jsonFile) then: jsonFile.text == nonExistentAcceptedApiChanges() } def "can clean non-existing API changes"() { given: jsonFile << nonExistentAcceptedApiChanges() when:
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Aug 17 08:32:56 GMT 2021 - 2.5K bytes - Viewed (0) -
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) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/UserGuideTransformTaskTest.groovy
class UserGuideTransformTaskTest extends Specification { def replacesTabsWith4Spaces() { given: String content = "test\ttest\ttest" when: def actual = UserGuideTransformTask.normalise(content) then: actual == "test test test" } def usesUnixLineEndings() { given: String content = "test\r\ntest\r\ntest" when:
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Tue Jul 27 19:28:51 GMT 2021 - 1.9K bytes - Viewed (0) -
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) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy
javadocRoot = documentationRoot.dir('javadoc') } """ } def "finds broken section links"() { given: sampleDoc << """ === Dead Section Links This section doesn't exist: <<missing_section>> Also see this one, which is another dead link: <<other_missing_section>> """ when:
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Mon Nov 28 22:01:54 GMT 2022 - 7.8K bytes - Viewed (0) -
.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 01 11:36:15 GMT 2024 - Last Modified: Tue Dec 19 10:35:44 GMT 2023 - 6.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassExtensionDoc.groovy
* limitations under the License. */ package gradlebuild.docs.dsl.docbook.model /** * Represents the documentation model for extensions contributed by a given plugin. */ class ClassExtensionDoc { private final Set<ClassDoc> mixinClasses = [] private final Map<String, ClassDoc> extensionClasses = [:] private final String pluginId final ClassDoc targetClass
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.5K bytes - Viewed (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy
@TempDir File tmpDir def setup() { format.timeZone = TimeZone.getTimeZone("UTC") } def "updated released version file has expected format"() { given: def releasedVersionsFile = new File(tmpDir, "released-versions.json") releasedVersionsFile << '''{ "latestReleaseSnapshot": { "version": "6.6-20200702230251+0000", "buildTime": "20200702230251+0000"
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Aug 17 08:32:56 GMT 2021 - 2.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy
} def "do not report if they are both incubating"() { given: apiClass.newClass >> Optional.of(newIncubatingBase) newSuper.addInterface(incubatingInterface) expect: noViolation(rule) } def "adding an #type interface to super class would not be reported"() { given: newSuper.addInterface(interfaces[type]) expect:
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy
apiClass.compatibilityChanges >> [JApiCompatibilityChange.METHOD_REMOVED_IN_SUPERCLASS] } def "method removal can be reported if current class is first public class"() { given: apiClass.oldClass >> Optional.of(classes['OldBase']) apiClass.newClass >> Optional.of(classes['NewBase']) when: Violation violation = rule.maybeViolation(apiClass) then:
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.9K bytes - Viewed (0)