Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for When (0.16 sec)

  1. 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
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            val ctDeclaringClass = ctMember.declaringClass
            when {
                ctMember is CtMethod && ctMember.isSynthetic -> true // synthetic members cannot have kdoc
                ctMember is CtClass -> ktFile.ktClassOf(ctMember)?.isDocumentedAsSince(version) == true
                ktFile.ktClassOf(ctDeclaringClass)?.isDocumentedAsSince(version) == true -> true
                else -> when (ctMember) {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

         */
        const val ENABLE_CONFIGURATION_CACHE_FOR_DOCS_TESTS = "enableConfigurationCacheForDocsTests"
    
        /**
         * Run docs tests that are knowingly broken when running with the configuration cache enabled. Only applied when #ENABLE_CONFIGURATION_CACHE_FOR_DOCS_TESTS is also set.
         */
        const val RUN_BROKEN_CONFIGURATION_CACHE_DOCS_TESTS = "runBrokenConfigurationCacheDocsTests"
    
        internal
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Jan 01 01:23:31 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  4. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

            val sourceFile: String
            val testSourceFile: String
            val sourceFileTree: String
            val testSourceFileTree: String
            when {
                descriptor.language === Language.CPP -> {
                    exampleClass = if (descriptor.componentType === ComponentType.LIBRARY) "Hello" else "Greeter"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 06 17:51:21 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        quick(true, true, true, 120, 4),
    
        // Include cross version tests, these take care of selecting a very small set of versions to cover when run as part of this stage, including the current version
        platform(true, true, true),
    
        // Cross version tests select a small set of versions to cover when run as part of this stage
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 23 01:54:48 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            resolver("${prefix}TestSrcDistributionPath", "gradle-src-distribution-zip", srcDistribution)
            resolver("${prefix}TestAgentsClasspath", LibraryElements.JAR)
        }
    
        // do not attempt to find projects when the plugin is applied just to generate accessors
        if (project.name != "gradle-kotlin-dsl-accessors" && project.name != "test" /* remove once wrapper is updated */) {
            dependencies {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

        override fun onFinish(event: FinishEvent) {
            if (event is TaskFinishEvent && taskPathReports.containsKey(event.descriptor.taskPath)) {
                val taskPath = event.descriptor.taskPath
                when (event.result) {
                    is TaskSuccessResult -> {
                        addExecutedTaskPath(taskPath)
                        if (containsFailedTest(taskPath)) {
                            addFailedTaskPath(taskPath)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

    The filter is a dropdown box that appears when you click the `Severity ⬇️ ` label in the black header bar to the immediate right of the Gradle version.
    
    If you have a large number of messages of different types, filtering by severity to see only `Error`s can be helpful when processing the report.
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat May 04 07:43:02 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

        if (project.rerunAllTests.get()) {
            doNotTrackState("All tests should re-run")
        }
    }
    
    fun Test.determineMaxRetries() = when {
        project.flakyTestStrategy == FlakyTestStrategy.ONLY -> 4
        else -> 2
    }
    
    fun Test.determineMaxFailures() = when {
        project.flakyTestStrategy == FlakyTestStrategy.ONLY -> Integer.MAX_VALUE
        else -> 10
    }
    
    fun configureTests() {
        normalization {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jan 17 13:36:27 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

            excludedPackages.add("org.gradle.plugins.ide.idea.model");
            excludedPackages.add("org.gradle.api.tasks.testing.logging");
    
            // TODO - rename some incubating types to remove collisions and then remove these exclusions
            excludedPackages.add("org.gradle.plugins.binaries.model");
    
            // Exclude classes that were moved in a different package but the deprecated ones are not removed yet
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 01 05:46:51 GMT 2024
    - 17.7K bytes
    - Viewed (0)
Back to top