Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for setUp (0.15 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

        @TempDir
        File temporaryFolder
    
        @Subject AcceptedApiChangesJsonFileManager jsonFileManager = new AcceptedApiChangesJsonFileManager()
    
        def jsonFile
    
        def setup() {
            jsonFile = new File(temporaryFolder, 'acceptedChanges.json')
        }
    
        def "can clean existing API changes"() {
            given:
            jsonFile << existingAcceptedApiChanges()
    
            when:
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  2. .github/workflows/contributor-pr.yml

            uses: actions/checkout@v4
          - name: setup java
            uses: actions/setup-java@v4
            with:
              distribution: temurin
              java-version: 11
          - uses: actions/download-artifact@v4
            with:
              name: build-receipt.properties
              path: incoming-distributions/build-receipt.properties
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v3
            with:
    Others
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Apr 16 09:36:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. build-logic/build-init-samples/src/main/kotlin/gradlebuild/generate-samples.gradle.kts

            dsls = setOf(Dsl.GROOVY, Dsl.KOTLIN)
            sampleDirectory = generateSampleTask.flatMap { it.target }
            displayName = "Building $languageDisplayName $capKind$multiProjectSuffix"
            description = "Setup a $languageDisplayName $kind project$multiProjectSuffix step-by-step."
            category = language.toString()
        }
    }
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  4. .github/workflows/submit-github-dependency-graph.yml

    permissions:
      contents: write
    
    jobs:
      generate-and-submit:
        runs-on: ubuntu-latest
        steps:
        - uses: actions/checkout@v4
        - uses: actions/setup-java@v4
          with:
            distribution: temurin
            java-version: 11
        - name: Setup Gradle
          uses: gradle/actions/dependency-submission@v3
          with:
            # Action runs a custom dependencies task that fails with config-cache on Gradle 8.7 (works with 8.6)
    Others
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Apr 16 09:18:51 GMT 2024
    - 1.1K bytes
    - Viewed (2)
  5. .github/workflows/codeql-analysis.yml

          # See: https://github.com/actions/virtual-environments/issues/1187#issuecomment-686735760
          run: sudo ethtool -K eth0 tx off rx off
    
        # Install and setup JDK 11
        - name: Setup JDK 11
          uses: actions/setup-java@v4
          with:
            distribution: temurin
            java-version: 11
    
        # Initializes the CodeQL tools for scanning.
        - name: Initialize CodeQL
    Others
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Jan 30 18:26:59 GMT 2024
    - 4K 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 Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

            void putUserData(String key, Object value) {
                userData[key] = value
            }
        }
    
        ClassPool instanceScopedPool = new ClassPool()
    
        JApiClass apiClass = Stub(JApiClass)
    
        def setup() {
            instanceScopedPool.appendSystemPath()
        }
    
        void noViolation(def rule) {
            assert rule.maybeViolation(apiClass) == null
        }
    
        Map getInitializationParams() {
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/common/performance-test-extensions.kt

    testing/*/build/tmp/**/daemon-*.out.log => failure-logs
    """
    
    // to avoid pathname too long error
    fun BuildSteps.substDirOnWindows(os: Os) {
        if (os == Os.WINDOWS) {
            script {
                name = "SETUP_VIRTUAL_DISK_FOR_PERF_TEST"
                executionMode = BuildStep.ExecutionMode.ALWAYS
                scriptContent = """
                    subst p: /d
                    subst p: "%teamcity.build.checkoutDir%"
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Apr 04 07:21:42 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. 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 Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.4K bytes
    - Viewed (0)
  10. .teamcity/src/test/kotlin/PerformanceTestBuildTypeTest.kt

    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top