Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 574 for mocks (8.16 sec)

  1. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            assertTrue(tag.toString().contains("css=new-class"));
            assertTrue(tag.toString().contains("attrName=role"));
            assertTrue(tag.toString().contains("attrValue=link"));
        }
    
        // Mock implementation of Node for testing without external dependencies
        private static class MockNode implements Node {
            private final String nodeName;
            private final Map<String, MockNode> attributes = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

        * PR [#292](https://github.com/tiangolo/fastapi/pull/292).
    
    * Implement dependency overrides for testing.
        * This allows using overrides/mocks of dependencies during tests.
        * New docs: [Testing Dependencies with Overrides](https://fastapi.tiangolo.com/advanced/testing-dependencies/).
        * PR [#291](https://github.com/tiangolo/fastapi/pull/291).
    
    ## 0.27.2
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
  3. docs/em/docs/index.md

    * 💂‍♂ &amp; 🤝, ✅ 🐕‍🦺 **Oauth2️⃣** ⏮️ **🥙 🤝** &amp; **🇺🇸🔍 🔰** 🔐.
    * 🌅 🏧 (✋️ 😨 ⏩) ⚒ 📣 **🙇 🐦 🎻 🏷** (👏 Pydantic).
    * **🕹** 🛠️ ⏮️ <a href="https://strawberry.rocks" class="external-link" target="_blank">🍓</a> &amp; 🎏 🗃.
    * 📚 ➕ ⚒ (👏 💃):
        * ** *️⃣ **
        * 📶 ⏩ 💯 ⚓️ 🔛 🇸🇲 &amp; `pytest`
        * **⚜**
        * **🍪 🎉**
        * ...&amp; 🌖.
    
    ## 🎭
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. docs/he/docs/index.md

    -   אבטחה והתאמתות, כולל תמיכה ב - **OAuth2** עם **JWT** והתאמתות **HTTP Basic**.
    -   טכניקות מתקדמות (אבל קלות באותה מידה) להכרזת אובייקטי JSON מקוננים (תודות ל - Pydantic).
    -   אינטרקציה עם **GraphQL** דרך <a href="https://strawberry.rocks" class="external-link" target="_blank">Strawberry</a> וספריות אחרות.
    -   תכונות נוספות רבות (תודות ל - Starlette) כגון:
        -   **WebSockets**
        -   בדיקות קלות במיוחד מבוססות על `requests` ו - `pytest`
        -   **CORS**
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                    String path = "\\\\server";
                    int maxReferralLevel = 3;
                    buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
    
                    // Configure mock to do nothing when called
                    mockedSMBUtil.when(() -> SMBUtil.writeInt2(anyLong(), any(byte[].class), anyInt())).thenAnswer(invocation -> null);
    
                    byte[] dst = new byte[buffer.size()];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    lifeinsurance
    lifestyle
    lig.it
    lighting
    liguria.it
    like
    likes-pie.com
    likescandy.com
    lillehammer.no
    lillesand.no
    lilly
    lima-city.at
    lima-city.ch
    lima-city.de
    lima-city.rocks
    lima.zone
    limanowa.pl
    limited
    limo
    lincoln
    lindas.no
    lindesnes.no
    lindås.no
    link
    linkyard-cloud.ch
    linkyard.cloud
    lipsy
    littlestar.jp
    live
    live-on.net
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 129.6K bytes
    - Viewed (3)
  7. docs/ru/docs/index.md

    * Более продвинутые (но столь же простые) методы объявления **глубоко вложенных моделей JSON** (спасибо Pydantic).
    * **GraphQL** интеграция с <a href="https://strawberry.rocks" class="external-link" target="_blank">Strawberry</a> и другими библиотеками.
    * Множество дополнительных функций (благодаря Starlette), таких как:
        * **Веб-сокеты**
        * очень простые тесты на основе HTTPX и `pytest`
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

        }
    
        public void test_installArtifact_default() {
            PluginHelper testHelper = new PluginHelper() {
                @Override
                protected void install(Artifact artifact) {
                    // Mock install method
                }
            };
    
            Artifact artifact = new Artifact("fess-ds-test", "1.0.0", "http://test.com/test.jar");
    
            try {
                testHelper.installArtifact(artifact);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. docs/vi/docs/index.md

    * Những kĩ thuật nâng cao hơn (nhưng tương đối dễ) để định nghĩa **JSON models lồng nhau** (cảm ơn Pydantic).
    * Tích hợp **GraphQL** với <a href="https://strawberry.rocks" class="external-link" target="_blank">Strawberry</a> và các thư viện khác.
    * Nhiều tính năng mở rộng (cảm ơn Starlette) như:
        * **WebSockets**
        * kiểm thử vô cùng dễ dàng dựa trên HTTPX và `pytest`
        * **CORS**
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. doc/go_mem.html

    var limit = make(chan int, 3)
    
    func main() {
    	for _, w := range work {
    		go func(w func()) {
    			limit &lt;- 1
    			w()
    			&lt;-limit
    		}(w)
    	}
    	select{}
    }
    </pre>
    
    <h3 id="locks">Locks</h3>
    
    <p>
    The <code>sync</code> package implements two lock data types,
    <code>sync.Mutex</code> and <code>sync.RWMutex</code>.
    </p>
    
    <p class="rule">
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top