Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 24 for isSuitable (0.15 seconds)

  1. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertFalse(user.isEditable());
    
            // Test with different user configurations
            user = new TestFessUser("admin", new String[] { "admin" }, new String[] { "admins" }, new String[] { "*" });
            assertFalse(user.isEditable());
    
            user = new TestFessUser("", new String[] {}, new String[] {}, new String[] {});
            assertFalse(user.isEditable());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

        public void test_isEditable() {
            // Test with non-editable user (default)
            testUser.setEditable(false);
            assertFalse(fessUserBean.isEditable());
    
            // Test with editable user
            testUser.setEditable(true);
            assertTrue(fessUserBean.isEditable());
        }
    
        @Test
        public void test_hasRole() {
            // Test with no roles
            testUser.setRoleNames(new String[] {});
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

                public boolean isLdapAdminEnabled(String name) {
                    assertEquals("testuser", name);
                    return true;
                }
            });
    
            assertTrue(ldapUser.isEditable());
        }
    
        @Test
        public void test_isEditable_disabled() {
            // Test when admin is disabled for the user
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessFileTransformer.java

         *
         * @param responseData the response data containing the file to extract
         * @return the extractor instance for processing the file
         * @throws FessSystemException if no suitable extractor factory can be found
         */
        @Override
        protected Extractor getExtractor(final ResponseData responseData) {
            final ExtractorFactory extractorFactory = ComponentUtil.getExtractorFactory();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java

            stream(getGroups()).of(stream -> stream.forEach(s -> list.add(fessConfig.getRoleSearchGroupPrefix() + decode(s))));
            return list.toArray(new String[list.size()]);
        }
    
        @Override
        public boolean isEditable() {
            return true;
        }
    
        public Map<String, String> getAttributes() {
            return attributes;
        }
    
        public void setAttributes(final Map<String, String> attributes) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:22:27 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            }
        }
    
        /**
         * Processes and normalizes a document title.
         * Applies text normalization using configured space characters and returns
         * a clean title suitable for indexing.
         *
         * @param responseData the response data from crawling (not currently used)
         * @param title the raw title text to process
         * @param dataMap additional data map (not currently used)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessStandardTransformer.java

         *
         * @param responseData the response data containing the document to extract
         * @return the extractor instance for processing the document
         * @throws FessSystemException if no suitable extractor can be found
         */
        @Override
        protected Extractor getExtractor(final ResponseData responseData) {
            final ExtractorFactory extractorFactory = ComponentUtil.getExtractorFactory();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. tests/chainable_api_test.go

    func (d testDialector) Explain(sql string, vars ...interface{}) string { return sql }
    
    // newTestDB returns a minimal *DB with an initialized Statement suitable for unit tests
    func newTestDB() *gorm.DB {
    	d := testDialector{}
    	cfg := &gorm.Config{Dialector: d}
    	db := &gorm.DB{Config: cfg}
    	stmt := &gorm.Statement{
    		DB:       db,
    		Clauses:  map[string]clause.Clause{},
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Jan 31 08:39:40 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  9. tensorflow/c/c_api_internal.h

      // session has been run (this is detected in RecordMutation function). If the
      // string is empty, no mutation has occurred. Otherwise the string is a
      // description of the mutation suitable for returning to the user.
      //
      // Sessions are added to this map in TF_NewSession, and removed in
      // TF_DeleteSession.
      // TF_Graph may only / must be deleted when
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/net/InternetDomainName.java

       * registry suffixes, since domain name registries collectively control all internet domain names.
       *
       * <p>For considerations on whether the public suffix or registry suffix designation is more
       * suitable for your application, see <a
       * href="https://github.com/google/guava/wiki/InternetDomainNameExplained">this article</a>.
       *
       * @return {@code true} if this domain name appears exactly on the public suffix list
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 26.2K bytes
    - Click Count (0)
Back to Top