Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 207 for testOut (0.11 sec)

  1. src/cmd/go/internal/imports/read_test.go

    	for i, tt := range tests {
    		var in, testOut string
    		j := strings.Index(tt.in, "ℙ")
    		if j < 0 {
    			in = tt.in
    			testOut = tt.in
    		} else {
    			in = tt.in[:j] + tt.in[j+len("ℙ"):]
    			testOut = tt.in[:j]
    		}
    		d := strings.Index(tt.in, "𝔻")
    		if d >= 0 {
    			in = in[:d] + in[d+len("𝔻"):]
    			testOut = testOut[d+len("𝔻"):]
    		}
    		r := strings.NewReader(in)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 15 18:42:11 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  2. src/go/build/read_test.go

    	for i, tt := range tests {
    		beforeP, afterP, _ := strings.Cut(tt.in, "ℙ")
    		in := beforeP + afterP
    		testOut := beforeP
    
    		if beforeD, afterD, ok := strings.Cut(beforeP, "𝔻"); ok {
    			in = beforeD + afterD + afterP
    			testOut = afterD
    		}
    
    		r := strings.NewReader(in)
    		buf, err := read(r)
    		if err != nil {
    			if tt.err == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 6K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGClassIntegrationTest.groovy

            containsEvent(STARTED, DefaultTestMethodDescriptor, 'TestSuite > LightTest > org.company.SystemOutTest > testOut')
            containsEvent(FINISHED, DefaultTestMethodDescriptor, 'TestSuite > LightTest > org.company.SystemOutTest > testOut')
            containsEvent(FINISHED, DefaultTestClassDescriptor, 'TestSuite > LightTest > org.company.SystemOutTest')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/dumper_test.go

    )
    
    func TestDump(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode")
    	}
    
    	ast, _ := ParseFile(*src_, func(err error) { t.Error(err) }, nil, CheckBranches)
    
    	if ast != nil {
    		Fdump(testOut(), ast)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:31 UTC 2022
    - 424 bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/PreprocessingReaderTest.groovy

        }
    
        def "replaces #description at the start of content"() {
            when:
            input = testIn
    
            then:
            output == testOut
    
            where:
            description | testIn | testOut
            "line comment" | "// Comment on first line\nAnother line" | "\nAnother line"
            "inline comment" | "/* inline comment at the start */of the line" | " of the line"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/printer_test.go

    )
    
    func TestPrint(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode")
    	}
    
    	ast, _ := ParseFile(*src_, func(err error) { t.Error(err) }, nil, 0)
    
    	if ast != nil {
    		Fprint(testOut(), ast, LineForm)
    		fmt.Println()
    	}
    }
    
    type shortBuffer struct {
    	buf []byte
    }
    
    func (w *shortBuffer) Write(data []byte) (n int, err error) {
    	w.buf = append(w.buf, data...)
    	n = len(data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 17:08:18 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/endtoend_test.go

    	architecture, ctxt := setArch(goarch)
    	architecture.Init(ctxt)
    	lexer := lex.NewLexer(input)
    	parser := NewParser(ctxt, architecture, lexer)
    	pList := new(obj.Plist)
    	var ok bool
    	testOut = new(strings.Builder) // The assembler writes test output to this buffer.
    	ctxt.Bso = bufio.NewWriter(os.Stdout)
    	ctxt.IsAsm = true
    	defer ctxt.Bso.Flush()
    	failed := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 18:42:59 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/asm.go

    				return
    			}
    			p.labels[label] = prog
    		}
    		p.pendingLabels = p.pendingLabels[0:0]
    	}
    	prog.Pc = p.pc
    	if *flags.Debug {
    		fmt.Println(p.lineNum, prog)
    	}
    	if testOut != nil {
    		fmt.Fprintln(testOut, prog)
    	}
    }
    
    // validSymbol checks that addr represents a valid name for a pseudo-op.
    func (p *Parser) validSymbol(pseudo string, addr *obj.Addr, offsetOk bool) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/riscv/testdata/testbranch/branch_test.s

    	RET
    
    // func testBGEZ(a int64) (r bool)
    TEXT ·testBGEZ(SB),NOSPLIT,$0-9
    	MOV	a+0(FP), X5
    	MOV	$1, X6
    	BGEZ	X5, b
    	MOV	$0, X6
    b:
    	MOV	X6, r+8(FP)
    	RET
    
    // func testBGT(a, b int64) (r bool)
    TEXT ·testBGT(SB),NOSPLIT,$0-17
    	MOV	a+0(FP), X5
    	MOV	b+8(FP), X6
    	MOV	$1, X7
    	BGT	X5, X6, b
    	MOV	$0, X7
    b:
    	MOV	X7, r+16(FP)
    	RET
    
    // func testBGTU(a, b int64) (r bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 28 21:56:43 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/riscv/testdata/testbranch/branch_test.go

    		{"BGEU", -1, 0, testBGEU, testGoBGEU, true},
    		{"BGEU", 1, 0, testBGEU, testGoBGEU, true},
    		{"BGT", 0, 1, testBGT, testGoBGT, false},
    		{"BGT", 0, 0, testBGT, testGoBGT, false},
    		{"BGT", 0, -1, testBGT, testGoBGT, true},
    		{"BGT", -1, 0, testBGT, testGoBGT, false},
    		{"BGT", 1, 0, testBGT, testGoBGT, true},
    		{"BGTU", 0, 1, testBGTU, testGoBGTU, false},
    		{"BGTU", 0, 0, testBGTU, testGoBGTU, false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 28 21:56:43 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top