Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for yoho (0.02 sec)

  1. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

          assertEqualsSame(expected, in, anyOf("-#123").trimAndCollapseFrom(in, replacement));
        }
      }
    
      public void testReplaceFrom() {
        assertEquals("yoho", is('a').replaceFrom("yaha", 'o'));
        assertEquals("yh", is('a').replaceFrom("yaha", ""));
        assertEquals("yoho", is('a').replaceFrom("yaha", "o"));
        assertEquals("yoohoo", is('a').replaceFrom("yaha", "oo"));
        assertEquals("12 > 5", is('>').replaceFrom("12 > 5", ">"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/CharMatcherTest.java

          assertEqualsSame(expected, in, anyOf("-#123").trimAndCollapseFrom(in, replacement));
        }
      }
    
      public void testReplaceFrom() {
        assertEquals("yoho", is('a').replaceFrom("yaha", 'o'));
        assertEquals("yh", is('a').replaceFrom("yaha", ""));
        assertEquals("yoho", is('a').replaceFrom("yaha", "o"));
        assertEquals("yoohoo", is('a').replaceFrom("yaha", "oo"));
        assertEquals("12 > 5", is('>').replaceFrom("12 > 5", ">"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

      }
    
      @Test
      fun multiline() {
        consumeEvents(
          """
          |data: YHOO
          |data: +2
          |data: 10
          |
          |
          """.trimMargin(),
        )
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "YHOO\n+2\n10"))
      }
    
      @Test
      fun multilineCr() {
        consumeEvents(
          """
          |data: YHOO
          |data: +2
          |data: 10
          |
          |
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            // something like the following:
            //
            // <dependencyManagement>
            //     <dependencies>
            //         <!--  Yoko modules -->
            //         <dependency>
            //             <groupId>org.apache.yoko</groupId>
            //             <artifactId>yoko-core</artifactId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. docs/yo/docs/index.md

    * Tẹ bọtini "Gbiyanju rẹ" i.e. "Try it out", yóò gbà ọ́ láàyè láti jẹ́ kí ó tẹ́ àlàyé tí ó nílò kí ó le sọ̀rọ̀ tààrà pẹ̀lú API:
    
    ![Swagger UI interaction](https://fastapi.tiangolo.com/img/index/index-04-swagger-03.png)
    
    * Lẹhinna tẹ bọtini "Ṣiṣe" i.e. "Execute", olùmúlò (i.e. user interface) yóò sọrọ pẹ̀lú API rẹ, yóò ṣe afiranṣẹ àwọn èròjà, pàápàá jùlọ yóò gba àwọn àbájáde yóò si ṣafihan wọn loju ìbòjú:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_handling_errors/test_tutorial003.py

        assert response.json() == {"unicorn_name": "shinny"}
    
    
    def test_get_exception():
        response = client.get("/unicorns/yolo")
        assert response.status_code == 418, response.text
        assert response.json() == {
            "message": "Oops! yolo did something. There goes a rainbow..."
        }
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/handling-errors.md

    ```Python hl_lines="5-7  13-18  24"
    {!../../docs_src/handling_errors/tutorial003.py!}
    ```
    
    📥, 🚥 👆 📨 `/unicorns/yolo`, *➡ 🛠️* 🔜 `raise` `UnicornException`.
    
    ✋️ ⚫️ 🔜 🍵 `unicorn_exception_handler`.
    
    , 👆 🔜 📨 🧹 ❌, ⏮️ 🇺🇸🔍 👔 📟 `418` &amp; 🎻 🎚:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | "📡 ℹ"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/handling-errors.md

    {!../../docs_src/handling_errors/tutorial003.py!}
    ```
    
    Здесь, если запросить `/unicorns/yolo`, то *операция пути* вызовет `UnicornException`.
    
    Но оно будет обработано `unicorn_exception_handler`.
    
    Таким образом, вы получите чистую ошибку с кодом состояния HTTP `418` и содержимым JSON:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | "Технические детали"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/handling-errors.md

    {!../../docs_src/handling_errors/tutorial003.py!}
    ```
    
    Here, if you request `/unicorns/yolo`, the *path operation* will `raise` a `UnicornException`.
    
    But it will be handled by the `unicorn_exception_handler`.
    
    So, you will receive a clean error, with an HTTP status code of `418` and a JSON content of:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | "Technical Details"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/handling-errors.md

    ```
    
    Nesse cenário, se você fizer uma requisição para `/unicorns/yolo`, a *operação de caminho* vai lançar (`raise`) o `UnicornException`.
    
    Essa exceção será manipulada, contudo, pelo `unicorn_exception_handler`.
    
    Dessa forma você receberá um erro "limpo", com o HTTP status code `418` e um JSON com o conteúdo:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | "Detalhes Técnicos"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top