Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 313 for inputFile (0.14 sec)

  1. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/reporting/model/DetailedModelReportIntegrationTest.groovy

            given:
            def modelFile = testDirectory.file(inputFile)
            modelFile << """
            ${managedNumbers()}
    
            model {
                numbers(Numbers){
                    value = 5
                }
            }
    """
    
            buildFile << "apply from: '${inputFile}'"
            when:
            run "model"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  2. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

     */
    fun main(vararg args: String) {
      System.setProperty("junit.jupiter.extensions.autodetection.enabled", "true")
    
      val inputFile = if (args.isNotEmpty()) File(args[0]) else null
      val selectors = testSelectors(inputFile)
    
      val summaryListener = SummaryGeneratingListener()
      val treeListener = treeListener()
    
      val jupiterTestEngine = buildTestEngine()
    
      val config =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/InputFilePropertyAnnotationHandler.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.internal.execution.model.annotations;
    
    import org.gradle.api.tasks.InputFile;
    import org.gradle.internal.properties.InputFilePropertyType;
    
    import static org.gradle.internal.execution.model.annotations.ModifierAnnotationCategory.INCREMENTAL;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/FileUtilTest.java

    public class FileUtilTest {
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        /**
         * @throws Exception
         */
        @Test
        public void testFileToFile() throws Exception {
            final byte[] bytes = readBytes(inputFile);
            assertThat(bytes, is("あいうえお".getBytes("UTF-8")));
        }
    
        /**
         * @throws Exception
         */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/GradleBuildContinuousIntegrationTest.groovy

                task someTask {
                    def inputFile = file("inputs/input.txt")
                    def outputFile = file("build/output.txt")
                    inputs.file inputFile
                    outputs.file outputFile
                    doLast {
                        outputFile.parentFile.mkdirs()
                        outputFile.text = inputFile.text
                    }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    	tests := []struct {
    		name        string
    		wantConfigs int
    		inputFile   string
    		wantErr     bool
    	}{
    		{
    			name:        "errors if unable to unmarshal bytes",
    			inputFile:   "",
    			wantConfigs: 0,
    			wantErr:     true,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			cw := &ConfigWriter{}
    			cd, _ := os.ReadFile(tt.inputFile)
    			err := cw.Prime(cd)
    			if cw.configDump == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 23:08:06 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. platforms/jvm/language-jvm/src/testFixtures/groovy/org/gradle/api/tasks/compile/AbstractCompilerContinuousIntegrationTest.groovy

                    }
                }
    
                ${verifyDaemonsTask}
            """
    
            when:
            inputFile.text = initialSourceContent
    
            then:
            succeeds(compileTaskName)
    
            when:
            inputFile.text = changedSourceContent
    
            then:
            buildTriggeredAndSucceeded()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 04 07:31:58 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/bean/DefaultPropertyWalkerTest.groovy

        static class MyTask extends DefaultTask {
    
            @Input
            String myProperty = "myValue"
    
            @InputFile
            @PathSensitive(PathSensitivity.NONE)
            File inputFile = new File("some-location")
    
            @InputFiles
            @PathSensitive(PathSensitivity.NONE)
            FileCollection inputFiles = TestFiles.fixed(new File("files"))
    
            @OutputFile
            File outputFile = new File("output")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            }
            return name;
        }
    
        private void executeCommand(final File inputFile, final File outputFile) {
    
            if (StringUtil.isBlank(command)) {
                throw new CrawlerSystemException("command is empty.");
            }
    
            final Map<String, String> params = new HashMap<>();
            params.put("$INPUT_FILE", inputFile.getAbsolutePath());
            params.put("$OUTPUT_FILE", outputFile.getAbsolutePath());
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ChangesDuringBuildContinuousIntegrationTest.groovy

        def "should trigger rebuild when java source file is changed during build execution"() {
            given:
            def inputFile = file("src/main/java/Thing.java")
            inputFile << "class Thing {}"
            inputFile.makeOlder()
    
            when:
            buildFile << """
    apply plugin: 'java'
    
    task postCompile {
        doLast {
            if (!file('change-triggered').exists()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top