Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for collectNodes (0.16 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/build/PlannedNodeGraphTest.groovy

            dependsOn(task1, [task2, transform1])
            dependsOn(task2, [task3])
            dependsOn(task3, [task4])
            dependsOn(transform1, [task4])
    
            when:
            collector.collectNodes([task1, task2, task3, task4, transform1])
            def graph = collector.getGraph()
            def nodes = graph.getNodes(PlannedNodeGraph.DetailLevel.LEVEL1_TASKS) as List<TestPlannedNode>
            then:
            nodes.size() == 4
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 21 13:11:56 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. src/cmd/covdata/tool_test.go

    		dumplines(lines)
    	}
    
    	// We expect the merge tool to produce exactly two files: a meta
    	// data file and a counter file. If we get more than just this one
    	// pair, something went wrong.
    	podlist, err := pods.CollectPods([]string{outdir}, true)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(podlist) != 1 {
    		t.Fatalf("expected 1 pod, got %d pods", len(podlist))
    	}
    	ncdfs := len(podlist[0].CounterDataFiles)
    	if ncdfs != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top