Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 7,636 for FILE (0.04 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecIntegrationTest.groovy

    import org.gradle.internal.jvm.Jvm
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.util.internal.TextUtil
    import spock.lang.Issue
    
    class JavaExecIntegrationTest extends AbstractIntegrationSpec {
    
        TestFile mainJavaFile
    
        def setup() {
            mainJavaFile = file('src/main/java/Driver.java')
            file("src/main/java/Driver.java").text = mainClass("""
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-process-services/src/main/java/org/gradle/internal/installation/CurrentGradleInstallationLocator.java

        private static File determineDistRootDir(File codeSource) {
            File parentDir = codeSource.getParentFile();
    
            if (parentDir.getName().equals("lib")) {
                File pluginsDir = new File(parentDir, "plugins");
                return parentDir.isDirectory() && pluginsDir.exists() && pluginsDir.isDirectory() ? parentDir.getParentFile() : null;
            }
    
            if (parentDir.getName().equals("plugins")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/inheritance/t12/ProjectInheritanceTest.java

        @Test
        void testFalsePluginExecutionInheritValue() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
            getProjectWithDependencies(pom0);
            MavenProject project1 = getProjectWithDependencies(pom1);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. pkg/util/tail/tail_test.go

    )
    
    func TestReadAtMost(t *testing.T) {
    	file, err := os.CreateTemp("", "TestFileReadAtMost")
    	if err != nil {
    		t.Fatalf("unable to create temp file")
    	}
    	defer os.Remove(file.Name())
    
    	line := strings.Repeat("a", blockSize)
    	testBytes := []byte(line + "\n" +
    		line + "\n" +
    		line + "\n" +
    		line + "\n" +
    		line[blockSize/2:]) // incomplete line
    
    	file.Write(testBytes)
    	testCases := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationIntegrationTest.groovy

                    public static Process execute(String[] command) { return null; }
                    public static Process execute(String[] command, String[] envp, File file) { return null; }
                    public static Process execute(String[] command, List<?> envp, File file) { return null; }
                    public static Process execute(List<?> command) { return null; }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileCollectionCodec.kt

    import org.gradle.api.internal.file.FileCollectionInternal
    import org.gradle.api.internal.file.FileCollectionStructureVisitor
    import org.gradle.api.internal.file.FileTreeInternal
    import org.gradle.api.internal.file.FilteredFileCollection
    import org.gradle.api.internal.file.SubtractingFileCollection
    import org.gradle.api.internal.file.collections.FailingFileCollection
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. cni/pkg/install/install.go

    }
    
    // Cleanup remove Istio CNI's config, kubeconfig file, and binaries.
    func (in *Installer) Cleanup() error {
    	installLog.Info("Cleaning up.")
    	if len(in.cniConfigFilepath) > 0 && file.Exists(in.cniConfigFilepath) {
    		if in.cfg.ChainedCNIPlugin {
    			installLog.Infof("Removing Istio CNI config from CNI config file: %s", in.cniConfigFilepath)
    
    			// Read JSON from CNI config file
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

        @Test
        void testScmInfoCalculatedCorrectlyOnParentAndChildRead() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "modules/p1/pom.xml");
    
            // load the child project, which inherits from p0...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top