- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 63 for writeResources (0.38 sec)
-
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) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PrebuiltLibrariesIntegrationTest.groovy
final app = new CppHelloWorldApp() def "setup"() { settingsFile << "rootProject.name = 'test'" app.executable.writeSources(file("src/main")) app.library.writeSources(file("libs/src/hello")) file("libs/build.gradle") << """ apply plugin: 'cpp' model { flavors { english french } components {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 10.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/AbstractTestFrameworkOptionsIntegrationTest.groovy
plugins { id 'java' } ${mavenCentralRepository()} check.dependsOn testing.suites """ } abstract void writeSources(TestFile sourcePath) void assertTestsWereExecutedAndExcluded() { DefaultTestExecutionResult result = new DefaultTestExecutionResult(testDirectory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/objectivecpp/ObjectiveCppUnsupportedIntegrationTest.groovy
given: buildFile << """ model { components { main(NativeExecutableSpec) } } """ and: helloWorldApp.writeSources(file("src/main")) when: fails "compileMainExecutableMainObjcpp" then: failure.assertThatCause(containsString("Objective-C++ is not available on the Visual C++ toolchain")) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/objectivec/ObjectiveCUnsupportedIntegrationTest.groovy
given: buildFile << """ model { components { main(NativeExecutableSpec) } } """ and: helloWorldApp.writeSources(file("src/main")) when: fails "compileMainExecutableMainObjc" then: failure.assertThatCause(containsString("Objective-C is not available on the Visual C++ toolchain")) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/GccToolChainCustomisationIntegrationTest.groovy
lib library: 'hello', linkage: 'static' } } hello(NativeLibrarySpec) } } """ helloWorldApp.executable.writeSources(file("src/main")) helloWorldApp.library.writeSources(file("src/hello")) } @RequiresInstalledToolChain(SUPPORTS_32) @ToBeFixedForConfigurationCache def "can configure platform specific args"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryBinariesIntegrationTest.groovy
} } } } } } """ and: app.executable.writeSources(file("src/main")) app.library.writeSources(file("src/helloLib")) when: succeeds "installMainExecutable" then: installation("build/install/main").exec().out == app.englishOutput }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 8.3K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/SharedLibrarySoNameIntegrationTest.groovy
class SharedLibrarySoNameIntegrationTest extends AbstractInstalledToolChainIntegrationSpec { def "setup"() { settingsFile << "rootProject.name = 'test'" def app = new CppHelloWorldApp() app.library.writeSources(file("src/hello")) buildFile << """ apply plugin: 'cpp' model { components { hello(NativeLibrarySpec) } } """ } @ToBeFixedForConfigurationCache
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/platform/InstallExecutableIntegrationTest.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)