Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for TestType (0.04 sec)

  1. .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)
  2. .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)
  3. .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)
  4. 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)
  5. .teamcity/src/main/kotlin/common/BuildScanUtils.kt

    fun buildScanTagParam(tag: String) = """-Dscan.tag.$tag"""
    
    fun buildScanCustomValueParam(
        key: String,
        value: String,
    ) = """-Dscan.value.$key=$value"""
    
    fun TestCoverage.asBuildScanCustomValue() =
        testType.name.toCamelCase().toCapitalized() +
            testJvmVersion.toCapitalized() +
            "${vendor.displayName}${os.asName()}${arch.asName()}"
    
    // Generates a Build Scan custom value "PartOf=X,Y,Z"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 10 05:45:46 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

        private val nameToSubproject = subprojects.map { it.name to it }.toMap()
    
        override fun getSubprojectsForFunctionalTest(testConfig: TestCoverage) = subprojects.filter { it.hasTestsOf(testConfig.testType) }
    
        override fun getSubprojectByName(name: String) = nameToSubproject[name]
    
        private fun toSubproject(subproject: Map<String, Any>): GradleSubproject {
            val name = subproject["name"] as String
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. 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") {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 19 06:44:41 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  8. 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()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  9. 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)
    	}
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
Back to top