Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            when:
            repository.put('class', value)
    
            then:
            repository.find('class') == value
            repository.get('class') == value
        }
    
        def findReturnsNullForUnknownClass() {
            expect:
            repository.find('unknown') == null
        }
    
        def getFailsForUnknownClass() {
            given:
            repository.put('unkown', new TestDomainObject('unknown'))
    
            when:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. build-logic/cleanup/src/test/groovy/gradlebuild/cleanup/services/LeakingProcessKillPatternTest.groovy

            def projectDir = 'C:\\some\\agent\\workspace'
    
            expect:
            (line =~ KillLeakingJavaProcesses.generateLeakingProcessKillPattern(projectDir)).find()
        }
    
        def "matches daemon process started by performance test on Windows"() {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Sep 28 07:00:39 GMT 2023
    - 14.4K bytes
    - Viewed (0)
Back to top