Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for createTestFile (0.16 sec)

  1. src/test/java/jcifs/tests/FileAttributesTest.java

            }
        }
    
    
        @Test
        public void testLastModified () throws CIFSException, MalformedURLException, UnknownHostException {
            try ( SmbResource f = createTestFile() ) {
                try {
                    assertCloseTime(f.lastModified());
                }
                finally {
                    f.delete();
                }
            }
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  2. istioctl/pkg/validate/validate_test.go

    	validFilenameYAML, closeValidYAMLFile := createTestFile(t, validYAML)
    	defer closeValidYAMLFile.Close()
    
    	validFilenameJSON, closeValidJSONFile := createTestFile(t, validJSON)
    	defer closeValidJSONFile.Close()
    
    	invalidFilenameYAML, closeInvalidYAMLFile := createTestFile(t, invalidYAML)
    	defer closeInvalidYAMLFile.Close()
    
    	warningFilename, closeWarningFile := createTestFile(t, warningsYAML)
    	defer closeWarningFile.Close()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/FileOperationsTest.java

                        d1.delete();
                    }
                }
            }
        }
    
    
        @Test
        public void testCopyEmpty () throws IOException {
            try ( SmbFile f = createTestFile() ) {
                try ( SmbFile d1 = createTestDirectory();
                      SmbFile t = new SmbFile(d1, makeRandomName()) ) {
                    try {
                        f.copyTo(t);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top