Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 370 for sourceFiles (0.39 sec)

  1. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/SkipEmptyIncrementalWorkStepTest.groovy

            didWork | outcome
            true    | EXECUTED_NON_INCREMENTALLY
            false   | SHORT_CIRCUITED
            description = didWork ? "removed files" : "no files removed"
        }
    
        def "exception thrown when sourceFiles are empty and deletes previous output, but delete fails"() {
            def previousOutputFile = file("output.txt").createFile()
            def outputFileSnapshot = snapshot(previousOutputFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:46:24 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/SourceSetDependenciesIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "source dependency on source set of headers"() {
            def app = new CHelloWorldApp()
            app.executable.writeSources(file("src/main"))
            app.library.sourceFiles*.writeToDir(file("src/main"))
            app.library.headerFiles*.writeToDir(file("src/library"))
    
            buildFile << """
    apply plugin: 'c'
    
    model {
        components { comp ->
            library(NativeLibrarySpec)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativePreCompiledHeaderIntegrationTest.groovy

        }
    
        def toOtherSourceSet(SourceFile sourceFile) {
            return new SourceFile("other", sourceFile.name, sourceFile.content)
        }
    
        def renameSourceFile(SourceFile sourceFile, String name) {
            return new SourceFile(sourceFile.path, name, sourceFile.content)
        }
    
        def addFunction(SourceFile sourceFile) {
            return new SourceFile(sourceFile.path, sourceFile.name, sourceFile.content + """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  4. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/googletest/GoogleTestIntegrationTest.groovy

            given:
            app.library.headerFiles*.writeToDir(file("src/hello"))
            app.googleTestTests.writeSources(file("src/helloTest"))
            app.library.sourceFiles*.writeToDir(file("src/variant"))
    
            when:
            buildFile << """
    model {
        components {
            hello(NativeLibrarySpec) { l ->
                targetPlatform "x86"
                binaries.all {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/internal/VisualStudioProjectRegistryTest.groovy

            registry.addProjectConfiguration(executableBinary2)
    
            then:
            def vsProject = registry.getProjectConfiguration(executableBinary1).project
            vsProject.sourceFiles.files == [sourceCommon, source1, source2] as Set
        }
    
        private VisualStudioTargetBinary targetBinary(String variant, File... sources) {
            def targetBinary = Mock(VisualStudioTargetBinary)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitIntegrationTest.groovy

            given:
            app.library.headerFiles*.writeToDir(file("src/hello"))
            app.cunitTests.writeSources(file("src/helloTest"))
            app.library.sourceFiles*.writeToDir(file("src/variant"))
    
            when:
            buildFile << """
    model {
        components {
            hello(NativeLibrarySpec) { l ->
                targetPlatform "x86"
                binaries.all {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/tasks/GenerateXcodeProjectFileTask.java

            };
        }
    
        private PBXSourcesBuildPhase newSourceBuildPhase(FileCollection sourceFiles) {
            PBXSourcesBuildPhase result = new PBXSourcesBuildPhase();
            for (File file : sourceFiles) {
                PBXFileReference fileReference = pathToFileReference.get(file.getAbsolutePath());
                result.getFiles().add(new PBXBuildFile(fileReference));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/internal/NativeSpecVisualStudioTargetBinaryTest.groovy

            def sourcefile1 = new File('file1')
            def sourcefile2 = new File('file2')
            def sourcefile3 = new File('file3')
            def resourcefile1 = new File('file4')
            def resourcefile2 = new File('file5')
            def resourcefile3 = new File('file6')
            def sourceSet = sourceSet(sourcefile1, sourcefile2, sourcefile3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelIncrementalIntegrationTest.groovy

            then:
            skipped ":appVisualStudioSolution"
            executedAndNotSkipped getComponentTasks("main")
    
            and:
            final projectFile = projectFile("mainExe.vcxproj")
            assert projectFile.sourceFiles.contains('src/main/cpp/foo.cpp')
    
            when:
            run "visualStudio"
    
            then:
            skipped ":appVisualStudioSolution"
            skipped getComponentTasks("main")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtCompilerFacility.kt

         * Path of the compiled file relative to the root of the output directory.
         */
        public val path: String
    
        /**
         * Source files that were compiled to produce this file.
         */
        public val sourceFiles: List<File>
    
        /**
         * Content of the compiled file.
         */
        public val content: ByteArray
    }
    
    public typealias KtCompiledFile = KaCompiledFile
    
    /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top