Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tearDown (0.21 sec)

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

            super.setUp();
            this.executor = Executors.newCachedThreadPool();
        }
    
    
        @After
        @Override
        public void tearDown () throws Exception {
            this.executor.shutdown();
            this.executor.awaitTermination(10, TimeUnit.SECONDS);
            super.tearDown();
        }
    
    
        @Test
        public void testExclusiveLock () throws InterruptedException, MalformedURLException, UnknownHostException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/WatchTest.java

            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 ) {
                    this.future.cancel(true);
                }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/BaseCIFSTest.java

            Properties props = new Properties();
            props.putAll(this.properties);
            this.context = AllTests.getCachedContext(this.name, props);
        }
    
    
        @After
        public void tearDown () throws Exception {
            System.gc();
            System.gc();
            System.runFinalization();
        }
    
    
        protected CIFSContext getContext () {
            return this.context;
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.1K bytes
    - Viewed (0)
Back to top