Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for TestType (0.04 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.basics.testing
    
    import org.gradle.api.tasks.testing.Test
    
    
    enum class TestType(val prefix: String, val executers: List<String>) {
        INTEGRATION("integ", listOf("embedded", "forking", "noDaemon", "parallel", "configCache", "isolatedProjects")),
        CROSSVERSION("crossVersion", listOf("embedded", "forking"))
    }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild.integration-tests.gradle.kts

        extendsFrom(configurations.named("integTestDistributionRuntimeOnly").get())
    }
    createTasks(sourceSet, TestType.INTEGRATION)
    configureIde(TestType.INTEGRATION)
    
    createTestTask("integMultiVersionTest", "forking", sourceSet, TestType.INTEGRATION) {
        // This test task runs only multi-version tests and is intended to be used in the late pipeline to sweep up versions not previously tested
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 18 16:39:23 UTC 2025
    - 2.4K bytes
    - Viewed (5)
  3. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            for (stage in model.stages) {
                for (testCoverage in stage.functionalTests) {
                    if (testCoverage.testType !in
                        listOf(TestType.ALL_VERSIONS_CROSS_VERSION, TestType.QUICK_FEEDBACK_CROSS_VERSION, TestType.SOAK)
                    ) {
                        result[testCoverage] = splitBucketsByTestClassesForBuildProject(testCoverage, buildProjectClassTimes)
                    }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Apr 10 15:09:32 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

        ): List<FunctionalTest> =
            when {
                testCoverage.testType == TestType.QUICK_FEEDBACK_CROSS_VERSION ->
                    quickCrossVersionTestBucketProvider.createFunctionalTestsFor(
                        stage,
                        testCoverage,
                    )
                testCoverage.testType == TestType.ALL_VERSIONS_CROSS_VERSION ->
                    allCrossVersionTestBucketProvider.createFunctionalTestsFor(
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Sep 24 08:38:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. .teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt

    import common.getBuildScanCustomValueParam
    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 BuildScanTagUtilsTest {
        init {
            DslContext.initForTest()
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Aug 05 16:58:51 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. 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")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Sep 05 02:31:24 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. .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 -> {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 09 05:26:45 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

                    val testTaskName =
                        if (testCoverage.testType ==
                            TestType.ISOLATED_PROJECTS
                        ) {
                            "isolatedProjectsIntegTest"
                        } else {
                            "${testCoverage.testType.asCamelCase()}Test"
                        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 22 07:15:16 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. .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()
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 25 20:21:47 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/NetbiosNameTest.java

        @DisplayName("Should handle getNameType() method")
        void testGetNameType() {
            // Given
            int testType = 0x20; // Server service
            when(mockNetbiosName.getNameType()).thenReturn(testType);
    
            // When
            int nameType = mockNetbiosName.getNameType();
    
            // Then
            assertEquals(testType, nameType);
            verify(mockNetbiosName).getNameType();
        }
    
        @ParameterizedTest
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top