Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for createTestDirectory (0.1 sec)

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

            long length = 4096 * 16 + 512;
            try ( SmbFile f = createTestDirectory();
                  SmbResource e = new SmbFile(f, "test") ) {
                e.createNewFile();
    
                try ( OutputStream os = e.openOutputStream() ) {
                    ReadWriteTest.writeRandom(bufSize, length, os);
                }
    
                try ( SmbFile d1 = createTestDirectory();
                      SmbFile t = new SmbFile(d1, makeRandomName()) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

                }
            }
        }
    
    
        @Test
        public void testDirEnum () throws CIFSException, MalformedURLException, UnknownHostException {
            try ( SmbFile f = createTestDirectory() ) {
                try ( SmbFile a = new SmbFile(f, "a");
                      SmbFile b = new SmbFile(f, "b");
                      SmbFile c = new SmbFile(f, "c") ) {
    
                    a.createNewFile();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate_test.go

    	tempDirYAML := createTestDirectory(t, map[string]string{
    		"valid.yaml":       validYAML,
    		"invalid.yaml":     invalidYAML,
    		"warning.yaml":     warningsYAML,
    		"invalidYAML.yaml": invalidYAML,
    	})
    	validTempDirYAML := createTestDirectory(t, map[string]string{
    		"valid.yaml": validYAML,
    	})
    
    	tempDirJSON := createTestDirectory(t, map[string]string{
    		"valid.json":       validJSON,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top