Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 88 for someTar (0.14 sec)

  1. platforms/jvm/ear/src/test/groovy/org/gradle/plugins/ear/EarTest.groovy

        def "configures destinationDirectory for ear tasks"() {
            when:
            project.pluginManager.apply(JavaBasePlugin)
            project.version = '1.0'
    
            then:
            def someEar = project.tasks.create('someEar', Ear)
            someEar.destinationDirectory.get().asFile == project.libsDirectory.get().asFile
        }
    
        private static DeploymentDescriptor makeDeploymentDescriptor(Ear e) {
            e.deploymentDescriptor {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 19:58:25 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/sources/process/ProviderCompatibleBaseExecSpecTestBase.groovy

            given:
            specUnderTest.environment("SOMEVAR", "someval")
    
            when:
            specUnderTest.setEnvironment(OTHERVAR: "otherval")
    
            then:
            specUnderTest.getEnvironment() == [OTHERVAR: "otherval"]
        }
    
        def "adding variables after setting environment is working"() {
            given:
            specUnderTest.setEnvironment(SOMEVAR: "someval")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/files/archiveNaming/kotlin/build.gradle.kts

    // tag::zip-task[]
    plugins {
        base
    }
    
    version = "1.0"
    
    tasks.register<Zip>("myZip") {
        from("somedir")
        val projectDir = layout.projectDirectory.asFile
        doLast {
            println(archiveFileName.get())
            println(destinationDirectory.get().asFile.relativeTo(projectDir))
            println(archiveFile.get().asFile.relativeTo(projectDir))
        }
    }
    // end::zip-task[]
    
    // tag::zip-task-with-custom-base-name[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 615 bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/HashingTest.java

        assertEquals(587718043, smear(-1728529858));
        assertEquals(1757836855, smear(-938301587));
        assertEquals(1002498708, smear(1431162155));
        assertEquals(52905316, smear(1085665355));
        assertEquals(-1590037357, smear(1654374947));
        assertEquals(-100883544, smear(-1661998771));
        assertEquals(1312247346, smear(-65105105));
        assertEquals(-79641824, smear(-73789608));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/IntegrationTest.groovy

    /**
     * This annotation is a marker and guarantees all integration tests are tagged.
     *
     * When we use JUnit Platform `includeTags('SomeTag')`, all spock tests are excluded:
     * https://github.com/spockframework/spock/issues/1288 . As a workaround,
     * we tag all non-spock integration tests and use `includeTags(none() | SomeTag)` to make
     * sure spock engine tests are executed.
     */
    @Retention(RetentionPolicy.RUNTIME)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/files/archivesChangedBaseName/kotlin/build.gradle.kts

    }
    // end::base-plugin-config[]
    
    val myZip by tasks.registering(Zip::class) {
        from("somedir")
    }
    
    val myOtherZip by tasks.registering(Zip::class) {
        archiveAppendix = "wrapper"
        archiveClassifier = "src"
        from("somedir")
    }
    
    tasks.register("echoNames") {
        val projectNameString = project.name
        val archiveFileName = myZip.flatMap { it.archiveFileName }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 828 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/files/archivesChangedBaseName/groovy/build.gradle

        libsDirectory = layout.buildDirectory.dir('custom-libs')
    }
    // end::base-plugin-config[]
    
    def myZip = tasks.register('myZip', Zip) {
        from 'somedir'
    }
    
    def myOtherZip = tasks.register('myOtherZip', Zip) {
        archiveAppendix = 'wrapper'
        archiveClassifier = 'src'
        from 'somedir'
    }
    
    tasks.register('echoNames') {
        def projectNameString = project.name
        def archiveFileName = myZip.flatMap { it.archiveFileName }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 826 bytes
    - Viewed (0)
  8. src/internal/singleflight/singleflight_test.go

    	}
    	if err != nil {
    		t.Errorf("Do error = %v", err)
    	}
    }
    
    func TestDoErr(t *testing.T) {
    	var g Group
    	someErr := errors.New("some error")
    	v, err, _ := g.Do("key", func() (any, error) {
    		return nil, someErr
    	})
    	if err != someErr {
    		t.Errorf("Do error = %v; want someErr %v", err, someErr)
    	}
    	if v != nil {
    		t.Errorf("unexpected non-nil value %#v", v)
    	}
    }
    
    func TestDoDupSuppress(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 22:21:50 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/HashingTest.java

        assertEquals(587718043, smear(-1728529858));
        assertEquals(1757836855, smear(-938301587));
        assertEquals(1002498708, smear(1431162155));
        assertEquals(52905316, smear(1085665355));
        assertEquals(-1590037357, smear(1654374947));
        assertEquals(-100883544, smear(-1661998771));
        assertEquals(1312247346, smear(-65105105));
        assertEquals(-79641824, smear(-73789608));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/files/archiveNaming/groovy/build.gradle

    // tag::zip-task[]
    plugins {
        id 'base'
    }
    
    version = 1.0
    
    tasks.register('myZip', Zip) {
        from 'somedir'
        File projectDir = layout.projectDirectory.asFile
        doLast {
            println archiveFileName.get()
            println projectDir.relativePath(destinationDirectory.get().asFile)
            println projectDir.relativePath(archiveFile.get().asFile)
        }
    }
    // end::zip-task[]
    
    // tag::zip-task-with-custom-base-name[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 617 bytes
    - Viewed (0)
Back to top