Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 129 for Jest (0.14 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.test-retry.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
        id("org.gradle.test-retry")
    }
    
    if (System.getenv().containsKey("CI")) {
        tasks.withType<Test>().configureEach {
            retry {
                maxRetries.set(2)
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 06:43:17 GMT 2023
    - 810 bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/DocsTest.kt

    mkdir test-splits
    del /f /q test-splits\include-test-classes.properties
    del /f /q test-splits\exclude-test-classes.properties
    (
    $linesWithEcho
    ) > test-splits\$action-test-classes.properties
    echo "Tests to be ${action}d in this build"
    type test-splits\$action-test-classes.properties
    """
    
        return {
            script {
                name = "PREPARE_TEST_CLASSES"
                executionMode = BuildStep.ExecutionMode.ALWAYS
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

        private
        val implementation = PackageListGenerator.Implementation(DEFAULT_EXCLUDES_FOR_TEST)
    
        private
        fun getRelocatedPackages(files: Sequence<Path>): List<String> = mutableListOf<String>().apply {
            implementation.collectPackages(files.toList()).dump(false, this::add)
        }
    
        @Test
        fun `generates a curated list of package prefixes from directories`() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    
    class NullabilityChangesTest : AbstractBinaryCompatibilityTest() {
    
        @Test
        fun `from non-null returning to null returning is breaking (java)`() {
    
            checkNotBinaryCompatibleJava(
                v1 = """
                    public class Source {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupRootPlugin.kt

            }
        }
    
        private
        fun Task.findTraceJson(): List<File> {
            if (this !is Test) {
                return emptyList()
            }
            // e.g. build/test-results/embeddedIntegTest/trace.json
            return listOf(project.layout.buildDirectory.file("test-results/$name/trace.json").get().asFile)
        }
    
        private
        fun Task.genericHtmlReports() = when (this) {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Jul 06 10:57:13 GMT 2023
    - 3K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/promotion/StartReleaseCycleTest.kt

            name = "Start Release Cycle Test"
            description = "Test for Start Release Cycle pipeline"
    
            steps {
                gradleWrapper {
                    name = "PromoteTest"
                    tasks = "clean promoteStartReleaseCycle"
                    useGradleWrapper = true
                    gradleParams = """-PconfirmationCode=startCycle -PtestRun=1 "-PgitUserName=test" "-PgitUserEmail=test@example.com" $pluginPortalUrlOverride"""
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithInnerTypes.groovy

    package org.gradle.test
    
    import org.gradle.test.sub2.GroovyInterface
    
    class GroovyClassWithInnerTypes implements GroovyInterface {
        /**
         * This is an inner enum.
         */
        enum InnerEnum {}
    
        /**
         * This is an inner class.
         */
        static class InnerClass {
            InnerEnum enumProp
    
            /**
             * This is an inner inner class.
             */
            class AnotherInner {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 609 bytes
    - Viewed (0)
  8. .cm/lacks_tests.cm

    # This section could also appear ahead of the automations section.
    
    colors:
      yellow: 'ffb300'
    
    includes_src_changes: {{ files | match(regex=r/.*\/src\//) | some }}
    includes_test_changes: {{ files | match(regex=r/.*\/(test|integTest|crossVersionTest|docsTest|smokeTest)\//) | some }}
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

    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
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.CsvSource
    import java.io.File
    
    /*
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    
    class KotlinModifiersChangeTest : AbstractBinaryCompatibilityTest() {
    
        @Test
        fun `operator or infix modifier change is breaking`() {
    
            checkNotBinaryCompatibleKotlin(
                v1 = """
                    fun Int.invoke(some: Int) {}
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Viewed (0)
Back to top