Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for matchingMG (0.07 seconds)

  1. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            MockletHttpServletRequest request = getMockRequest();
            HtmlNext page = new HtmlNext("/search");
    
            // No matching host header
            HtmlNext result = virtualHostHelper.getVirtualHostPath(page);
            assertEquals("/search", result.getRoutingPath());
    
            // Matching host header
            request.addHeader("Host", "example.com");
            result = virtualHostHelper.getVirtualHostPath(page);
    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)
  2. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            testUser.setRoleNames(new String[] {});
            assertFalse(fessUserBean.hasRole("admin"));
    
            // Test with single role - matching
            testUser.setRoleNames(new String[] { "admin" });
            assertTrue(fessUserBean.hasRole("admin"));
    
            // Test with single role - not matching
            assertFalse(fessUserBean.hasRole("user"));
    
            // Test with multiple roles
    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/api/WebApiManagerTest.java

    import jakarta.servlet.http.HttpServletResponse;
    
    public class WebApiManagerTest extends UnitFessTestCase {
    
        @Test
        public void test_matches_withPathBasedImplementation() {
            // Test simple path-based matching
            WebApiManager manager = new TestWebApiManager("/api/v1");
    
            TestHttpServletRequest request = new TestHttpServletRequest();
            request.setRequestURI("/api/v1/search");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  4. build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

        doLast {
            repoDir.get().asFileTree.matching { include("**/maven-metadata.xml") }.forEach {
                it.writeText(it.readText().replace("\\Q<lastUpdated>\\E\\d+\\Q</lastUpdated>\\E".toRegex(), "<lastUpdated>${Year.now().value}0101000000</lastUpdated>"))
            }
            repoDir.get().asFileTree.matching { include("**/*.module") }.forEach {
                val content = it.readText()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 11:01:20 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  5. tests/multi_primary_keys_test.go

    	}
    
    	if name := DB.Dialector.Name(); name == "postgres" {
    		t.Skip("skip postgres due to it only allow unique constraint matching given keys")
    	}
    	if name := DB.Dialector.Name(); name == "gaussdb" {
    		t.Skip("skip gaussdb due to it only allow unique constraint matching given keys")
    	}
    
    	DB.Migrator().DropTable(&Blog{}, &Tag{}, "blog_tags", "locale_blog_tags", "shared_blog_tags")
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:27:38 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

                f.include(PublicApi.INSTANCE.getIncludes());
                // Filter out any non-public APIs
                f.exclude(PublicApi.INSTANCE.getExcludes());
            }));
            extension.getKotlinDslSource().from(sourcesPath.getIncoming().artifactView(v -> v.lenient(true)).getFiles().getAsFileTree().matching(f -> {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 19 17:06:32 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  7. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/model/License.kt

     *
     * ## Adding a new dependency with an unrecognised license
     *
     * If `./gradlew generateLicenseFile` fails with "declare a license name not registered in
     * License.kt", add the raw POM name string to the [aliases] list of the matching entry, or
     * create a new entry if the license is genuinely new.
     *
     * ## Adding a dependency whose POM has no license data
     *
     * If the task fails with "no license data in their POM or any parent POM", add a hardcoded
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 13:24:46 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            assertTrue(tag.matches(divUpperNode));
        }
    
        @Test
        public void test_matches_withId() {
            PrunedTag tag = new PrunedTag("div");
            tag.setId("test-id");
    
            // Node with matching id
            MockNode nodeWithId = new MockNode("div");
            nodeWithId.addAttribute("id", "test-id");
            assertTrue(tag.matches(nodeWithId));
    
            // Node with different id
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/IndexExportJob.java

            default:
                throw new IllegalArgumentException("Unsupported export format: " + format);
            }
        }
    
        /**
         * Executes the export job, writing each matching document as a file.
         *
         * @return a string containing the execution result or error messages
         */
        public String execute() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

    import junit.framework.TestSuite;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests the object generated
     * by a G, selecting appropriate tests by matching them against specified features.
     *
     * @param <B> The concrete type of this builder (the 'self-type'). All the Builder methods of this
     *     class (such as {@link #named}) return this type, so that Builder methods of more derived
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
Back to Top