- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 44 for writeResources (0.42 sec)
-
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLanguageParallelIntegrationTest.groovy
] apps.each { name, app -> buildFile << app.pluginScript buildFile << app.extraConfiguration app.executable.writeSources(file("src/${name}Main")) app.library.writeSources(file("src/${name}Hello")) app.greetingsHeader.writeToDir(file("src/${name}Hello")) app.greetingsSources*.writeToDir(file("src/${name}Greetings"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIntegrationTest.groovy
@ToBeFixedForConfigurationCache def "sources are compiled with C compiler"() { def app = new CCompilerDetectingTestApp() given: app.writeSources(file('src/main')) and: buildFile << """ model { components { main(NativeExecutableSpec) } } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 7.7K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourcesUnsupportedIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/DuplicateBaseNamesIntegrationTest.groovy
@ToBeFixedForConfigurationCache def "can have sourcefiles with same base name but different directories"() { given: def testApp = initTestApp(testAppType) when: testApp.writeSources(file("src/main")) buildFile.text = "" testApp.plugins.each { plugin -> buildFile << "apply plugin: '$plugin'\n" } buildFile << """ model { platforms {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 6.9K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitDependentComponentsIntegrationSpec.groovy
} } } """.stripIndent() } private useConventionalSourceLocations() { app.library.writeSources(file("src/hello")) app.cunitTests.writeSources(file("src/helloTest")) } private def getCunitLibName() { return OperatingSystem.current().getStaticLibraryName("cunit") } @ToBeFixedForConfigurationCache
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/googletest/GoogleTestDependentComponentsIntegrationSpec.groovy
private def getGoogleTestLib() { return OperatingSystem.current().getStaticLibraryName("gtest") } private useConventionalSourceLocations() { app.library.writeSources(file("src/hello")) app.googleTestTests.writeSources(file("src/helloTest")) } @ToBeFixedForConfigurationCache def "buildDependentsHello assemble and check all hello binaries"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 6K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/assembler/AssemblyLanguageIncrementalBuildIntegrationTest.groovy
} } } } """ settingsFile << "rootProject.name = 'test'" app.executable.writeSources(file("src/main")) app.library.writeSources(file("src/hello")) asmSourceFile = file("src/hello/asm/sum.s") run "installMainExecutable" install = installation("build/install/main") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLanguageIntegrationTest.groovy
} @ToBeFixedForConfigurationCache def "sources are compiled with C++ compiler"() { def app = new CppCompilerDetectingTestApp() given: app.writeSources(file('src/main')) and: buildFile << """ model { components { main(NativeExecutableSpec) } } """ expect: succeeds "mainExecutable"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/GccToolChainDiscoveryIntegrationTest.groovy
lib library: 'hello', linkage: 'static' } } hello(NativeLibrarySpec) } } """ helloWorldApp.executable.writeSources(file("src/main")) helloWorldApp.library.writeSources(file("src/hello")) } @ToBeFixedForConfigurationCache def "can build when language tools that are not required are not available"() { when: buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/TestNativeComponent.groovy
List<SourceFile> getFiles() { return sourceFiles + headerFiles } abstract List<SourceFile> getSourceFiles() abstract List<SourceFile> getHeaderFiles() void writeSources(TestFile sourceDir) { for (SourceFile srcFile : files) { srcFile.writeToDir(sourceDir) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.1K bytes - Viewed (0)