Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for getDfs (0.24 sec)

  1. src/test/java/jcifs/context/CIFSContextWrapperTest.java

        }
    
        @Test
        void testGetDfs() {
            // Test getDfs() method
            DfsResolver mockDfsResolver = mock(DfsResolver.class);
            when(mockDelegate.getDfs()).thenReturn(mockDfsResolver);
            assertEquals(mockDfsResolver, cifsContextWrapper.getDfs());
            verify(mockDelegate).getDfs();
        }
    
        @Test
        void testGetCredentials() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/context/BaseContextTest.java

        }
    
        @Test
        @DisplayName("getDfs should return initialized DFS resolver")
        void testGetDfs() {
            // When
            DfsResolver dfs = context.getDfs();
    
            // Then
            assertNotNull(dfs, "DFS resolver should not be null");
            assertSame(dfs, context.getDfs(), "Should return same instance on multiple calls");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

                    : loc.getUNCPath();
            String share = loc.getShare();
    
            final DfsReferralData start = referral != null ? referral : this.ctx.getDfs().resolve(this.ctx, hostName, loc.getShare(), path);
            DfsReferralData dr = start;
            IOException last = null;
            do {
                if (dr != null) {
                    targetDomain = dr.getDomain();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                throw new SmbException("The requested list operations is invalid: " + u.toString());
            }
    
            final Set<FileEntry> set = new HashSet<>();
    
            if (tc.getDfs().isTrustedDomain(tc, locator.getServer())) {
                /*
                 * The server name is actually the name of a trusted
                 * domain. Add DFS roots to the list.
                 */
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            // Mock credentials to avoid NullPointerException
            when(ctx.getCredentials()).thenReturn(credentials);
            when(credentials.getUserDomain()).thenReturn("DOMAIN");
            // Mock DFS resolver
            when(ctx.getDfs()).thenReturn(dfsResolver);
        }
    
        // Helper to set private field 'tree'
        private static void setTree(SmbTreeConnection c, SmbTreeImpl tree) {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

     * Provides structures and methods for DFS management and enumeration.
     */
    @SuppressWarnings("all")
    public class netdfs {
    
        /**
         * Default constructor for netdfs
         */
        public netdfs() {
            // Default constructor
        }
    
        /**
         * Gets the DCE/RPC syntax identifier for the DFS interface
         * @return the syntax identifier string
         */
        public static String getSyntax() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

     * Provides structures and methods for DFS management and enumeration.
     */
    public class netdfs {
    
        /**
         * Default constructor for netdfs
         */
        public netdfs() {
            // Default constructor
        }
    
        /**
         * Gets the DCE/RPC syntax identifier for the DFS interface
         * @return the syntax identifier string
         */
        public static String getSyntax() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            int prefmaxlen = 100;
            netdfs.DfsEnumStruct info = new netdfs.DfsEnumStruct();
            info.level = 1;
            info.e = new netdfs.DfsEnumArray1();
            ((netdfs.DfsEnumArray1) info.e).count = 1;
            ((netdfs.DfsEnumArray1) info.e).s = new netdfs.DfsInfo1[1];
            ((netdfs.DfsEnumArray1) info.e).s[0] = new netdfs.DfsInfo1();
            ((netdfs.DfsEnumArray1) info.e).s[0].entry_path = "encoded_path";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            // Create array with null name entries
            netdfs.DfsEnumArray200 arrayWithNulls = new netdfs.DfsEnumArray200();
            arrayWithNulls.count = 2;
            arrayWithNulls.s = new netdfs.DfsInfo200[2];
    
            netdfs.DfsInfo200 entry1 = new netdfs.DfsInfo200();
            entry1.dfs_name = null;
            arrayWithNulls.s[0] = entry1;
    
            netdfs.DfsInfo200 entry2 = new netdfs.DfsInfo200();
            entry2.dfs_name = "valid_share";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final PropertyDesc propDesc = beanDesc.getPropertyDesc("fff");
            propDesc.setValue(myBean, new BigDecimal(2));
            assertThat(myBean.getFff(), is(2));
        }
    
        /**
         * @throws Exception
         */
        public void testSetValue_null() throws Exception {
            final MyBean myBean = new MyBean();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top