Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 600 for out2 (0.42 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r60/TestOutputCrossVersionSpec.groovy

                public class MyTest {
                    @org.junit.Test public void works() throws Exception {
                        System.out.print("out1");
                        System.err.print("err1");
                    }
                    @org.junit.Test public void fails() throws Exception {
                        System.out.print("out2");
                        System.err.print("err2");
                        org.junit.Assert.fail();
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDependencyInferenceIntegrationTest.groovy

                    out1 = file("a-1.txt")
                    out2 = file("a-2.txt")
                }
                def b = tasks.create("b", OutputFilesTask) {
                    out1 = file("b-1.txt")
                    out2 = file("b-2.txt")
                }
                def files = objects.setProperty(RegularFile)
                files.add(a.out1)
                files.add(b.out2)
                tasks.register("c", InputFilesTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 14:20:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  3. src/net/mac_test.go

    	}
    
    	for i, tt := range parseMACTests {
    		out, err := ParseMAC(tt.in)
    		if !reflect.DeepEqual(out, tt.out) || !match(err, tt.err) {
    			t.Errorf("ParseMAC(%q) = %v, %v, want %v, %v", tt.in, out, err, tt.out, tt.err)
    		}
    		if tt.err == "" {
    			// Verify that serialization works too, and that it round-trips.
    			s := out.String()
    			out2, err := ParseMAC(s)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 27 02:36:14 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  4. samples/bookinfo/platform/kube/cleanup.sh

    ret=$?
    function cleanup() {
      rm -f "${OUTPUT}"
    }
    
    trap cleanup EXIT
    
    if [[ ${ret} -eq 0 ]];then
      cat "${OUTPUT}"
    else
      # ignore NotFound errors
      OUT2=$(grep -v NotFound "${OUTPUT}")
      if [[ -n ${OUT2} ]];then
        cat "${OUTPUT}"
        exit ${ret}
      fi
    fi
    
    # wait for 30 sec for bookinfo to clean up
    sleep 30
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/DependencyClassPathNotationConverterTest.groovy

            when:
            def out = parse(GRADLE_API)
    
            then:
            out instanceof DefaultFileCollectionDependency
            out.files as List == [shadedApiJar] + localGroovyFiles + installationBeaconFiles
        }
    
        def "reuses dependency instances"() {
            when:
            def out = parse(GRADLE_API)
    
            then:
            out instanceof DefaultFileCollectionDependency
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 20:27:07 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/compress/zlib/writer_test.go

    		return
    	}
    	out := buf.String()
    
    	// Reset and compress again.
    	buf2 := new(bytes.Buffer)
    	zlibw.Reset(buf2)
    	_, err = zlibw.Write(b0)
    	if err == nil {
    		err = zlibw.Close()
    	}
    	if err != nil {
    		t.Errorf("%s (level=%d): %v", fn, level, err)
    		return
    	}
    	out2 := buf2.String()
    
    	if out2 != out {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultImmutableWorkspaceMetadataStoreTest.groovy

        def "can serialize and deserialize metadata"() {
            def outputHashes = ImmutableListMultimap.<String, HashCode>builder()
                .putAll("out1", hashCodeFrom(0x1234), hashCodeFrom(0x2345))
                .putAll("out2", hashCodeFrom(0x3456))
                .build()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:49 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/compress/flate/deflate_test.go

    	}
    
    	writeData(w)
    	w.Close()
    	out1 := buf.Bytes()
    
    	buf2 := new(bytes.Buffer)
    	w.Reset(buf2)
    	writeData(w)
    	w.Close()
    	out2 := buf2.Bytes()
    
    	if len(out1) != len(out2) {
    		t.Errorf("got %d, expected %d bytes", len(out2), len(out1))
    		return
    	}
    	if !bytes.Equal(out1, out2) {
    		mm := 0
    		for i, b := range out1[:len(out2)] {
    			if b != out2[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  9. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy

                class MyTask extends DefaultTask {
                    @OutputFiles Set<File> out = new HashSet<File>()
    
                    @TaskAction def exec() {
                        out.each { it.text = 'data' }
                    }
                }
    
                task myTask(type: MyTask) {
                    out.addAll([file("out1"), file("out2")])
                }
            """
    
            when:
            run ':myTask'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformBuildOperationIntegrationTest.groovy

                    task producer(type: OutputFilesTask) {
                        out1.convention(layout.buildDirectory.file("\${project.name}.out1.jar"))
                        out2.convention(layout.buildDirectory.file("\${project.name}.out2.jar"))
                    }
    
                    artifacts {
                        implementation producer.out1
                        implementation producer.out2
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 67.8K bytes
    - Viewed (0)
Back to top