Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of about 10,000 for fals (0.18 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/ClosureBackedRuleActionTest.groovy

            given:
            def called = false
            String thing = "1"
            def closure = { ->
                called = true
                assert delegate.is(thing)
            }
    
            when:
            action(closure).execute(thing, [])
    
            then:
            called
        }
    
        def "can construct with empty arg closure"() {
            given:
            def called = false
            String thing = "1"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/body-multiple-params.md

    === "Python 3.8+"
    
        ```Python hl_lines="22"
        {!> ../../../docs_src/body_multiple_params/tutorial002.py!}
        ```
    
    In diesem Fall wird **FastAPI** bemerken, dass es mehr als einen Body-Parameter in der Funktion gibt (zwei Parameter, die Pydantic-Modelle sind).
    
    Es wird deshalb die Parameternamen als Schlüssel (Feldnamen) im Body verwenden, und erwartet einen Body wie folgt:
    
    ```JSON
    {
        "item": {
            "name": "Foo",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 29 17:32:43 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy

            }
    """
            expect:
            fails("check")
            failure.assertHasCause("Invalid rulesMinimumPriority '11'.  Valid range 1 (highest) to 5 (lowest).")
        }
    
        def "can configure reporting"() {
            goodCode()
            buildFile << """
                pmdMain {
                    reports {
                        xml.required = false
                        html.outputLocation = file("htmlReport.html")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/AbstractLockingIntegrationTest.groovy

        @ToBeFixedForConfigurationCache(because = "Does actually write the lock file when CC is enabled (which is fine, because all dependency resolution has completed successfully by the time the task fails)")
        def 'does not write lock file when task execution fails'() {
            mavenRepo.module('org', 'bar', '1.1').publish()
    
            buildFile << """
    dependencyLocking {
        lockAllConfigurations()
    }
    
    repositories {
        maven {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/UnsupportedConfigurationMutationTest.groovy

            """
            when:
            fails()
    
            then:
            failure.assertHasCause("Cannot change usage of dependency configuration ':a' after it has been resolved")
    
            where:
            role                      | code
            'consume or publish only' | 'configurations.a.canBeResolved = false'
            'query or resolve only'   | 'configurations.a.canBeConsumed = false'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:59:50 UTC 2024
    - 17.6K bytes
    - Viewed (2)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4RerunPreviousFailedTestIntegrationTest.groovy

        }
    
        def 'subsequent execution runs failed test first'() {
            given:
            letTestFail(indexOfTestToFail)
    
            when:
            fails('test', '--info')
    
            then:
            testFailed(indexOfTestToFail)
    
            when:
            fails('test', '--info')
    
            then:
            failedTestAreRerunFirst(indexOfTestToFail)
    
            when:
            letTestFail(0)
            succeeds('test')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

            (findRequiredKeystoreFile(false) != null) == keystoreExpected
    
            where:
            kind                    | enabled   | keystoreExpected
            EncryptionKind.NONE     | false     | false
            EncryptionKind.KEYSTORE | true      | true
            EncryptionKind.ENV_VAR  | true      | false
        }
    
        private boolean isFoundInDirectory(File startDir, byte[] toFind) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginSyntheticIntegrationTest.kt

            withFile(
                "external-plugins/src/main/kotlin/applied-output-fails.gradle.kts", """
                ${outputFrom("applied-output-fails plugin")}
                TODO("applied-output-fails plugin application failure")
            """
            )
    
            withDefaultSettings().appendText("""includeBuild("external-plugins")""")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 07:16:19 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  9. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginVersionIntegrationTest.groovy

            def message = "Name 'class1' must match pattern"
    
            given:
            defaultLanguage('en')
            badCode()
            fails("check")
            failure.assertHasErrorOutput(message)
    
            when:
            buildFile << "checkstyle { showViolations = false }"
            fails("check")
    
            then:
            failure.assertHasDescription("Execution failed for task ':checkstyleMain'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/query-params-str-validations.md

        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params_str_validations/tutorial003_py310.py!}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="10"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 17:58:59 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top