Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 183 for mypass (0.05 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. 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)
  7. 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)
  8. tests/test_response_model_sub_types.py

    @app.get("/valid1", responses={"500": {"model": int}})
    def valid1():
        pass
    
    
    @app.get("/valid2", responses={"500": {"model": list[int]}})
    def valid2():
        pass
    
    
    @app.get("/valid3", responses={"500": {"model": Model}})
    def valid3():
        pass
    
    
    @app.get("/valid4", responses={"500": {"model": list[Model]}})
    def valid4():
        pass
    
    
    client = TestClient(app)
    
    
    def test_path_operations():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/path-operation-configuration.md

    There are several parameters that you can pass to your *path operation decorator* to configure it.
    
    /// warning
    
    Notice that these parameters are passed directly to the *path operation decorator*, not to your *path operation function*.
    
    ///
    
    ## Response Status Code { #response-status-code }
    
    You can define the (HTTP) `status_code` to be used in the response of your *path operation*.
    
    You can pass directly the `int` code, like `404`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/testing.md

    
    Whenever you need the client to pass information in the request and you don't know how to, you can search (Google) how to do it in `httpx`, or even how to do it with `requests`, as HTTPX's design is based on Requests' design.
    
    Then you just do the same in your tests.
    
    E.g.:
    
    * To pass a *path* or *query* parameter, add it to the URL itself.
    * To pass a JSON body, pass a Python object (e.g. a `dict`) to the parameter `json`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.7K bytes
    - Click Count (0)
Back to Top