Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/CorePluginUseIntegrationSpec.groovy

        }
    
        void "core plugins cannot be used with apply false"() {
            given:
            buildScript """
                plugins {
                    id "java" apply false
                }
            """
    
            when:
            fails "help"
    
            then:
            failure.assertHasDescription("Error resolving plugin [id: 'java', apply: false]")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  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. subprojects/core/src/test/groovy/org/gradle/tooling/provider/model/internal/DefaultToolingModelBuilderRegistryTest.groovy

            then:
            userCodeApplicationContext.current() >> application
            0 * _
    
            when:
            def actualBuilder = registry.locateForClientOperation("model", false, projectState)
    
            then:
            builder1.canBuild("model") >> false
            builder2.canBuild("model") >> true
            projectState.mutableModel >> project
            projectState.displayName >> Describables.of("<project>")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top