- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for Subject (0.19 sec)
-
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy
* limitations under the License. */ package gradlebuild.binarycompatibility import spock.lang.Specification import spock.lang.Subject import spock.lang.TempDir class AcceptedApiChangesJsonFileManagerTest extends Specification { @TempDir File temporaryFolder @Subject AcceptedApiChangesJsonFileManager jsonFileManager = new AcceptedApiChangesJsonFileManager() def jsonFile def setup() {
Groovy - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Tue Aug 17 08:32:56 GMT 2021 - 2.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy
import java.util.regex.Pattern abstract class AbstractSuperClassChangesRule extends AbstractGradleViolationRule { private final List<Pattern> publicApiPatterns AbstractSuperClassChangesRule(Map<String, Object> params) { super(params) final List<String> publicApiPatterns = (List<String>)params['publicApiPatterns']; this.publicApiPatterns = publicApiPatterns.collect { Pattern.compile(it) } }
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) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
repository.put('class2', value2) Closure cl = Mock() when: repository.each(cl) then: 1 * cl.call(['class1', value1] as Object[]) 1 * cl.call(['class2', value2] as Object[]) 0 * cl._ } def canIterateOverClassesUsingAction() { TestDomainObject value1 = new TestDomainObject('a') TestDomainObject value2 = new TestDomainObject('a')
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/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy
} } public static void addBefore(Element sibling, Node n) { def parent = sibling.parentNode parent.insertBefore(n, sibling) } public static Object addAfter(Element sibling, Closure cl) { DomBuilder builder = new DomBuilder(sibling.ownerDocument, null) cl.delegate = builder cl.call() def parent = sibling.parentNode
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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
private final Map<ApiChange, String> acceptedApiChanges private final File apiChangesJsonFile private final File projectRootDir AbstractGradleViolationRule(Map<String, Object> params) { Map<String, String> acceptedApiChanges = (Map<String, String>)params.get("acceptedApiChanges") this.acceptedApiChanges = acceptedApiChanges ? AcceptedApiChanges.fromAcceptedChangesMap(acceptedApiChanges) : [:]
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) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy
expect: type.rawType.signature == 'org.gradle.SomeType' } def rawTypeForWildcardType() { type.setWildcard() expect: type.rawType.signature == 'java.lang.Object' } def rawTypeForWildcardWithUpperBound() { type.setUpperBounds(new TypeMetaData('OtherType')) expect: type.rawType.signature == 'OtherType' }
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy
import japicmp.model.JApiMethod import me.champeau.gradle.japicmp.report.Violation @CompileStatic class KotlinModifiersBreakingChangeRule extends AbstractGradleViolationRule { KotlinModifiersBreakingChangeRule(Map<String, Object> params) { super(params) } @Override Violation maybeViolation(JApiCompatibility member) { if (isNewOrRemoved(member) || !(member instanceof JApiMethod)) { return null
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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
} return null } private static List<Boolean> parametersNullabilityOf(CtBehavior behavior) { def annotations = behavior.parameterAnnotations as List<Object[]> annotations.collect { Object[] pAnn -> pAnn.flatten().any { isNullableCtAnnotation(it) } } } private static boolean hasNullableAnnotation(CtField field) {
Groovy - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Sat Apr 13 10:04:28 GMT 2024 - 5.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
String getClassName() { return null } Map<String, ?> getUserData() { return userData } Object getUserData(String key) { return userData[key] } void putUserData(String key, Object value) { userData[key] = value } } ClassPool instanceScopedPool = new ClassPool() JApiClass apiClass = Stub(JApiClass)
Groovy - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ApiChange.groovy
*/ package gradlebuild.binarycompatibility import groovy.transform.Immutable @Immutable class ApiChange { String type String member List<String> changes static ApiChange parse(Object json) { new ApiChange(json.type, json.member, json.changes ?: []) } String toString() { def formattedMember = member - "$type." "$type - $formattedMember - $changes" }
Groovy - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1023 bytes - Viewed (0)