Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for expect (0.24 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy

            method.returnType = new TypeMetaData('ReturnType')
            method.addParameter('param1', new TypeMetaData('ParamType'))
            method.addParameter('param2', new TypeMetaData('ParamType2'))
    
            expect:
            method.signature == 'ReturnType method(ParamType param1, ParamType2 param2)'
            method.overrideSignature == 'method(ParamType, ParamType2)'
        }
    
        def formatsOverrideSignatureUsingRawParameterTypes() {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ParameterMetaDataTest.groovy

            MethodMetaData method = Mock()
            def parameter = new ParameterMetaData('param')
            def type = new TypeMetaData('org.gradle.SomeType')
            parameter.type = type
    
            expect:
            parameter.signature == 'org.gradle.SomeType param'
        }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

    /*
     * Copyright 2020 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

    /*
     * Copyright 2020 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

    /*
     * Copyright 2020 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

            expect:
            parse(source) == transformed
    
            where:
            source              | transformed
            "text<p>para 2</p>" | "<p>text</p><p>para 2</p>"
            "text<h2>text</h2>" | "<p>text</p><h2>text</h2>"
        }
    
        def "does not add implicit <p> element for elements with inline content"() {
            expect:
            parse(source) == transformed
    
            where:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  7. 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)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy

            expect:
            type.rawType.signature == 'java.lang.Object'
        }
    
        def rawTypeForWildcardWithUpperBound() {
            type.setUpperBounds(new TypeMetaData('OtherType'))
    
            expect:
            type.rawType.signature == 'OtherType'
        }
    
        def rawTypeForWildcardWithLowerBound() {
            type.setLowerBounds(new TypeMetaData('OtherType'))
    
            expect:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.6K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChange.groovy

    /*
     * Copyright 2020 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 952 bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

    /*
     * Copyright 2020 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 15:32:19 GMT 2022
    - 2.8K bytes
    - Viewed (0)
Back to top