Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for TestType (0.19 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        val functionalTests: Boolean = true,
        val crossVersionTests: Boolean = false,
    ) {
        fun hasTestsOf(testType: TestType) =
            (unitTests && testType.unitTests) ||
                (functionalTests && testType.functionalTests) ||
                (crossVersionTests && testType.crossVersionTests)
    }
    
    data class Stage(
        val stageName: StageName,
        val specificBuilds: List<SpecificBuild> = emptyList(),
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 13:00:26 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/projects/StageProject.kt

                            }
                        },
                    ),
                )
            }
        }
    
        private val TestCoverage.isCrossVersionTest
            get() = testType in setOf(TestType.ALL_VERSIONS_CROSS_VERSION, TestType.QUICK_FEEDBACK_CROSS_VERSION)
    
        private fun createPerformanceTests(
            model: CIBuildModel,
            performanceTestBucketProvider: PerformanceTestBucketProvider,
            stage: Stage,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 16 00:34:25 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                buckets: List<List<String>>,
                testType: TestType,
                functionalTests: List<BaseGradleBuildType>,
            ) {
                buckets.forEachIndexed { index: Int, startEndVersion: List<String> ->
                    assertTrue(functionalTests[index].name.contains("(${startEndVersion[0]} <= gradle <${startEndVersion[1]})"))
                    assertEquals("clean ${testType.asCamelCase()}Test", functionalTests[index].getGradleTasks())
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 16 01:27:05 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

    fun createQuickFeedbackTasks() {
        val testType = TestType.CROSSVERSION
        val defaultExecuter = "embedded"
        val prefix = testType.prefix
        testType.executers.forEach { executer ->
            val taskName = "$executer${prefix.capitalize()}Test"
            val testTask = createTestTask(taskName, executer, sourceSet, testType) {
                this.setSystemPropertiesOfTestJVM("latest")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Sep 05 02:31:24 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

    fun getTestTaskName(
        testCoverage: TestCoverage,
        subprojects: List<String>,
    ): String {
        val testTaskName =
            if (testCoverage.testType == TestType.ISOLATED_PROJECTS) {
                "isolatedProjectsIntegTest"
            } else {
                "${testCoverage.testType.asCamelCase()}Test"
            }
        return when {
            subprojects.isEmpty() -> {
                testTaskName
            }
    
            else -> {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 09 05:26:45 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

                    val testTaskName =
                        if (testCoverage.testType ==
                            TestType.ISOLATED_PROJECTS
                        ) {
                            "isolatedProjectsIntegTest"
                        } else {
                            "${testCoverage.testType.asCamelCase()}Test"
                        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. .teamcity/src/test/kotlin/BuildTypeTest.kt

    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 {
            DslContext.initForTest()
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 25 20:21:47 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  8. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

     */
    fun Project.supportsPredictiveTestSelection() = !isPerformanceProject() && !setOf("smoke-test", "soak", "kotlin-dsl", "smoke-ide-test").contains(name)
    
    /**
     * Test lifecycle tasks that correspond to CIBuildModel.TestType (see .teamcity/Gradle_Check/model/CIBuildModel.kt).
     */
    fun TaskContainer.registerCITestDistributionLifecycleTasks() {
        val ciGroup = "CI Lifecycle"
    
        register("quickTest") {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:44:41 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  9. cmd/test-utils_test.go

    	// simple function which returns a message which gives the context of the test
    	// and then followed by the actual error message.
    	failTestStr := func(testType, failMsg string) string {
    		return fmt.Sprintf("MinIO %s: %s fail for \"%s\": \n<Error> %s", instanceType, testType, testName, failMsg)
    	}
    
    	// httptest Recorder to capture all the response by the http handler.
    	rec := httptest.NewRecorder()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  10. cmd/server_test.go

    	client     *http.Client
    }
    
    type check struct {
    	*testing.T
    	testType string
    }
    
    // Assert - checks if gotValue is same as expectedValue, if not fails the test.
    func (c *check) Assert(gotValue any, expectedValue any) {
    	c.Helper()
    	if !reflect.DeepEqual(gotValue, expectedValue) {
    		c.Fatalf("Test %s expected %v, got %v", c.testType, expectedValue, gotValue)
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
Back to Top