Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for fun (0.24 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

    class KotlinInternalFilteringTest : AbstractBinaryCompatibilityTest() {
    
        private
        val internalMembers = """
    
            internal fun foo() {}
    
            internal val bar = "bar"
    
            internal var bazar = "bazar"
    
            internal fun String.fooExt() {}
    
            internal fun Int.fooExt() {}
    
            internal val String.barExt: String
                get() = "bar"
    
            internal var Int.bazarExt: String
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            }
        }
    }
    
    
    internal
    fun Project.addSourceSet(testType: TestType): SourceSet {
        val prefix = testType.prefix
        val sourceSets = the<SourceSetContainer>()
        val main by sourceSets.getting
        return sourceSets.create("${prefix}Test") {
            compileClasspath += main.output
            runtimeClasspath += main.output
        }
    }
    
    
    internal
    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)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

            private
            val disposable: Disposable
    
        ) : AutoCloseable {
    
            override fun close() {
                Disposer.dispose(disposable)
            }
        }
    
        private
        val messageCollector: MessageCollector
            get() = PrintingMessageCollector(System.out, MessageRenderer.PLAIN_RELATIVE_PATHS, false)
    
        fun <T : Any> mapParsedKotlinFiles(vararg sourceRoots: File, block: (KtFile) -> T): List<T> =
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

        override fun toString(): String {
            return "SubprojectTestClassTime(subProject=${subProject.name}, totalTime=$totalTime)"
        }
    }
    
    class FunctionalTestBucketGenerator(private val model: CIBuildModel, testTimeDataJson: File) {
        private val buckets: Map<TestCoverage, List<SmallSubprojectBucket>> = buildBuckets(testTimeDataJson, model)
    
        fun generate(jsonFile: File) {
            jsonFile.writeText(
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Feb 15 17:04:41 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    
    private
    fun isSinceJavaClassVisitorFor(classSimpleName: String, version: String) =
        object : PredicateVisitor() {
    
            override fun visit(declaration: ClassOrInterfaceDeclaration, arg: Unit?): Boolean? =
                if (declaration.matchesNameAndIsSince(classSimpleName, version)) true
                else super.visit(declaration, arg)
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            val isBinaryCompatible = checkFailure == null
    
            fun assertEmptyReport() {
                assertHasNoError()
                assertHasNoWarning()
                assertHasNoInformation()
            }
    
            fun assertHasNoError() {
                assertTrue("Has no error (${richReport.errors})", richReport.errors.isEmpty())
            }
    
            fun assertHasNoWarning() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

        }
    
        private
        fun addFailedTaskPath(taskPath: String) {
            projectPathToFailedTaskPaths.computeIfAbsent(taskPathToProjectPath(taskPath)) { mutableListOf() }.add(taskPath)
        }
    
        private
        fun getFailedTaskPaths(projectPath: String) = projectPathToFailedTaskPaths.getOrDefault(projectPath, emptyList())
    
        private
    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. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

            )
        }
    
    
    private
    fun Document.scrapeMessagesForSeverity_OLD(severity: String): List<String> =
    
        select("tr.severity-$severity").map { tr ->
            tr.select("td")[1]
                .select("span")
                .text()
                .substringBefore(" If you did this intentionally")
        }
    
    
    private
    fun Document.scrapeMessagesForSeverity(severity: String): List<ReportMessage> =
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Sep 21 16:02:23 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/common/extensions.kt

     *
     * @see GradleBuildStep
     */
    fun BuildSteps.gradleWrapper(buildType: BuildType? = null, init: GradleBuildStep.() -> Unit): GradleBuildStep =
        customGradle(init) {
            useGradleWrapper = true
            if (buildFile == null) {
                buildFile = "" // Let Gradle detect the build script
            }
            skipConditionally(buildType)
        }
    
    fun Requirements.requiresOs(os: Os) {
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

            get() = branchName == EXPERIMENTAL_BRANCH
    
        fun vcsRootId() = DslContext.settingsRoot.id.toString()
    
        fun promoteNightlyTaskName() = nightlyTaskName("promote")
        fun prepNightlyTaskName() = nightlyTaskName("prep")
    
        fun promoteMilestoneTaskName(): String = when {
            isRelease -> "promoteReleaseMilestone"
            else -> "promoteMilestone"
        }
    
        fun promoteFinalReleaseTaskName(): String = when {
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.4K bytes
    - Viewed (0)
Back to top