Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,094 for FILE (0.05 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/TransformFixture.groovy

    import org.gradle.api.file.ConfigurableFileCollection
    import org.gradle.api.file.FileSystemLocation
    import org.gradle.api.provider.ListProperty
    import org.gradle.api.provider.Provider
    import org.gradle.api.tasks.InputFiles
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.TaskAction
    import org.gradle.test.fixtures.file.TestFile
    
    import java.nio.file.Files
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AbstractTransformExecution.java

        public InputFingerprinter getInputFingerprinter() {
            return inputFingerprinter;
        }
    
        private static File getOutputDir(File workspace) {
            return new File(workspace, "transformed");
        }
    
        private static File getResultsFile(File workspace) {
            return new File(workspace, "results.bin");
        }
    
        @Override
        public ExecutionBehavior getExecutionBehavior() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DistributionFactory.java

                        return hasExtension(file, ".jar");
                    }
                });
                // Make sure file order is always consistent
                Arrays.sort(files);
                return DefaultClassPath.of(files);
            }
        }
    
        private static class ClasspathDistribution implements Distribution {
            @Override
            public String getDisplayName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt

                    from = listOf(
                        File("init.gradle.kts") to TestHashCodes.hashCodeFrom(1),
                        File("unchanged.gradle.kts") to TestHashCodes.hashCodeFrom(1)
                    ),
                    to = listOf(
                        File("init.gradle.kts") to TestHashCodes.hashCodeFrom(2),
                        File("unchanged.gradle.kts") to TestHashCodes.hashCodeFrom(1)
                    )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeDeclarationIntegrationTest.groovy

            file("settings.gradle.dcl") << pluginsFromIncludedBuild
    
            file("build.gradle.dcl") << declarativeScriptThatConfiguresOnlyTestSoftwareType
    
            when:
            run(":printTestSoftwareTypeExtensionImplConfiguration")
    
            then:
            assertThatDeclaredValuesAreSetProperly()
    
            when:
            file("build.gradle.dcl") << """
                testSoftwareType {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 19 16:59:01 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

            app.writeToProject(testDirectory)
    
            file("src/main/swift/ignore.cpp") << 'broken!'
            file("src/main/swift/ignore.c") << 'broken!'
            file("src/main/swift/ignore.m") << 'broken!'
            file("src/main/swift/ignore.h") << 'broken!'
            file("src/main/swift/ignore.java") << 'broken!'
    
            and:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/MissingScriptFixture.groovy

                dir.file("build$scriptLanguage.extension") << dummyTaskIn(scriptLanguage)
                dir.file("buildSrc", "build$scriptLanguage.extension") << dummyTaskIn(scriptLanguage)
                dir.file("buildSrc", "a", "build$scriptLanguage.extension") << dummyTaskIn(scriptLanguage)
                dir.file("buildSrc", "b").mkdir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDSLCustomDependenciesExtensionsSpec.groovy

                }
            """
            file("build-logic/build.gradle") << defineRestrictedPluginBuild()
    
            and: "a build script that adds dependencies using the custom extension, and defines a source file requiring the dependencies to compile"
            file("src/main/java/com/example/Lib.java") << defineExampleJavaClass()
            file("build.gradle.dcl") << defineDeclarativeDSLBuildScript()
            file("settings.gradle") << defineSettings()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py

            }
        )
    
    
    def test_post_file_no_token(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py

        )
    
    
    @needs_py39
    def test_post_file_no_token(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top