Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for sameClass (0.05 sec)

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

            _ * classMetaData.innerClassNames >> ['org.gradle.SomeClass.A']
            _ * classMetaData.className >> 'org.gradle.SomeClass'
            _ * metaDataRepository.get('org.gradle.SomeClass.A') >> innerClass
            _ * innerClass.innerClassNames >> ['org.gradle.SomeClass.A.B']
            _ * innerClass.className >> 'org.gradle.SomeClass.A'
        }
    
        def resolvesUnqualifiedNameToOuterClass() {
            when:
    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/docbook/LinkRendererTest.groovy

            when:
            def link = renderer.link(type('org.gradle.SomeClass'), listener)
    
            then:
            format(link) == '<apilink class="org.gradle.SomeClass"/>'
            _ * model.isKnownType('org.gradle.SomeClass') >> true
        }
    
        def rendersLinkToApiClassArray() {
            when:
            def link = renderer.link(type('org.gradle.SomeClass', true), listener)
    
            then:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

            _ * linkRenderer.link({it.name == 'org.gradle.SomeClass'}, listener) >> parse('<someLinkElement/>')
        }
    
        def resolvesUnknownFullyQualifiedClassName() {
            when:
            def link = converter.resolve('org.gradle.SomeClass', classMetaData, listener)
    
            then:
            format(link) == '''<UNHANDLED-LINK>org.gradle.SomeClass</UNHANDLED-LINK>'''
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/TestLogHandler.java

     *     super.setUp();
     *     handler = new TestLogHandler();
     *     SomeClass.logger.addHandler(handler);
     *     addTearDown(new TearDown() {
     *       public void tearDown() throws Exception {
     *         SomeClass.logger.removeHandler(handler);
     *       }
     *     });
     *   }
     *
     *   public void test() {
     *     SomeClass.foo();
     *     LogRecord firstRecord = handler.getStoredLogRecords().get(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 20:53:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ClassMetaDataTest.groovy

            def notDeprecated = new ClassMetaData("SomeClass")
            def deprecated = new ClassMetaData("SomeClass")
            deprecated.addAnnotationTypeName(Deprecated.class.name)
    
            expect:
            !notDeprecated.deprecated
            deprecated.deprecated
        }
    
        def "is incubating when @Incubating annotation is attached to class"() {
            def notIncubating = new ClassMetaData("SomeClass")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

        }
    
        def convertsALinkTag() {
            _ * classMetaData.rawCommentText >> '{@link someClass} {@link otherClass#method(a, b) label}'
    
            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
            format(result.docbook) == '''<para><xref/> <xref/></para>'''
            1 * linkConverter.resolve('someClass', classMetaData, listener) >> document.createElement("xref")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 14.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

     *     super.setUp();
     *     handler = new TestLogHandler();
     *     SomeClass.logger.addHandler(handler);
     *     addTearDown(new TearDown() {
     *       public void tearDown() throws Exception {
     *         SomeClass.logger.removeHandler(handler);
     *       }
     *     });
     *   }
     *
     *   public void test() {
     *     SomeClass.foo();
     *     LogRecord firstRecord = handler.getStoredLogRecords().get(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 20:53:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaDataTest.groovy

        def formatsSignature() {
            def type = new TypeMetaData('org.gradle.SomeClass')
            propertyMetaData.type = type
    
            expect:
            propertyMetaData.signature == 'org.gradle.SomeClass prop'
        }
    
        def usesGetterToLocateOverriddenProperty() {
            MethodMetaData getter = Mock()
            MethodMetaData overriddenGetter = Mock()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/ClassIterator.java

    /**
     * クラスの継承階層を親クラスに向かって反復する{@link Iterator}です。
     * <p>
     * 次のように使います.
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.lang.ClassIterator.*;
     *
     * Class&lt;?&gt; someClass = ...;
     * for (Class&lt;?&gt; clazz : iterable(someClass)) {
     *     ...
     * }
     * </pre>
     * <p>
     * デフォルトでは{@link Object}クラスも反復の対象となります。 反復の対象に{@link Object}を含めたくない場合は、
     * {@link #iterable(Class, boolean)}または{@link #ClassIterator(Class, boolean)}
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top