Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 38 for spock (0.02 seconds)

  1. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

            // Read capabilities declared in capabilities.json
            readCapabilitiesFromJson()
    
            // Prevent Spock from pulling in Groovy and third-party dependencies - see https://github.com/spockframework/spock/issues/899
            applyRule<DependencyRemovalByNameRule>(
                "org.spockframework:spock-core",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 26 09:04:32 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

    dependencies {
        api(platform("gradlebuild:build-platform"))
        implementation("gradlebuild:gradle-plugin")
    
        implementation(localGroovy())
        testImplementation(testLibs.findLibrary("spock").get())
        testImplementation(testLibs.findLibrary("bytebuddy").get())
        testImplementation(testLibs.findLibrary("objenesis").get())
    
        testRuntimeOnly(testLibs.findLibrary("junitPlatform").get())
    }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

            val groovyVersion = VersionNumber.parse(versionProperties["groovy"] as String)
            versionProperties["spock"] = "2.3-groovy-${groovyVersion.major}.${groovyVersion.minor}"
    
            findLatest("guava", "com.google.guava:guava:[20,)", versionProperties)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Nov 24 20:45:41 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. BUILDING.md

    Elasticsearch specific build logic is located in the `build-tools-internal` subproject including integration tests.
    
    - Gradle plugins and Tasks should be written in Java
    - We use a groovy and spock for setting up Gradle integration tests.
      (see https://github.com/elastic/elasticsearch/blob/master/build-tools/src/testFixtures/groovy/org/elasticsearch/gradle/fixtures/AbstractGradleFuncTest.groovy)
    
    #### Declaring tasks
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 23 07:45:59 GMT 2021
    - 6.7K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import spock.lang.Specification
    import spock.lang.Subject
    import spock.lang.TempDir
    
    class AcceptedApiChangesJsonFileManagerTest extends Specification {
    
        @TempDir
        File temporaryFolder
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt

    }
    
    
    fun Test.includeSpockAnnotation(fqcn: String) {
        systemProperties.compute("include.spock.annotation") { _, oldValue ->
            if (oldValue == null) fqcn else "$oldValue,$fqcn"
        }
    }
    
    
    fun Test.excludeSpockAnnotation(fqcn: String) {
        systemProperties.compute("exclude.spock.annotation") { _, oldValue ->
            if (oldValue == null) fqcn else "$oldValue,$fqcn"
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.3K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

     */
    
    package gradlebuild.binarycompatibility.rules
    
    import japicmp.model.JApiClass
    import javassist.ClassPool
    import me.champeau.gradle.japicmp.report.ViolationCheckContext
    import spock.lang.Specification
    import spock.lang.TempDir
    
    abstract class AbstractContextAwareRuleSpecification extends Specification {
        @TempDir
        File testDir
    
        ViolationCheckContext context = new ViolationCheckContext() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/PreparePatchReleaseIntegrationTest.groovy

     * limitations under the License.
     */
    
    package gradlebuild.buildutils.tasks
    
    import gradlebuild.buildutils.model.ReleasedVersion
    import spock.lang.Specification
    import spock.lang.TempDir
    
    class PreparePatchReleaseIntegrationTest extends Specification {
    
        @TempDir
        File tmpDir
    
        def "version file is bumped and previous version is added to released versions"() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

     * limitations under the License.
     */
    
    package gradlebuild.buildutils.tasks
    
    import gradlebuild.buildutils.model.ReleasedVersion
    import spock.lang.Specification
    import spock.lang.TempDir
    
    import java.text.SimpleDateFormat
    
    class UpdateReleasedVersionsIntegrationTest extends Specification {
    
        def format = new SimpleDateFormat('yyyyMMddHHmmssZ')
    
        @TempDir
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  10. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionBwcSetupPluginFuncTest.groovy

    package org.elasticsearch.gradle.internal
    
    import org.elasticsearch.gradle.Architecture
    import org.elasticsearch.gradle.fixtures.AbstractGitAwareGradleFuncTest
    import org.gradle.testkit.runner.TaskOutcome
    import spock.lang.IgnoreIf
    import spock.lang.Unroll
    
    /*
     * Test is ignored on ARM since this test case tests the ability to build certain older BWC branches that we don't support on ARM
     */
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 7.9K bytes
    - Click Count (0)
Back to Top