Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for classMethod (1.68 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4JunitTestFailureIntegrationTest.groovy

        String getInitializationErrorTestName() {
            return 'initializationError'
        }
    
        @Override
        String getBeforeClassErrorTestName() {
            return 'classMethod'
        }
    
        @Override
        String getAfterClassErrorTestName() {
            return 'classMethod'
        }
    
        @Override
        Matcher<? super String>[] getBrokenBeforeAndAfterMatchers() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. fastapi/datastructures.py

            To be awaitable, compatible with async, this is run in threadpool.
            """
            return await super().close()
    
        @classmethod
        def __get_validators__(cls: Type["UploadFile"]) -> Iterable[Callable[..., Any]]:
            yield cls.validate
    
        @classmethod
        def validate(cls: Type["UploadFile"], v: Any) -> Any:
            if not isinstance(v, StarletteUploadFile):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (1)
  3. fastapi/openapi/models.py

        from pydantic import EmailStr
    except ImportError:  # pragma: no cover
    
        class EmailStr(str):  # type: ignore
            @classmethod
            def __get_validators__(cls) -> Iterable[Callable[..., Any]]:
                yield cls.validate
    
            @classmethod
            def validate(cls, v: Any) -> str:
                logger.warning(
                    "email-validator not installed, email fields will be treated as str.\n"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (1)
  4. docs/sts/client_grants/sts_element.py

        functions.
    
        """
    
        def __init__(self, root_name, element):
            self.root_name = root_name
            self.element = element
    
        @classmethod
        def fromstring(cls, root_name, data):
            """Initialize STSElement from name and XML string data.
    
            :param name: Name for XML data. Used in XML errors.
            :param data: string data to be parsed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestEventAdapter.java

            if (methodName != null) {
                return new DefaultTestDescriptor(id, className(description), methodName);
            } else {
                return new DefaultTestDescriptor(id, className(description), "classMethod");
            }
        }
    
        // Use this instead of Description.getMethodName(), it is not available in JUnit <= 4.5
        @Nullable
        public static String methodName(Description description) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. pkg/ctrlz/assets/static/js/prism-1.14.0.min.js

    nue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorTest.groovy

            ATestClassWithUnconstructibleRunner   |'initializationError' |CustomRunnerWithBrokenConstructor.failure
            ATestClassWithBrokenBeforeClassMethod |'classMethod'         |ATestClassWithBrokenBeforeClassMethod.failure
            ATestClassWithBrokenConstructor       |'test'                |ATestClassWithBrokenConstructor.failure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

                builder.build(doc)
                doc
            }
    
            then:
            doc.classMethods.size() == 6
    
            doc.classMethods[0].name == 'a'
            doc.classMethods[1].name == 'b'
            doc.classMethods[2].name == 'b'
            doc.classMethods[3].name == 'c'
            doc.classMethods[4].name == 'd'
            doc.classMethods[5].name == 'e'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        void addClassProperty(PropertyDoc propertyDoc) {
            classProperties.add(propertyDoc.forClass(this))
        }
    
        Collection<MethodDoc> getClassMethods() { return classMethods }
    
        void addClassMethod(MethodDoc methodDoc) {
            classMethods.add(methodDoc.forClass(this))
        }
    
        Collection<BlockDoc> getClassBlocks() { return classBlocks }
    
        void addClassBlock(BlockDoc blockDoc) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

                </chapter>
            ''')
    
            ClassDoc classDoc = classDoc('org.gradle.Class', id: 'classId', content: sourceContent, comment: 'class comment')
            _ * classDoc.classProperties >> []
            _ * classDoc.classMethods >> []
            _ * classDoc.classBlocks >> []
            _ * classDoc.classExtensions >> []
            _ * classDoc.subClasses >> []
    
            when:
            def result = parse('<root/>')
            withCategories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
Back to top