Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for equals (0.12 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

    import java.nio.file.Files
    import java.nio.file.attribute.PosixFilePermissions
    import java.util.zip.GZIPOutputStream
    import java.util.zip.ZipInputStream
    
    import static org.hamcrest.CoreMatchers.equalTo
    import static org.hamcrest.MatcherAssert.assertThat
    import static org.junit.Assert.assertTrue
    
    class TestFileHelper {
        TestFile file
    
        TestFileHelper(TestFile file) {
            this.file = file
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy

            where:
            version    | jreDirName    | jdkDirName
            '1.6.0'    | 'jre6'        | 'jdk1.6.0'
            '1.5.0_22' | 'jre1.5.0_22' | 'jdk1.5.0_22'
        }
    
        def "JVM are equal when their Java home dirs are the same"() {
            given:
            TestFile installDir = tmpDir.createDir('software')
            installDir.create {
                lib {
                    file 'tools.jar'
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. 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)
Back to top