Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 605 for getNames (0.1 sec)

  1. src/test/java/jcifs/smb/SmbFileTest.java

                // Arrange & Act
                SmbFile file = new SmbFile("smb://localhost/share/test.txt", mockCifsContext);
    
                // Assert
                assertNotNull(file);
                assertEquals("test.txt", file.getName());
            }
    
            @Test
            void testConstructorWithInvalidURL() {
                // Act & Assert
                assertThrows(MalformedURLException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

            String name;
            int versionMajor;
            int versionMinor;
            int type;
            String commentOrMasterBrowser;
    
            @Override
            public String getName() {
                return this.name;
            }
    
            @Override
            public int getType() {
                return (this.type & 0x80000000) != 0 ? SmbConstants.TYPE_WORKGROUP : SmbConstants.TYPE_SERVER;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java

        public String[] getPermissions() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final List<String> list = new ArrayList<>();
            list.add(fessConfig.getRoleSearchUserPrefix() + getName());
            stream(getRoles()).of(stream -> stream.forEach(s -> list.add(fessConfig.getRoleSearchRolePrefix() + decode(s))));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            assertTrue(stackTrace.length > 0);
    
            // First element should be from this test method
            assertEquals("test_stackTrace", stackTrace[0].getMethodName());
            assertEquals(this.getClass().getName(), stackTrace[0].getClassName());
        }
    
        public void test_multipleCatches() {
            // Test with multiple catch blocks
            boolean caughtSpecific = false;
            boolean caughtRuntime = false;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            assertTrue(stackTrace.length > 0);
    
            // The first element should be from this test class
            StackTraceElement firstElement = stackTrace[0];
            assertEquals(this.getClass().getName(), firstElement.getClassName());
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String username = "nonexistentuser";
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

         */
        public FileBothDirectoryInfo(final Configuration config, final boolean unicode) {
            this.config = config;
            this.unicode = unicode;
        }
    
        @Override
        public String getName() {
            return this.filename;
        }
    
        @Override
        public int getType() {
            return SmbConstants.TYPE_FILESYSTEM;
        }
    
        /**
         * @return the fileIndex
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

        }
    
        /**
         *
         */
        @Test
        public void testGetShortClassName() {
            assertThat(ClassUtil.getShortClassName(getClass().getName()), is("ClassUtilTest"));
        }
    
        /**
         *
         */
        @Test(expected = NoSuchConstructorRuntimeException.class)
        public void testGetConstructor() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsWebAuthenticationBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends WebAuthentication> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertTrue(stackTrace.length > 0);
    
            // First element should be from this test class
            StackTraceElement firstElement = stackTrace[0];
            assertEquals(this.getClass().getName(), firstElement.getClassName());
            assertEquals("test_stackTrace", firstElement.getMethodName());
        }
    
        /**
         * Test stack trace with cause
         */
        public void test_stackTraceWithCause() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

            return this.type;
        }
    
        /**
         * Gets the access control entries (ACEs) from this security descriptor.
         *
         * @return the array of access control entries
         */
        public final ACE[] getAces() {
            return this.aces;
        }
    
        /**
         * Gets the owner group SID of this security descriptor.
         *
         * @return the security identifier of the owner group
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top