Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testDescription (0.17 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AbstractSpockTaskTest.groovy

            then:
            thrown(InvalidUserDataException)
        }
    
        def setGetDescription() {
            when:
            String testDescription = "testDescription"
            getTask().setDescription(testDescription)
    
            then:
            testDescription ==  getTask().getDescription()
        }
    
        def canSpecifyOnlyIfPredicateUsingClosure() {
            DefaultTask task = getTask()
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 23 14:27:55 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AbstractTaskTest.groovy

            e.message.equals("Action must not be null!")
        }
    
        def "test getDescription"() {
            given:
            def testDescription = "testDescription"
            getTask().setDescription(testDescription)
    
            expect:
            testDescription == getTask().getDescription()
        }
    
        def "can specify onlyIf predicate using closure"() {
            given:
            def task = getTask()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. src/net/http/pprof/pprof_test.go

    	"net/http/httptest"
    	"path/filepath"
    	"runtime"
    	"runtime/pprof"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    // TestDescriptions checks that the profile names under runtime/pprof package
    // have a key in the description map.
    func TestDescriptions(t *testing.T) {
    	for _, p := range pprof.Profiles() {
    		_, ok := profileDescriptions[p.Name()]
    		if ok != true {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top