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/BaseCIFSTest.java

                SmbFile f = new SmbFile(defaultShareRoot, makeRandomName());
                f.createNewFile();
                return f;
            }
        }
    
    
        protected SmbFile createTestDirectory () throws MalformedURLException, UnknownHostException, CIFSException {
            try ( SmbFile defaultShareRoot = getDefaultShareRoot() ) {
                SmbFile f = new SmbFile(defaultShareRoot, makeRandomDirectoryName());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/NamingTest.java

            runFilenameTest("hash#tag");
        }
    
    
        private void runFilenameTest ( String... names ) throws CIFSException, UnknownHostException, MalformedURLException {
            try ( SmbFile d = createTestDirectory() ) {
                try {
    
                    for ( String name : names ) {
                        try ( SmbResource tf = new SmbFile(d, name) ) {
                            tf.createNewFile();
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/WatchTest.java

        }
    
    
        @Override
        @Before
        public void setUp () throws Exception {
            super.setUp();
            this.executor = Executors.newSingleThreadExecutor();
            this.base = createTestDirectory();
        }
    
    
        @Override
        @After
        public void tearDown () throws Exception {
            if ( this.executor != null ) {
                this.executor.shutdown();
                if ( this.future != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.4K bytes
    - Viewed (0)
Back to top