Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for jest (0.36 sec)

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

        }
    
    
        @Test
        public void resolveUserSID () throws IOException {
            String sid = getRequiredProperty(TestProperties.TEST_USER_SID);
            SID s = new SID(sid);
            s.resolve(getRequiredProperty(TestProperties.TEST_DOMAIN_DC), withTestNTLMCredentials(getContext()));
            assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileAttributesTest.java

        }
    
    
        @Test
        public void testBaseFile () throws MalformedURLException, CIFSException {
            try ( SmbResource f = getDefaultShareRoot() ) {
                checkConnection(f);
                if ( f.getType() != SmbConstants.TYPE_FILESYSTEM ) {
                    assertEquals(SmbConstants.TYPE_SHARE, f.getType());
                }
            }
        }
    
    
        @Test
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/EnumTest.java

                        }
                    }
                }
    
                assertTrue("Test directory  enum-test/a/b/c/ not found", names.contains("c/"));
            }
    
            try ( SmbFile r = getDefaultShareRoot();
                  SmbFile f = new SmbFile(r, "enum-test/a/b/c/") ) {
                f.exists();
            }
    
        }
    
    
        @Test
        public void testEnumDeepVirgin () throws IOException {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/DfsTest.java

        private String getTestDfsTargetServer () {
            String dfsTargetServer = getProperties().get("test.server.dfs");
            if ( dfsTargetServer != null ) {
                return dfsTargetServer;
            }
            return getTestServer();
        }
    
    
        private String getTestDC () {
            String dfsTargetServer = getProperties().get("test.domain.dc");
            if ( dfsTargetServer != null ) {
                return dfsTargetServer;
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/WatchTest.java

                assertNotNull(f);
                f.get(5, TimeUnit.SECONDS);
            }
        }
    
    
        @Test
        public void testWatchRecursive () throws InterruptedException, ExecutionException, IOException {
            try ( SmbResource subdir = this.base.resolve("test/") ) {
                subdir.mkdir();
                try ( SmbWatchHandle w = this.base.watch(FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME, true) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/Lmhosts.java

        private final Map<Name, NbtAddress> table = new HashMap<>();
        private long lastModified = 1L;
        private int alt;
    
    
        /**
         * This is really just for {@link jcifs.netbios.UniAddress}. It does
         * not throw an {@link java.net.UnknownHostException} because this
         * is queried frequently and exceptions would be rather costly to
         * throw on a regular basis here.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

         */
        @Override
        public boolean verifySignature ( byte[] buffer, int i, int size ) {
            // observed too that signatures on error responses are sometimes wrong??
            // Looks like the failure case also is just reflecting back the signature we sent
    
            // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response)
            // make sure that validation is performed in any case
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/transport/Transport.java

                    }
                } catch( Exception ex ) {
                    String msg = ex.getMessage();
                    boolean timeout = msg != null && msg.equals( "Read timed out" );
                    /* If just a timeout, try to disconnect gracefully
                     */
                    boolean hard = timeout == false;
    
                    if (!timeout && log.level >= 3)
                        ex.printStackTrace( log );
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         *
         * @param challenge The server challenge.
         * @param dest The destination array in which the user session key will be
         * placed.
         * @param offset The offset in the destination array at which the
         * session key will start.
         */
        void getUserSessionKey(byte[] challenge, byte[] dest, int offset) throws SmbException {
            if (hashesExternal) return;
            try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/NamingTest.java

        }
    
    
        @Test
        public void testASCII () throws CIFSException, MalformedURLException, UnknownHostException {
            runFilenameTest("just-testing", "adsfg.txt");
        }
    
    
        @Test
        public void testCodepage () throws MalformedURLException, UnknownHostException, CIFSException {
            Assume.assumeFalse("Unicode support", getContext().getConfig().isUseUnicode());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
Back to top