- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 496 for output_file (0.26 sec)
-
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/GeneratorTaskTest.groovy
final File inputFile = temporaryFolder.file('input') final File outputFile = temporaryFolder.file('output') final GeneratorTask<TestConfigurationObject> task = TestUtil.create(temporaryFolder).task(GeneratorTask) def setup() { task.inputFile = inputFile task.outputFile = outputFile task.generator = generator } def usesOutputFileAsDefaultInputFile() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java
generator.saveImage(input, outputFile); } assertImageSize(outputFile, 100, 66); imagePath = "thumbnail/600x400.jpg"; try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) { generator.saveImage(input, outputFile); } assertImageSize(outputFile, 100, 66); imagePath = "thumbnail/400x400.png";
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.1K bytes - Viewed (0) -
subprojects/core-api/src/integTest/groovy/org/gradle/api/file/FilePermissionsIntegrationTest.groovy
def "can be used as task input"() { given: def outputFile = testDirectory.file("output.txt") buildKotlinFile << """ abstract class Producer : DefaultTask() { @get:Input abstract val permissions: Property<String> @get:OutputFile abstract val outputFile: RegularFileProperty @TaskAction
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 18 08:40:58 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/writing-tasks/tasks-with-dependency-resolution-result-inputs/common/dependency-reports/src/main/java/com/example/GraphResolvedComponents.java
@Input public abstract Property<ResolvedComponentResult> getRootComponent(); // end::inputs[] @OutputFile public abstract RegularFileProperty getOutputFile(); @TaskAction public void action() throws IOException { File outputFile = getOutputFile().get().getAsFile(); try (PrintWriter writer = new PrintWriter(outputFile)) { Set<ResolvedComponentResult> seen = new HashSet<>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesByGradleFileWatchingIntegrationTest.groovy
outputFile.get().asFile.text = "output" } } abstract class WithOutputFile extends DefaultTask { @OutputFile abstract RegularFileProperty getOutputFile() @TaskAction void doStuff() { outputFile.get().asFile.text = "outputFile" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 24.7K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftLinkerTest.groovy
def "ignores install name for all major operating system"() { given: def testDir = tmpDirProvider.testDirectory def outputFile = testDir.file("output/lib") final expectedArgs = [ "-emit-library", "-o", outputFile.absolutePath, testDir.file("one.o").absolutePath].flatten() when: NativePlatform platform = Mock(NativePlatform)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy
@Input final Property<String> prop = project.objects.property(String) @OutputFile final Property<RegularFile> outputFile = project.objects.fileProperty() @TaskAction void go() { outputFile.get().asFile.text = prop.get() } } """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 30.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 08:14:44 UTC 2024 - 20.3K bytes - Viewed (0) -
platforms/software/plugins-version-catalog/src/main/java/org/gradle/api/plugins/catalog/internal/TomlFileGenerator.java
@OutputFile public abstract RegularFileProperty getOutputFile(); @TaskAction void generateToml() throws IOException { DefaultVersionCatalog model = getDependenciesModel().get(); File outputFile = getOutputFile().getAsFile().get(); File outputDir = outputFile.getParentFile(); if (outputDir.exists() || outputFile.mkdirs()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 16 12:28:14 UTC 2023 - 2.2K bytes - Viewed (0)