Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for JsonBasedGradleSubprojectProvider (0.34 sec)

  1. .teamcity/src/main/kotlin/projects/GradleBuildToolRootProject.kt

    import common.VersionedSettingsBranch
    import common.isSecurityFork
    import jetbrains.buildServer.configs.kotlin.Project
    import model.CIBuildModel
    import model.DefaultFunctionalTestBucketProvider
    import model.JsonBasedGradleSubprojectProvider
    import promotion.PromotionProject
    import util.UtilPerformanceProject
    import util.UtilProject
    import java.io.File
    
    class GradleBuildToolRootProject(branch: VersionedSettingsBranch) : Project({
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 1002 bytes
    - Viewed (0)
  2. .teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt

    import model.CIBuildModel
    import model.JsonBasedGradleSubprojectProvider
    import model.TestCoverage
    import model.TestType
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    import java.io.File
    
    class BuildScanTagUtilsTest {
        init {
            DslContext.initForTest()
        }
    
        private val subprojectProvider = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json"))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. .teamcity/src/test/kotlin/BuildTypeTest.kt

    import configurations.CompileAll
    import configurations.FunctionalTest
    import configurations.GRADLE_RUNNER_STEP_NAME
    import jetbrains.buildServer.configs.kotlin.DslContext
    import model.CIBuildModel
    import model.JsonBasedGradleSubprojectProvider
    import model.TestCoverage
    import model.TestType
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    import java.io.File
    
    class BuildTypeTest {
        init {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

    import io.mockk.mockk
    import io.mockk.slot
    import jetbrains.buildServer.configs.kotlin.BuildStep
    import jetbrains.buildServer.configs.kotlin.BuildSteps
    import model.CIBuildModel
    import model.JsonBasedGradleSubprojectProvider
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.ExtendWith
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. .teamcity/src/test/kotlin/PerformanceTestBuildTypeTest.kt

    import jetbrains.buildServer.configs.kotlin.BuildStep
    import jetbrains.buildServer.configs.kotlin.DslContext
    import jetbrains.buildServer.configs.kotlin.buildSteps.GradleBuildStep
    import model.CIBuildModel
    import model.JsonBasedGradleSubprojectProvider
    import model.PerformanceTestCoverage
    import model.PerformanceTestType
    import model.Stage
    import model.StageName
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

    import jetbrains.buildServer.configs.kotlin.failureConditions.BuildFailureOnText
    import model.ALL_CROSS_VERSION_BUCKETS
    import model.CIBuildModel
    import model.DefaultFunctionalTestBucketProvider
    import model.JsonBasedGradleSubprojectProvider
    import model.QUICK_CROSS_VERSION_BUCKETS
    import model.TestCoverage
    import model.TestType
    import model.ignoredSubprojects
    import org.junit.jupiter.api.Assertions.assertEquals
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

        val subprojects: List<GradleSubproject>
        fun getSubprojectsForFunctionalTest(testConfig: TestCoverage): List<GradleSubproject>
        fun getSubprojectByName(name: String): GradleSubproject?
    }
    
    data class JsonBasedGradleSubprojectProvider(private val jsonFile: File) : GradleSubprojectProvider {
        @Suppress("UNCHECKED_CAST")
        override val subprojects = JSON.parseArray(jsonFile.readText()).map { toSubproject(it as Map<String, Any>) }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 02 14:55:06 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

     */
    fun main() {
        val model = CIBuildModel(
            projectId = "Check",
            branch = VersionedSettingsBranch("master"),
            buildScanTags = listOf("Check"),
            subprojects = JsonBasedGradleSubprojectProvider(File("./subprojects.json"))
        )
        val testClassDataJson = File(System.getProperty("inputTestClassDataJson") ?: throw IllegalArgumentException("Input file not found!"))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 29 11:04:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top