Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for setUp (0.15 sec)

  1. .github/workflows/check-bad-merge.yml

          contents: read
        runs-on: ubuntu-latest
    
        steps:
          - name: Checkout code
            uses: actions/checkout@v4
            with:
              fetch-depth: 0
          - name: Set up JDK 11
            uses: actions/setup-java@v4
            with:
              distribution: 'temurin'
              java-version: '11'
          - name: Install Groovy
            run: sudo apt-get install groovy
          - name: List PR commits
            run: |
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy

        static class NewSuperInternal {}
    
        static class NewBase extends NewSuperInternal {}
    
        static class NewSub extends NewBase {}
    
        Map classes = [:]
    
        def setup() {
            rule = new MethodsRemovedInInternalSuperClassRule(getInitializationParams())
            rule.context = context
            [OldSuperInternal, NewSuperInternal].each {
                CtClass c = instanceScopedPool.get(it.name)
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  3. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

    import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable
    import org.junit.jupiter.api.io.TempDir
    import java.io.File
    
    
    @EnabledIfEnvironmentVariable(named = "CI", matches = ".*", disabledReason = "Tests rely on setup conditional on CI in gradlebuild.ci-reporting plugin running first, these test should only run if CI env var is present (it's value doesn't matter)")
    class TestFilesCleanupServiceTest {
        @TempDir
        lateinit var projectDir: File
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 14 12:35:52 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

        CtClass newBase
        CtClass newSuper
        CtClass newIncubatingBase
        CtClass internalInterface
        CtClass incubatingInterface
        CtClass stablePublicInterface
    
        Map interfaces
    
        def setup() {
            rule = new IncubatingInternalInterfaceAddedRule(getInitializationParams())
            rule.context = context
    
            oldBase = instanceScopedPool.get(OldBase.name)
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 4K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

    
    abstract class AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest {
        @TempDir
        lateinit var projectDir: File
        lateinit var acceptedApiChangesFile: File
    
        @BeforeEach
        fun setUp() {
            projectDir.resolve("src").resolve("changes").mkdirs()
            acceptedApiChangesFile = projectDir.resolve("src/changes/accepted-public-api-changes.json")
    
            projectDir.resolve("build.gradle.kts")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Nov 28 21:09:42 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

    import java.text.SimpleDateFormat
    
    class UpdateReleasedVersionsIntegrationTest extends Specification {
    
        def format = new SimpleDateFormat('yyyyMMddHHmmssZ')
    
        @TempDir
        File tmpDir
    
        def setup() {
            format.timeZone = TimeZone.getTimeZone("UTC")
        }
    
        def "updated released version file has expected format"() {
            given:
            def releasedVersionsFile = new File(tmpDir, "released-versions.json")
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy

    import java.text.SimpleDateFormat
    
    import static java.util.concurrent.TimeUnit.DAYS
    
    class UpdateReleasedVersionsTest extends Specification {
    
        def format = new SimpleDateFormat('yyyyMMddHHmmssZ')
    
        def setup() {
            format.timeZone = TimeZone.getTimeZone("UTC")
        }
    
        def "final release is added to list"() {
            def snapshot = snapshot('4.3')
            def rc = releasedVersion('4.3-rc-1')
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.4K bytes
    - Viewed (0)
  8. .teamcity/src/test/kotlin/PerformanceTestBuildTypeTest.kt

    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

        newClasspath.from(currentClasspath)
        oldClasspath.from(configurations.baselineClasspath)
    
        newArchives.from(currentDistroJars)
        oldArchives.from(baselineJars)
    
        // binary breaking change checking setup
        onlyModified = false
        failOnModification = false // we rely on the custom report to fail or not
        ignoreMissingClasses = true // because of a missing scala.runtime.AbstractFunction0 class
        richReport({
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top