- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 52 for strictlyEquals (0.39 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultProjectLayoutTest.groovy
import spock.lang.Specification import static org.gradle.api.internal.provider.ProviderTestUtil.withNoValue import static org.gradle.api.internal.provider.ProviderTestUtil.withValues import static org.gradle.util.Matchers.strictlyEquals class DefaultProjectLayoutTest extends Specification { @Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) TestFile projectDir DefaultProjectLayout layout
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 23 16:13:03 UTC 2022 - 9.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/ComponentFileArtifactIdentifierTest.groovy
def differentComponent = new ComponentFileArtifactIdentifier(otherId, "one") def differentName = new ComponentFileArtifactIdentifier(componentId, "two") expect: Matchers.strictlyEquals(id, sameId) id != differentComponent id != differentName }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 18:43:39 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/idea/model/PathTest.groovy
import org.gradle.util.Matchers import spock.lang.Specification class PathTest extends Specification { def "paths are equal when they have the same canonical url"() { expect: Matchers.strictlyEquals(new Path('file://$ROOT_DIR$/file'), new Path('file://$ROOT_DIR$/file')) new Path('file://$ROOT_DIR$/file') != new Path('file://$ROOT_DIR$/other') } def "equals honors subclasses"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 1.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/DefaultBuildIdentifierTest.groovy
def id = new DefaultBuildIdentifier(Path.path(":one")) def same = new DefaultBuildIdentifier(Path.path(":one")) def different = new DefaultBuildIdentifier(Path.path(":two")) Matchers.strictlyEquals(id, same) id != different }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jul 11 09:18:31 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/DefaultModuleComponentSelectorTest.groovy
import org.gradle.api.internal.attributes.ImmutableAttributes import spock.lang.Specification import static org.gradle.internal.component.local.model.TestComponentIdentifiers.newProjectId import static org.gradle.util.Matchers.strictlyEquals import static org.gradle.util.AttributeTestUtil.attributes class DefaultModuleComponentSelectorTest extends Specification { private static ImmutableVersionConstraint v(String version) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 9.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy
def impl2 = proxyClass.newInstance(state2, typeConverter) then: Matchers.strictlyEquals(impl1, sameState) Matchers.strictlyEquals(impl1, sameStateDifferentType) !impl1.equals(impl2) } def "Two views are equal when their state objects are equal"() { def state1 = Mock(GeneratedViewState)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 27.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/ClosureBackedRuleActionTest.groovy
} def "equality"() { given: def c = {String foo -> } def a1 = action(c) expect: Matchers.strictlyEquals(a1, action(c)) a1 == action(c) a1 != action({String bar -> }) a1 != new ClosureBackedRuleAction(Integer.class, { Integer val -> }) } RuleAction<String> action(Closure<?> c) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultResolvedDependencySpec.groovy
import org.gradle.util.TestUtil import spock.lang.Specification import static com.google.common.collect.Iterables.concat import static com.google.common.collect.Sets.newHashSet import static org.gradle.util.Matchers.strictlyEquals import static org.gradle.util.internal.WrapUtil.toSet class DefaultResolvedDependencySpec extends Specification {private BuildOperationExecutor buildOperationProcessor = new TestBuildOperationExecutor() def init() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 14.5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/util/GradleVersionTest.groovy
// Note: buildTime is null when running a local build version.buildTimestamp == null || version.buildTimestamp.endsWith("UTC") } def equalsAndHashCode() { expect: Matchers.strictlyEquals(GradleVersion.version('0.9'), GradleVersion.version('0.9')) GradleVersion.version('0.9') != GradleVersion.version('1.0') } def canConstructVersionFromString(String version) { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/ModelPathTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.1K bytes - Viewed (0)