Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,564 for when (0.03 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy

            when:
            lexer.pushText("<P></End>")
            lexer.visit(visitor)
    
            then:
            1 * visitor.onStartHtmlElement('p')
            1 * visitor.onStartHtmlElementComplete('p')
            1 * visitor.onEndHtmlElement('end')
            1 * visitor.onEnd()
            0 * visitor._
        }
    
        def parsesHtmlEntities() {
            when:
            lexer.pushText("before &amp; after")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/TypeNameResolverTest.groovy

        def resolvesFullyQualifiedClassName() {
            when:
            def name = typeNameResolver.resolve('org.gradle.SomeClass', classMetaData)
    
            then:
            name == 'org.gradle.SomeClass'
            _ * classMetaData.innerClassNames >> []
        }
    
        def resolvesUnqualifiedNameToClassInSamePackage() {
            when:
            def name = typeNameResolver.resolve('SomeClass', classMetaData)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            def annotations = []
            jApiType.annotations >> annotations
    
            when:
            annotations.clear()
    
            then:
            rule.maybeViolation(jApiType).humanExplanation =~ 'Is not annotated with @Incubating'
    
            when:
            annotations.add(incubatingAnnotation)
    
            then:
            rule.maybeViolation(jApiType) == null
    
            where:
            apiElement    | jApiTypeName
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaDataTest.groovy

            when:
            def p = propertyMetaData.overriddenProperty
    
            then:
            p == null
        }
    
        def hasNoOverriddenPropertyWhenGetterAndSetterDoNotOverrideAnything() {
            when:
            def p = propertyMetaData.overriddenProperty
    
            then:
            p == null
        }
    
        def "is deprecated when @Deprecated is attached to property"() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy

        def hasNoOverriddenMethodWhenNoSuperClass() {
            when:
            def m = method.overriddenMethod
    
            then:
            m == null
            _ * owner.superClass >> null
            _ * owner.interfaces >> []
        }
    
        def hasNoOverriddenMethodWhenMethodDoesNotOverrideMethodInSuperClass() {
            ClassMetaData superClassMetaData = Mock()
    
            when:
            def m = method.overriddenMethod
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy

            format(link) == '<classname>boolean</classname>'
        }
    
        def rendersLinkToGroovyClass() {
            when:
            def link = renderer.link(type('groovy.lang.Closure'), listener)
    
            then:
            format(link) == '<ulink url="https://docs.groovy-lang.org/groovyVersion/html/gapi/groovy/lang/Closure.html"><classname>Closure</classname></ulink>'
        }
    
        def rendersLinkToGroovyClassArray() {
            when:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
            format(result.docbook) == '''<para>&lt;&gt;&amp; /&gt;</para>'''
        }
    
        def ignoresHtmlComments() {
            _ * classMetaData.rawCommentText >> '<!-- <p>ignore me</p> --><p>para 1'
    
            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 14.2K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_4x.md

        when certificates matched but the DNS addresses did not. This would only occur when following a
        redirect from one hostname to another, and where both hosts had common certificates.
    
     *  Fix: Don't fail on a redirect when a client has configured a 'trust everything' trust manager.
        Typically this would cause certain redirects to fail in debug and development configurations.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy

            expect:
            type.rawType.signature == 'org.gradle.SomeType[][]'
        }
    
        def rawTypeForVarargsType() {
            when:
            type.setVarargs()
    
            then:
            type.rawType.signature == 'org.gradle.SomeType[]'
    
            when:
            type.arrayDimensions = 1
    
            then:
            type.rawType.signature == 'org.gradle.SomeType[][]'
        }
    
        def rawTypeForParameterizedArrayType() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            MavenProject project = mock(MavenProject.class);
            when(project.getGroupId()).thenReturn("org.apache.maven");
            when(project.getArtifactId()).thenReturn("maven-embedder");
            when(project.getPackaging()).thenReturn("jar");
            when(project.getName()).thenReturn("Apache Maven Embedder");
            when(project.getVersion()).thenReturn("3.5.4-SNAPSHOT");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top