Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPruneTESTS (0.26 sec)

  1. cmd/prune-junit-xml/prunexml_test.go

    	var output bytes.Buffer
    	writer := bufio.NewWriter(&output)
    	_ = streamXML(writer, suites)
    	_ = writer.Flush()
    	assert.Equal(t, outputXML, string(output.Bytes()), "xml was not pruned correctly")
    }
    
    func TestPruneTESTS(t *testing.T) {
    	sourceXML := `<?xml version="1.0" encoding="UTF-8"?>
    <testsuites>
    	<testsuite tests="6" failures="0" time="5.50000" name="k8s.io/kubernetes/cluster/gce/cos" timestamp="">
    		<properties>
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 12:26:00 UTC 2023
    - 8.9K bytes
    - Viewed (0)
Back to top