- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 169 for equals (0.34 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/ConstructorComparatorTest.groovy
rhs.parameterTypes >> [String, Number] expect: comparator.compare(lhs, rhs) == -1 comparator.compare(rhs, lhs) == 1 } def "constructors with equal parameters are sorted by type names"() { def lhs = Stub(ClassGenerator.GeneratedConstructor) lhs.parameterTypes >> [String, Boolean] def rhs = Stub(ClassGenerator.GeneratedConstructor)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy
output.count("files 1: [lib1.jar.size, lib2.jar.size, lib3.jar.size, lib4-1.0.jar.size]") == 2 output.count("Transformed") == 0 } def "can use custom type that does not implement equals() for transform configuration"() { given: buildFile << declareAttributes() << withJarTasks() << """ class CustomType implements Serializable { String value }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 11:52:44 UTC 2024 - 97.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/DefaultModuleComponentArtifactIdentifierTest.groovy
def nameOnly = new DefaultModuleComponentArtifactIdentifier(componentId, "name", "type", null, null) nameOnly.fileName == "name-version" } def "is equal when all attributes and module version are the same"() { def componentId = DefaultModuleComponentIdentifier.newId(DefaultModuleIdentifier.newId("group", "module"), "version")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 6.3K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/catalog/problems/VersionCatalogErrorMessages.groovy
this.message = "Prefix for dependency shouldn't be equal to '${forbidden}'" this } ReservedAlias shouldNotContain(String name) { this.alias(name) this } ReservedAlias reservedAliasPrefix(String... suffixes) { this.solution = "Use a different alias which prefix is not equal to ${oxfordListOf(suffixes as List, 'or')}" this
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 09 14:11:31 UTC 2023 - 17.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
return 1; } else { return -1; } }); // Remove duplicates (equal adjacent elements) - a new, un@Incubating type will be here twice, as 2 errors are reported; use stringified JSON to compare // Filtering an array is NOT in place
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 07 20:38:43 UTC 2023 - 7.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/VersionCatalogExtensionIntegrationTest.groovy
contextualLabel == "Problem: In version catalog libs, alias '$reservedName' is not a valid alias." details == "Prefix for dependency shouldn\'t be equal to '$prefix'" solutions == [ 'Use a different alias which prefix is not equal to \'bundles\', \'plugins\', or \'versions\'' ] } where: reservedName | prefix "bundles" | "bundles"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 13:37:31 UTC 2024 - 77.8K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/tooling/idea/IdeaModelBuilderTest.groovy
where: sourceCompatibility << ['1.1', '1.2', '1.3', '1.4', '1.5', '1.6', '1.7', '1.8', '9', '10', '11', '12', '13', '14', '15', '16', '17'] } def "module language level is not inherited for non equal project and module language level"() { given: project.plugins.apply(JavaPlugin) child1.plugins.apply(JavaPlugin) project.java.sourceCompatibility = '1.2'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 09 11:38:46 UTC 2023 - 12.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/AbstractModuleDependencySpec.groovy
dependency.attributes.keySet() == [attr1, attr2] as Set dependency.attributes.getAttribute(attr1) == 'foo' dependency.attributes.getAttribute(attr2) == 123 } void "knows if is equal to"() { when: def dep1 = createDependency("group1", "name1", "version1") def dep2 = createDependency("group1", "name1", "version1") def attr1 = Attribute.of("attr1", String)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 16:36:23 UTC 2023 - 12.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy
def "can handle null as property type"() { when: writeableProperty(JavaTestSubject, "myProperty", null) then: //we do not know which 'myProperty' setter is picked, as both fit equally well noExceptionThrown() } def "cannot write primitive type properties if type is unknown"() { when: writeableProperty(JavaTestSubject, "myBooleanProperty", null)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.9K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/FullExceptionFormatterTest.groovy
at java.lang.reflect.Method.invoke(Method.java:597) at org.ClassName3.methodName3(FileName3.java:33) """ } def "treat anonymous class and its enclosing class equally"() { testLogging.getShowCauses() >> true testLogging.getShowStackTraces() >> true testLogging.getStackTraceFilters() >> EnumSet.of(TestStackTraceFilter.TRUNCATE, TestStackTraceFilter.GROOVY)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 11.1K bytes - Viewed (0)