- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 169 for equals (0.52 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 67.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InterfaceBackedManagedTypeIntegrationTest.groovy
- Method foo() is not a valid method: Default interface methods are only supported for getters and setters.""" } def "two views of the same element are equal"() { when: buildScript ''' @Managed interface Address { String getCity() void setCity(String name) }
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/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/bean/DefaultPropertyWalkerTest.groovy
IllegalStateException e = thrown(IllegalStateException) e.message == "Cycles between nested beans are not allowed. Cycle detected between: '<root>' and 'nested.left'." } def "nested beans can be equal"() { def task = project.tasks.create("myTask", TaskWithNestedObject) task.nested = new Tree(value: "root", right: new Tree(value: "right", right: new Tree(value: "right"))) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 10.1K bytes - Viewed (0) -
platforms/ide/problems-api/src/test/groovy/org/gradle/api/problems/internal/DefaultProblemDefinitionReport.groovy
import spock.lang.Specification class DefaultProblemDefinitionReport extends Specification { def "equal objects are equal"() { when: def pd1 = createProblemDefinition() def pd2 = createProblemDefinition() then: pd1 == pd2 pd1 == pd1 } def "Changed label causes equal to be false"() { when: def pd1 = createProblemDefinition()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:35:05 UTC 2024 - 2.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/intercept/InterceptScopeTest.groovy
} def "method and property scopes with the same name are not equal"() { when: InterceptScope methodScope = InterceptScope.methodsNamed("name") InterceptScope propertyScope = InterceptScope.readsOfPropertiesNamed("name") then: methodScope != propertyScope } def "constructor scopes of the same class are equal"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 03 11:20:13 UTC 2022 - 2.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/OpaqueComponentArtifactIdentifierTest.groovy
def "has useful string representation"() { expect: new OpaqueComponentArtifactIdentifier(new File("thing")).toString() == "thing" } def "identifiers are equal when display names are equal"() { def id = new OpaqueComponentArtifactIdentifier(new File("one")) def sameId = new OpaqueComponentArtifactIdentifier(new File("one"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGXmlResultAndHtmlReportIntegrationTest.groovy
mixedMethods .assertTestCaseStdout("passing", equalTo("out.pass\n")) .assertTestCaseStderr("passing", equalTo("err.pass\n")) .assertTestCaseStdout("failing", equalTo("out.fail\n")) .assertTestCaseStderr("failing", equalTo("err.fail\n")) .assertTestCaseStdout("passing2", equalTo("out.pass2\n"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 25 21:27:42 UTC 2023 - 15.1K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/MultiChoiceAddressTest.groovy
expect: address.displayName == "[${uuid} port:1234, addresses:[/1.1.1.1]]" address.toString() == address.displayName } def "addresses are equal when their canonical id and port and candidate addresses are equal"() { InetAddress address1 = InetAddress.getByName("1.1.1.1") InetAddress address2 = InetAddress.getByName("1.0.0.1") UUID id = UUID.randomUUID()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 1.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/JUnitTestClassExecutionResult.groovy
assertThat(******@****.***(), CoreMatchers.not(CoreMatchers.equalTo(''))) assertThat(******@****.***(), CoreMatchers.not(CoreMatchers.equalTo(''))) assertThat(******@****.***(), CoreMatchers.not(CoreMatchers.equalTo(''))) assertThat(******@****.***(), CoreMatchers.not(CoreMatchers.equalTo('')))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/LineFilterTest.groovy
import org.junit.Test import static org.hamcrest.CoreMatchers.equalTo import static org.hamcrest.MatcherAssert.assertThat class LineFilterTest { @Test void testEmptyInput() { def input = new StringReader("") def lineCount = 1 def filter = new LineFilter(input, { "${lineCount++} - $it" as String }) assertThat(filter.text, equalTo("")) } @Test void testEmptyLinesWithTrailingEOL() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 19 19:02:02 UTC 2021 - 3.3K bytes - Viewed (0)