- Sort Score
- Result 10 results
- Languages All
Results 161 - 169 of 169 for equals (0.1 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestFailureProgressEventCrossVersionTest.groovy
import junit.framework.*; public class FooTest extends TestCase { public void testFail() { assertEquals("String are not equal:", "foo", "bar"); } } """ when: runTestTaskWithFailureCollection() then: thrown(BuildException)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 22.1K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/metadata/ExternalResourceMetaDataCompareTest.groovy
1 * factory.create() >> null } def "is unchanged if everything is equal"() { given: configureMetadata(local) configureMetadataForEtagMatch(remote) when: compare(local, remote) then: unchanged } def "matching etags are enough to be considered equal"() { given: configureMetadata(local, "abc", null, -1)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/ide/problems-api/src/test/groovy/org/gradle/api/problems/internal/DefaultProblemTest.groovy
import org.gradle.internal.deprecation.Documentation import org.gradle.internal.operations.OperationIdentifier import spock.lang.Specification class DefaultProblemTest extends Specification { def "unbound builder result is equal to original"() { def additionalData = Mock(AdditionalData) def problem = createTestProblem(severity, additionalData) def newProblem = problem.toBuilder().build() expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 08:30:15 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/LatestVersionSelectorTest.groovy
requiresMetadata("latest.123") } def "accepts any fixed version"() { expect: accept("latest.integration", "1.0") } def "accepts a candidate version if its status is equal to or higher than the selector's status"() { def metadata = Stub(ComponentMetadata) { getStatus() >> "silver" getStatusScheme() >> ["bronze", "silver", "gold"] } expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 15.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/DefaultVersionComparatorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classpath/DefaultClassPathTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/DependencyLockingIntegrationTest.groovy
} """ when: succeeds 'dependencies' then: lockfileFixture.expectLockStateMissing('unlockedConf') } def "version selector combinations are resolved equally for locked and unlocked configurations"() { ['foo', 'foz', 'bar', 'baz'].each { artifact -> mavenRepo.module('org', artifact, '1.0').publish() mavenRepo.module('org', artifact, '1.1').publish()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 30 12:42:25 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/tasks/InitBuildSpec.groovy
init.getJavaLanguageVersion(userQuestions, buildInitializer) then: def e = thrown(GradleException) e.message == "Target Java version: '5' is not a supported target version. It must be equal to or greater than 7" } def "should reject invalid package name: #invalidPackageName"() { given: projectLayoutRegistry.get("java-library") >> defaultGenerator
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 20:10:43 UTC 2024 - 12.8K bytes - Viewed (0)