Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 603 for mainTest (0.12 sec)

  1. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/ManifestUtil.java

        }
    
        private static String[] readManifestClasspathString(File classpathFile) {
            try {
                Manifest manifest = findManifest(classpathFile);
                if (manifest == null) {
                    return EMPTY;
                }
                String classpathEntry = manifest.getMainAttributes().getValue("Class-Path");
                if (classpathEntry == null || classpathEntry.trim().length() == 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/java/archives/internal/CustomManifestInternalWrapper.java

        @Override
        public Manifest getEffectiveManifest() {
            return delegate.getEffectiveManifest();
        }
    
        @Override
        public Manifest writeTo(Object path) {
            delegate.writeTo(path);
            return this;
        }
    
        @Override
        public Manifest from(Object... mergePath) {
            delegate.from(mergePath);
            return this;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/JavaPluginConvention.java

         * Creates a new instance of a {@link Manifest}.
         */
        public abstract Manifest manifest();
    
        /**
         * Creates and configures a new instance of a {@link Manifest}. The given closure configures
         * the new manifest instance before it is returned.
         *
         * @param closure The closure to use to configure the manifest.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/internal/jvm/JavaModuleDetectorTest.groovy

                    } else if (entry.startsWith('mrjar')) {
                        jar << JarUtils.jarWithContents(('META-INF/MANIFEST.MF'): manifest.join('\n') + '\n', ('META-INF/versions/10/module-info.class'): '')
                    } else {
                        jar << JarUtils.jarWithContents(('META-INF/MANIFEST.MF'): manifest.join('\n') + '\n')
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 07 13:50:48 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  5. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/ZipHasherTest.groovy

            def manifest = new Manifest()
            def mainAttributes = manifest.getMainAttributes()
            mainAttributes.put(Attributes.Name.MANIFEST_VERSION, "1.0")
            attributes.each { name, value ->
                mainAttributes.put(new Attributes.Name(name), value)
            }
            new JarOutputStream(jarfile.newOutputStream(), manifest).close()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  6. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/MetaInfAwareClasspathResourceHasherTest.groovy

                    )
                }
            }
        }
    
        private ByteArrayOutputStream getManifestByteStream(Map<String, Object> attributesMap) {
            def manifest = new Manifest()
            def mainAttributes = manifest.getMainAttributes()
            mainAttributes.put(Attributes.Name.MANIFEST_VERSION, "1.0")
            populateAttributes(mainAttributes, attributesMap)
            attributesMap.each { name, value ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  7. operator/pkg/tpath/util_test.go

    	}
    }
    
    func TestGetConfigSubtree(t *testing.T) {
    	tests := []struct {
    		desc     string
    		manifest string
    		path     string
    		expect   string
    		err      bool
    	}{
    		{
    			desc:     "empty",
    			manifest: ``,
    			path:     ``,
    			expect: `{}
    `,
    			err: false,
    		},
    		{
    			desc: "subtree",
    			manifest: `
    a:
      b:
      - name: n1
        value: v2
      - list:
        - v1
        - v2
        - v3_regex
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 27 09:06:29 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-conditionalSubstitutionRule/kotlin/repo/org.example/project2/1.0/project2-1.0.jar

    META-INF/MANIFEST.MF Manifest-Version: 1.0...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 261 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-conditionalSubstitutionRule/kotlin/repo/org.example/project3/1.0/project3-1.0.jar

    META-INF/MANIFEST.MF Manifest-Version: 1.0...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 261 bytes
    - Viewed (0)
  10. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/MetaInfAwareClasspathResourceHasher.java

        private static boolean isManifestFile(final String name) {
            return name.equals("META-INF/MANIFEST.MF");
        }
    
        private HashCode hashManifest(InputStream inputStream) throws IOException {
            Manifest manifest = new Manifest(inputStream);
            Hasher hasher = Hashing.newHasher();
            Attributes mainAttributes = manifest.getMainAttributes();
            hashManifestAttributes(mainAttributes, "main", hasher);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top