Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 110 for equals (0.07 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterJUnitTestFailureIntegrationTest.groovy

    import org.gradle.testing.junit.AbstractJUnitTestFailureIntegrationTest
    import org.hamcrest.Matcher
    
    import static org.gradle.testing.fixture.JUnitCoverage.JUNIT_JUPITER
    import static org.hamcrest.CoreMatchers.equalTo
    
    @TargetCoverage({ JUNIT_JUPITER })
    class JUnitJupiterJUnitTestFailureIntegrationTest extends AbstractJUnitTestFailureIntegrationTest implements JUnitJupiterMultiVersionTest {
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AntBuilderAwareUtil.groovy

    import org.gradle.api.internal.file.collections.FileTreeAdapter
    import org.gradle.api.internal.file.collections.MinimalFileTree
    import org.gradle.api.internal.project.DefaultAntBuilder
    
    import static org.hamcrest.CoreMatchers.equalTo
    import static org.hamcrest.MatcherAssert.assertThat
    import static org.junit.Assert.assertTrue
    
    class AntBuilderAwareUtil {
    
        static def assertSetContains(FileCollection set, Set<String> filenames) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 5K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/ZipTestFixture.groovy

    import org.apache.commons.compress.archivers.zip.ZipFile
    import org.gradle.test.fixtures.file.TestFile
    
    import java.nio.charset.Charset
    
    import static org.hamcrest.CoreMatchers.equalTo
    import static org.hamcrest.MatcherAssert.assertThat
    
    class ZipTestFixture extends ArchiveTestFixture {
        protected final String metadataCharset
        protected final String contentCharset
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/internal/plugins/WindowsStartScriptGeneratorTest.groovy

            def windowsLineEndings = scriptText.split(TextUtil.windowsLineSeparator).length
    
            // Windows line endings are made up of two characters,
            // we should see an equal number of lines unless
            // the generator is using the wrong line ending entirely
            // or has generated some lines with one or the other character
            carriageLineEndings == newlineEndings
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/DefaultIvyArtifactNameTest.groovy

            "ext" | "classifier" | "name-classifier.ext"
            "ext" | null         | "name.ext"
            null  | "classifier" | "name-classifier"
            null  | null         | "name"
        }
    
        def "is equal when all fields are equal"() {
            def name = new DefaultIvyArtifactName("name", "type", "ext", 'classifier')
            def same = new DefaultIvyArtifactName("name", "type", "ext", 'classifier')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/DefaultProjectDependencyTest.groovy

            and:
            files == conf.allArtifacts.files as Set
        }
    
        void "knows when content is equal"() {
            def d1 = createProjectDependency()
            def d2 = createProjectDependency()
    
            expect:
            d1.contentEquals(d2)
        }
    
        void "knows when content is not equal"() {
            def d1 = createProjectDependency()
            def d2 = createProjectDependency()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonExpirationTest.groovy

            1 * client2.stop()
            0 * client3.stop()
    
            and:
            reserveIdleClient(oneGbOptions) == client3
        }
    
        def "expires all idle daemons when requested memory is equal than what all daemons consume"() {
            given:
            def client1 = reserveNewClient(oneGbOptions)
            def client2 = reserveNewClient(threeGbOptions)
    
            and:
            clientsManager.release(client1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/RepoScriptBlockUtil.groovy

                    }
    
                    static void mirror(IvyArtifactRepository repo) {
                        ${mirrorConditions}
                    }
    
                    // We see them as equal:
                    // https://repo.maven.apache.org/maven2/ and http://repo.maven.apache.org/maven2
                    static String normalizeUrl(Object url) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractCaseVfsRelativePathTest.groovy

            where:
            path1              | offset | path2         | result
            "/var/hello/world" | 5      | "hello-other" | -1
        }
    
        def "equal chars are equal"() {
            expect:
            (Character.MIN_VALUE..Character.MAX_VALUE).each { currentChar ->
                assert compareCharsIgnoringCase(currentChar as char, currentChar as char) == 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/OutputFileChangesTest.groovy

        def "empties"() {
            expect:
            changes(
                FileSystemSnapshot.EMPTY,
                FileSystemSnapshot.EMPTY
            ) == []
        }
    
        def "equal hash for #current.type"() {
            expect:
            changes(previous, current) == []
    
            where:
            previous                        | current
            regularFile("one", 0x1234)      | regularFile("one", 0x1234)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top