Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for someFile (2.91 sec)

  1. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/AbstractTaskSubclassingBinaryCompatibilityCrossVersionSpec.groovy

    }
    
    apply plugin: SomePlugin
    """
        }
    
        protected void prepareMethodUseTest(GradleVersion targetVersion) {
            file("someFile").touch()
            file("anotherFile").touch()
            file("yetAnotherFile").touch()
            file("someDir").createDir()
    
            def apiDepConf = "implementation"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileTreeElementTest.groovy

        }
    
        def defaultPermissionValuesAreUsed() {
            given:
            def dir = new TestFileTreeElement(temporaryFolder.getTestDirectory(), chmod)
            def file = new TestFileTreeElement(temporaryFolder.file("someFile"), chmod)
    
            expect:
            dir.getPermissions().toUnixNumeric() == FileSystem.DEFAULT_DIR_MODE
            file.getPermissions().toUnixNumeric() == FileSystem.DEFAULT_FILE_MODE
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/IncompatibilityCrossVersionSpec.groovy

                import org.gradle.api.*;
                import org.gradle.api.tasks.*;
    
                public class MyTask extends DefaultTask {
                    public MyTask() {
                        getInputs().file("somefile");
                        getInputs().files("afile", "anotherfile");
                        getInputs().dir("someDir");
                        getInputs();
                        getOutputs();
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultProjectDescriptorTest.groovy

        }
    
        private ProjectDescriptor projectDescriptor(ScriptFileResolver scriptFileResolver = null) {
            def parentDescriptor = new DefaultProjectDescriptor(null, "somename", new File("somefile"), descriptorRegistry, fileResolver, scriptFileResolver)
            def descriptor = new DefaultProjectDescriptor(parentDescriptor, testName.methodName, testDirectory, descriptorRegistry, fileResolver, scriptFileResolver)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 08 03:33:31 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-groovy/src/test/groovy/org/gradle/api/plugins/GroovyPluginTest.groovy

            given:
            groovyPlugin.apply(project)
    
            when:
            project.sourceSets.main.groovy.srcDirs(temporaryFolder.getTestDirectory())
            temporaryFolder.file("SomeFile.groovy").touch()
            def task = project.tasks[GroovyPlugin.GROOVYDOC_TASK_NAME]
    
            then:
            task instanceof Groovydoc
            task.destinationDir == new File(project.docsDir, 'groovydoc')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/NonHierarchicalFileWatcherUpdaterTest.groovy

            def fileInWatchableHierarchies = file("first/inside/root/dir/file.txt")
            def fileOutsideOfWatchableHierarchies = file("forth").file("someFile.txt")
    
            when:
            registerWatchableHierarchies(watchableHierarchies)
            then:
            0 * _
    
            when:
            fileInWatchableHierarchies.createFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    🖼, <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">👆 💪 ⚙️ `with` ✍ 📁</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    🔘, `open("./somefile.txt")` ✍ 🎚 👈 🤙 "🔑 👨‍💼".
    
    🕐❔ `with` 🍫 🏁, ⚫️ ⚒ 💭 🔐 📁, 🚥 📤 ⚠.
    
    🕐❔ 👆 ✍ 🔗 ⏮️ `yield`, **FastAPI** 🔜 🔘 🗜 ⚫️ 🔑 👨‍💼, &amp; 🌀 ⚫️ ⏮️ 🎏 🔗 🧰.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestMergeSpecTest.groovy

            otherManifest.attributes(otherMap)
            otherManifest.attributes(otherSectionMap, 'section')
    
            TestFile manifestFile = tmpDir.file('somefile')
            fileResolver.resolve(manifestFile) >> manifestFile
            DefaultManifest fileManifest = new DefaultManifest(fileResolver)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. src/internal/coverage/cformat/format.go

    //			for each function F in P: {
    //				for each coverable unit U in F: {
    //					myformatter.AddUnit(U)
    //				}
    //			}
    //		}
    //		myformatter.EmitPercent(os.Stdout, "", true, true)
    //		myformatter.EmitTextual(somefile)
    //
    // These apis are linked into tests that are built with "-cover", and
    // called at the end of test execution to produce text output or
    // emit coverage percentages.
    
    import (
    	"cmp"
    	"fmt"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ComponentMetadataHandlerExtensionsTest.kt

            }
            componentMetadataHandler.withModule<SomeRule>("org:foo", configAction)
            inOrder(componentMetadataHandler) {
                verify(componentMetadataHandler).withModule("org:foo", SomeRule::class.java, configAction)
                verifyNoMoreInteractions()
            }
        }
    }
    
    
    class SomeRule : ComponentMetadataRule {
        override fun execute(context: ComponentMetadataContext) { }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top