Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for assertGradleFilesGenerated (0.2 sec)

  1. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionIntegrationTest.groovy

    """
        }
    
        def "singleModule"() {
            def dsl = dslFixtureFor(scriptDsl)
    
            when:
            run 'init', '--dsl', scriptDsl.id as String
    
            then:
            dsl.assertGradleFilesGenerated()
            dsl.getSettingsFile().text.contains("rootProject.name = 'util'") || dsl.getSettingsFile().text.contains('rootProject.name = "util"')
            assertContainsPublishingConfig(dsl.getBuildFile(), scriptDsl)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 15:23:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitInteractiveIntegrationTest.groovy

            }
    
            closeInteractiveExecutor(handle)
    
            then:
            ScriptDslFixture.of(BuildInitDsl.KOTLIN, targetDir, null).assertGradleFilesGenerated()
        }
    
        def "does not prompt for options provided on the command-line"() {
            when:
            def handle = startInteractiveExecutorWithTasks(
                "init",
                "--incubating",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/JavaLibraryInitIntegrationTest.groovy

        def "defaults to Kotlin build scripts"() {
            when:
            run ('init', '--type', 'java-library' )
    
            then:
            dslFixtureFor(KOTLIN).assertGradleFilesGenerated()
        }
    
        def "creates sample source if no source present with #scriptDsl build scripts"() {
            def dslFixture = dslFixtureFor(scriptDsl)
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 11.8K bytes
    - Viewed (1)
Back to top