Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 8,420 for wren (0.07 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/DisallowBuildSrcAsNameIntegTest.groovy

    class DisallowBuildSrcAsNameIntegTest extends AbstractIntegrationSpec {
    
        def "fails when trying to include buildSrc as project"() {
            buildFile << """
                task t
            """
            settingsFile << """
                include 'buildSrc'
            """
    
            when:
            fails "t"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 24 20:48:49 UTC 2021
    - 3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

                """
            }
    
            when:
            configurationCacheRun 'tasks', '-I', initScript.absolutePath
    
            then:
            outputContains 'foo!'
            configurationCache.assertStateStored()
            problems.assertResultHasProblems(result) {
                withInput("Initialization script 'initscript.gradle': file 'input.txt'")
            }
    
            when:
            buildLogicInput.text = 'bar!'
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPathTest.groovy

        }
    
        def "executable is unavailable when not found in system path"() {
            def visitor = Mock(DiagnosticsVisitor)
    
            given:
            os.getExecutableName("cc") >> "cc.bin"
            os.path >> []
    
            when:
            def result = registry.locate(ToolType.C_COMPILER, "cc")
    
            then:
            !result.available
    
            when:
            result.explain(visitor)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/RestartEveryNTestClassProcessorTest.groovy

            then:
            1 * delegate.stop()
            0 * _._
        }
    
        def 'does nothing on end of processing when no tests received'() {
            expect:
            processor.stop()
        }
    
        def 'does nothing on end of processing when on nth test'() {
            when:
            processor.startProcessing(resultProcessor)
            processor.processTestClass(test1)
            processor.processTestClass(test2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/NonHierarchicalFileWatcherUpdaterTest.groovy

            def fileInWatchableHierarchies = file("first/inside/root/dir/file.txt")
            def fileOutsideOfWatchableHierarchies = file("forth").file("someFile.txt")
    
            when:
            registerWatchableHierarchies(watchableHierarchies)
            then:
            0 * _
    
            when:
            fileInWatchableHierarchies.createFile()
            addSnapshot(snapshotRegularFile(fileInWatchableHierarchies))
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/ModelPathValidationTest.groovy

        def "validate name"() {
            when:
            ModelPath.validateName("")
    
            then:
            def e = thrown(ModelPath.InvalidNameException)
            e.message =~ "empty string"
    
            when:
            ModelPath.validateName("ΓΌ")
    
            then:
            e = thrown(ModelPath.InvalidNameException)
            e.message =~ "first character"
    
            when:
            ModelPath.validateName(" ")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/DownloadedUriTextResourceTest.groovy

        }
    
        def "should have no content when downloaded file has no content"() {
            when:
            downloadedFile.text = ""
            underTest = new DownloadedUriTextResource("Test description", sourceUri, "", downloadedFile, resolver)
    
            then:
            underTest.getHasEmptyContent()
        }
    
        def "should have content when downloaded file has content"() {
            when:
            downloadedFile.text = "Some content"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/cache/DefaultCacheConfigurationsTest.groovy

            when:
            cacheConfigurations.createdResources.setRemoveUnusedEntriesAfterDays(0)
    
            then:
            thrown(IllegalArgumentException)
    
            when:
            cacheConfigurations.downloadedResources.setRemoveUnusedEntriesAfterDays(0)
    
            then:
            thrown(IllegalArgumentException)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesBetweenBuildsFileSystemWatchingIntegrationTest.groovy

            mainSourceFile.text = sourceFileWithGreeting("Hello World!")
    
            when:
            runWithWatchingEnabled("run")
            then:
            outputContains "Hello World!"
            executedAndNotSkipped ":compileJava", ":classes", ":run"
    
            when:
            mainSourceFile.text = sourceFileWithGreeting("Hello VFS!")
            waitForChangesToBePickedUp()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java-library/src/test/groovy/org/gradle/api/plugins/JavaLibraryPluginTest.groovy

        def "applies Java plugin"() {
            when:
            project.pluginManager.apply(JavaLibraryPlugin)
    
            then:
            project.plugins.findPlugin(JavaPlugin)
        }
    
        def "adds configurations to the project"() {
            given:
            project.pluginManager.apply(JavaLibraryPlugin)
    
            when:
            def api = project.configurations.getByName(JvmConstants.API_CONFIGURATION_NAME)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 20:08:52 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top