Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for mainTest (0.16 sec)

  1. operator/cmd/mesh/manifest-generate_test.go

    	inPath := filepath.Join(testDataDir, "input", inFile+".yaml")
    	manifest, err := runManifestGenerate([]string{inPath}, flags, chartSource, fileSelect)
    	if err != nil {
    		return "", nil, fmt.Errorf("error %s: %s", err, manifest)
    	}
    	objs, err := object.ParseK8sObjectsFromYAMLManifest(manifest)
    	return manifest, objs, err
    }
    
    // runManifestGenerate runs the manifest generate command. If filenames is set, passes the given filenames as -f flag,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  2. tests/integration/security/file_mounted_certs/main_test.go

    Ben Leggett <******@****.***> 1714685380 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. tests/integration/ambient/main_test.go

    John Howard <******@****.***> 1718150848 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 10.8K 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/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)
  6. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/java/archives/internal/DefaultManifest.java

            }
        }
    
        /**
         * Prepare Manifest bytes for interoperability. Ant Manifest class doesn't support split multi-bytes characters, Java Manifest class does. Ant Manifest class supports manifest sections starting
         * without prior blank lines, Java Manifest class doesn't. Ant Manifest class supports manifest without last line blank, Java Manifest class doesn't. Therefore we need to insert blank lines before
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  7. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarIntegrationTest.groovy

            then:
            def jar = new JarTestFixture(file('build/test.jar'))
            jar.manifest.mainAttributes.getValue('attr') == 'value'
            jar.manifest.mainAttributes.getValue('version') == '1.0'
        }
    
        def "can use Provider values in manifest attribute when merging with manifest file"() {
            given:
            def manifest = file("MANIFEST.MF") << "$manifestContent"
            buildFile << """
                task jar(type: Jar) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      private static Manifest manifestClasspath(String classpath) throws IOException {
        return manifest("Class-Path: " + classpath + "\n");
      }
    
      private static void writeSelfReferencingJarFile(File jarFile, String... entries)
          throws IOException {
        Manifest manifest = new Manifest();
        // Without version, the manifest is silently ignored. Ugh!
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 26 14:02:27 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/classpath/transforms/ClasspathElementTransformTest.groovy

            }
        }
    
        def "multi-release jar must have manifest attribute to be processed by legacy instrumentation"() {
            given:
            def testFile = jar(testDir.file("thing.jar")) {
                manifest {
                    // No Multi-Release attribute in the manifest.
                }
    
                entry("Foo.class", classOne())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 14 09:24:02 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. 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)
Back to top