Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for writeResources (0.19 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/IsolatingIncrementalAnnotationProcessingIntegrationTest.groovy

        private static HelperProcessorFixture writingResourcesTo(String location) {
            def helperProcessorFixture = new HelperProcessorFixture()
            helperProcessorFixture.writeResources = true
            helperProcessorFixture.resourceLocation = location
            return helperProcessorFixture
        }
    
        private HelperProcessorFixture helperProcessor
    
        @Override
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryDependenciesIntegrationTest.groovy

                }
    """
        }
    
        def "produces reasonable error message when referenced library #label"() {
            given:
            def app = new CppHelloWorldApp()
            app.executable.writeSources(file("exe/src/main"))
            app.library.writeSources(file("lib/src/hello"))
    
            and:
            createDirs("exe", "other")
            settingsFile.text = "include ':exe', ':other'"
            buildFile << """
    project(":exe") {
        model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelSingleProjectIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "create visual studio solution for build with an executable and library"() {
            when:
            app.executable.writeSources(file("src/main"))
            app.library.writeSources(file("src/hello"))
            buildFile << """
    model {
        components {
            hello(NativeLibrarySpec)
            main(NativeExecutableSpec) {
                sources {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryConfigurationIntegrationTest.groovy

        apply plugin: 'cpp'
        model {
            components {
                main(NativeExecutableSpec)
            }
        }
    }
            """
    
            and:
            helloWorldApp.writeSources(file("a/src/main"))
            helloWorldApp.writeSources(file("b/src/main"))
    
            file("b/src/main/cpp/broken.cpp") << """
        A broken C++ file
    """
    
            expect:
            fails "mainExecutable"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/GeneratedSourcesIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "generator task produces sources for dependent source set"() {
            given:
            def app = new CHelloWorldApp()
            app.executable.writeSources(file("src/main"))
            app.library.writeSources(file("src/input"))
            degenerateInputSources()
    
            when:
            buildFile << """
    apply plugin: 'c'
    
    model {
        components {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioIncrementalIntegrationTest.groovy

        def "visual studio tasks re-execute when new component is added"() {
            app.writeSources(file("src/main"))
    
            when:
            run "visualStudio"
    
            then:
            executedAndNotSkipped ":appVisualStudioSolution"
            executedAndNotSkipped getComponentTasks("app")
    
            when:
            app.writeSources(file("foo/src/main"))
            settingsFile << """
                include ':foo'
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  7. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "can configure location of cunit test sources"() {
            given:
            useStandardConfig()
            app.library.writeSources(file("src/hello"))
            app.cunitTests.writeSources(file("src/alternateHelloTest"))
    
            when:
            buildFile << """
    model {
        testSuites {
            helloTest {
                sources {
                    c {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
  8. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/googletest/GoogleTestIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "can configure location of googleTest test sources"() {
            given:
            useStandardConfig()
            app.library.writeSources(file("src/hello"))
            app.googleTestTests.writeSources(file("src/alternateHelloTest"))
    
            when:
            buildFile << """
    model {
        testSuites {
            helloTest {
                sources {
                    cpp {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelMultiProjectIntegrationTest.groovy

        def "visual studio solution does not reference the components of a project if it does not have visual studio plugin applied"() {
            when:
            app.executable.writeSources(file("exe/src/main"))
            app.library.writeSources(file("lib/src/hello"))
            app.library.writeSources(file("other/src/greeting"))
    
            createDirs("exe", "lib", "other")
            settingsFile << """
                include ':exe', ':lib', ':other'
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 26K bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioMultiProjectIntegrationTest.groovy

        def "visual studio solution does not reference the components of a project if it does not have visual studio plugin applied"() {
            when:
            app.executable.writeSources(file("exe/src/main"))
            app.library.writeSources(file("lib/src/main"))
            app.library.writeSources(file("other/src/main"))
    
            createDirs("exe", "lib", "other")
            settingsFile << """
                include ':exe', ':lib', ':other'
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top