Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 603 for mainTest (0.26 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/ClasspathElementTransformForAgent.java

        private void copyManifestMainAttribute(Manifest source, Manifest destination, Attributes.Name name) {
            destination.getMainAttributes().put(name, source.getMainAttributes().getValue(name));
        }
    
        private void setManifestMainAttribute(Manifest manifest, String name, String value) {
            manifest.getMainAttributes().putValue(name, value);
        }
    
        private byte[] toByteArray(Manifest manifest) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:14:01 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. releasenotes/notes/generate-operator-manifest.yaml

    Steven Dake <******@****.***> 1599591655 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 08 19:00:55 UTC 2020
    - 252 bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/util/JarUtils.groovy

            }
    
            /**
             * Specifies that this JAR has no manifest.
             */
            void withoutManifest() {
                assert !hasConfiguredManifest: "Already written the manifest"
                hasConfiguredManifest = true
            }
    
            /**
             * Configures the JAR manifest.
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 07 19:17:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarEncodingIntegrationTest.groovy

            executer.run()
    
            then:
            def manifest = new JarTestFixture(file('dest/test.jar'), 'UTF-8', 'UTF-8').content('META-INF/MANIFEST.MF')
            manifest.contains('moji: bakeā˜”')
        }
    
        @Issue("GRADLE-3374")
        def "merge manifest read using UTF-8 by default"() {
            given:
            buildScript """
                task jar(type: Jar) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/internal/DefaultJavaPluginConvention.java

        }
    
        @Override
        public Manifest manifest() {
            return extension.manifest();
        }
    
        @Override
        public Manifest manifest(@SuppressWarnings("rawtypes") Closure closure) {
            return extension.manifest(closure);
        }
    
        @Override
        public Manifest manifest(Action<? super Manifest> action) {
            return extension.manifest(action);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 22:10:58 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestTest.groovy

            DefaultManifest manifest = new DefaultManifest(fileResolver).attributes(key1: 'value1')
            fileResolver.resolve('file') >> manifestFile
    
            when:
            manifest.writeTo('file')
            Manifest fileManifest = manifestFile.withReader { new Manifest(it) }
            Manifest expectedManifest = new Manifest()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_main_archive.txt

    # Test that a main_test of 'package main' imports the package,
    # not the installed binary.
    
    [short] skip
    
    env GOBIN=$WORK/bin
    go test main_test
    go install main_test
    
    go list -f '{{.Stale}}' main_test
    stdout false
    
    go test main_test
    
    -- main_test/m.go --
    package main
    
    func F()    {}
    func main() {}
    -- main_test/m_test.go --
    package main_test
    
    import (
    	. "main_test"
    	"testing"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 19 18:15:04 UTC 2019
    - 436 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/tutorial/manifest/groovy/build.gradle

    plugins {
        id 'java'
    }
    version = '1.0'
    
    // tag::add-to-manifest[]
    jar {
        manifest {
            attributes("Implementation-Title": "Gradle",
                       "Implementation-Version": archiveVersion)
        }
    }
    // end::add-to-manifest[]
    
    // tag::custom-manifest[]
    def sharedManifest = java.manifest {
        attributes("Implementation-Title": "Gradle",
                   "Implementation-Version": version)
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/tutorial/manifest/kotlin/build.gradle.kts

    plugins {
        java
    }
    version = "1.0"
    
    // tag::add-to-manifest[]
    tasks.jar {
        manifest {
            attributes(
                "Implementation-Title" to "Gradle",
                "Implementation-Version" to archiveVersion
            )
        }
    }
    // end::add-to-manifest[]
    
    // tag::custom-manifest[]
    val sharedManifest = java.manifest {
        attributes (
            "Implementation-Title" to "Gradle",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/java/archives/ManifestMergeSpec.java

         * The character set used to decode the merged manifest content.
         * Defaults to UTF-8.
         *
         * @return the character set used to decode the merged manifest content
         * @since 2.14
         */
        String getContentCharset();
    
        /**
         * The character set used to decode the merged manifest content.
         *
         * @param contentCharset the character set used to decode the merged manifest content
         * @see #getContentCharset()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top