Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 203 for inputFile (0.2 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/InputFileTask.groovy

     * limitations under the License.
     */
    package org.gradle.api.internal.project.taskfactory
    
    import org.gradle.api.DefaultTask
    import org.gradle.api.tasks.InputFile
    import org.gradle.api.tasks.TaskAction
    
    class InputFileTask extends DefaultTask {
        @InputFile
        File srcFile
    
        @TaskAction
        void doStuff() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 11 14:15:51 UTC 2017
    - 896 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/generator/XmlPersistableConfigurationObjectTest.groovy

                xml.attributes().put("name", rootElement)
            }
        }
    
        def loadsFromXmlFile() {
            def inputFile = tmpDir.file('input.xml')
            inputFile.text = '<root name="some-xml"/>'
    
            when:
            object.load(inputFile)
    
            then:
            rootElement == 'some-xml'
        }
    
        def loadsFromDefaultResource() {
            when:
            object.loadDefaults()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top