Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 216 for mypass (0.04 seconds)

  1. src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java

            assertSame(names1, names2);
    
            // Test assistByPassInvokeNames consistency
            String[] bypass1 = invokerAssistant.assistByPassInvokeNames();
            String[] bypass2 = invokerAssistant.assistByPassInvokeNames();
            assertSame(bypass1, bypass2);
    
            // Test assistBehaviorExceptionThrower returns new instance each time
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ldap/LdapUtilTest.java

            assertEquals(expected, LdapUtil.escapeValue(input));
        }
    
        @Test
        public void test_escapeValue_realWorldLdapInjectionAttempts() {
            // Authentication bypass attempt
            assertEquals("\\2a", LdapUtil.escapeValue("*"));
    
            // Filter injection to match any user
            assertEquals("\\2a\\29\\28|\\28cn=\\2a", LdapUtil.escapeValue("*)(|(cn=*"));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  3. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

            } answers {
                stepsCapturer.captured(steps)
                mockk()
            }
        }
    
        @Test
        fun `can apply defaults to configurations`() {
            applyDefaults(buildModel, buildType, "myTask")
    
            assertEquals(
                listOf(
                    "KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS",
                    "GRADLE_RUNNER",
                    "KILL_PROCESSES_STARTED_BY_GRADLE",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * {@snippet :
     * final CountDownLatch latch = new CountDownLatch(1);
     * Object x = new MyClass() {
     *   ...
     *   protected void finalize() { latch.countDown(); ... }
     * };
     * x = null; // Hint to the JIT that x is stack-unreachable
     * GcFinalization.await(latch);
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java

        }
    
        // ===================================================================================
        //                                                                   Disabled / Bypass
        //                                                                   =================
    
        @Test
        public void test_doFilter_webDisabled() throws IOException, ServletException {
            setConfig(100, 100);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  6. ci/devinfra/docker/windows2022/Dockerfile

    # - MSYS2 + curl, git, patch, vim, unzip, zip
    # - Python 3.9 - 3.14
    # - Bazelisk 1.22.1
    # - JDK 21 (Azul Zulu)
    
    FROM mcr.microsoft.com/windows/servercore:ltsc2022
    
    SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command", \
           "$ErrorActionPreference='Stop'; $ProgressPreference='SilentlyContinue';$VerbosePreference = 'Continue';"]
    
    # Enable long paths
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Mar 04 19:50:57 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  7. tests/test_invalid_path_param.py

            @app.get("/items/{id}")
            def read_items(id: list[Item]):
                pass  # pragma: no cover
    
    
    def test_invalid_tuple():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/{id}")
            def read_items(id: tuple[Item, Item]):
                pass  # pragma: no cover
    
    
    def test_invalid_dict():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. tests/test_response_model_invalid.py

    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import FastAPIError
    
    
    class NonPydanticModel:
        pass
    
    
    def test_invalid_response_model_raises():
        with pytest.raises(FastAPIError):
            app = FastAPI()
    
            @app.get("/", response_model=NonPydanticModel)
            def read_root():
                pass  # pragma: nocover
    
    
    def test_invalid_response_model_sub_type_raises():
        with pytest.raises(FastAPIError):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  9. tests/test_invalid_sequence_param.py

        ):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: list[Item] = Query(default=None)):
                pass  # pragma: no cover
    
    
    def test_invalid_tuple():
        with pytest.raises(
            AssertionError,
            match="Query parameter 'q' must be one of the supported types",
        ):
            app = FastAPI()
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

     * authentication context without requiring users to explicitly enter credentials.
     *
     * The authenticator supports various configuration options including delegation,
     * basic authentication fallback, and localhost authentication bypass.
     */
    public class SpnegoAuthenticator implements SsoAuthenticator {
    
        /** Logger for this class. */
        private static final Logger logger = LogManager.getLogger(SpnegoAuthenticator.class);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
Back to Top