Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for spock (0.1 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

     * limitations under the License.
     */
    package gradlebuild.docs.model
    
    import java.nio.file.Files
    import org.gradle.api.Action
    import org.gradle.api.UnknownDomainObjectException
    import spock.lang.Specification
    import spock.lang.TempDir
    
    class SimpleClassMetaDataRepositoryTest extends Specification {
        @TempDir File tmpDir
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

            readCapabilitiesFromJson()
    
            withModule<ReplaceCglibNodepWithCglibRule>("org.spockframework:spock-core")
            // Prevent Spock from pulling in Groovy and third-party dependencies - see https://github.com/spockframework/spock/issues/899
            withLibraryDependencies<DependencyRemovalByNameRule>(
                "org.spockframework:spock-core",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import spock.lang.Specification
    
    class AcceptedApiChangesTest extends Specification {
    
        def "parses accepted change"() {
            when:
            def changes = AcceptedApiChanges.parse(["""
                {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateKotlinVersionsTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.buildutils.tasks
    
    import spock.lang.Specification
    
    class UpdateKotlinVersionsTest extends Specification {
    
        def previousVersions = [
            "1.9.25", "1.9.24", "1.9.20", "1.9.20-RC2", "1.9.0", "1.9.0-Beta",
            "1.8.22, 1.8.0, 1.8.0-Beta",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 23 22:23:07 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.docs
    
    import org.gradle.testkit.runner.GradleRunner
    import spock.lang.Specification
    import spock.lang.TempDir
    
    class FindBrokenInternalLinksTest extends Specification {
        @TempDir
        private File projectDir
    
        private File docsRoot
        private File sampleDoc
        private File linkErrors
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

    import me.champeau.gradle.japicmp.report.Severity
    import me.champeau.gradle.japicmp.report.ViolationCheckContext
    import org.gradle.api.Incubating
    import spock.lang.Specification
    import spock.lang.TempDir
    
    import javax.inject.Inject
    
    class PublicAPIRulesTest extends Specification {
        private final static String TEST_INTERFACE_NAME = 'org.gradle.api.ApiTest'
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

            val groovyVersion = VersionNumber.parse(versionProperties["groovy"] as String)
            versionProperties["spock"] = "2.2-groovy-${groovyVersion.major}.${groovyVersion.minor}"
    
            findLatest("guava", "com.google.guava:guava:(20,)", versionProperties)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

    ## Making your change
    
    ### Code change guidelines
    
    All code contributions should contain the following:
    
    * Create unit tests using [Spock](https://spockframework.org/spock/docs/2.0/index.html) for new classes or methods that you introduce.
    * Create integration tests that exercise a Gradle build for the bug/feature. 
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Nov 05 15:15:33 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

            val testFrameworkChoice = if (descriptor.testFrameworks.size > 1) """
    Select test framework:
      1: JUnit 4
      2: TestNG
      3: Spock
      4: JUnit Jupiter
    Enter selection (default: JUnit Jupiter) [1..4]
    """ else ""
            val packageNameChoice = if (descriptor.supportsPackage()) "\nEnter target Java version (min: 7, default: 21):\n" else ""
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 22 11:11:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val snappy = "org.iq80.snappy:snappy"
        val servletApi = "javax.servlet:javax.servlet-api"
        val socksProxy = "com.github.bbottema:java-socks-proxy-server"
        val spock = "org.spockframework:spock-core"
        val spockJUnit4 = "org.spockframework:spock-junit4"
        val sshdCore = "org.apache.sshd:sshd-core"
        val sshdOsgi = "org.apache.sshd:sshd-osgi"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 29 08:06:17 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top