- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 44 for writeResources (0.17 sec)
-
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) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeDependentComponentsIntegrationSpec.groovy
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/MultipleNativeToolChainIntegrationTest.groovy
def helloWorld = new CppCompilerDetectingTestApp() def setup() { buildFile << """ plugins { id 'cpp' } """ helloWorld.writeSources(file("src/main")) } @Requires(UnitTestPreconditions.CanInstallExecutable) @RequiresInstalledToolChain(ToolChainRequirement.GCC) @ToBeFixedForConfigurationCache
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.4K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/fixtures/external/PlayApp.groovy
URL resource = getClass().getResource("$baseDir/$path/$name"); File file = new File(resource.toURI()) return new SourceFile(path, name, file.text); } void writeSources(TestFile sourceDir) { gradleBuild.writeToDir(sourceDir) for (SourceFile srcFile : allFiles) { srcFile.writeToDir(sourceDir) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.3K bytes - Viewed (0)