Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 344 for test_2 (0.05 sec)

  1. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

            assertEquals("test", queryCommand.toLowercaseWildcard("TEST"));
            assertEquals("test*", queryCommand.toLowercaseWildcard("TEST*"));
            assertEquals("*test*", queryCommand.toLowercaseWildcard("*TEST*"));
            assertEquals("te?t", queryCommand.toLowercaseWildcard("TE?T"));
            assertEquals("test123", queryCommand.toLowercaseWildcard("TEST123"));
            assertEquals("", queryCommand.toLowercaseWildcard(""));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

        }
    
        public void test_store_withValidData() {
            // Prepare test data
            DataStoreParams paramMap = new DataStoreParams();
            Map<String, Object> dataMap = new HashMap<>();
            dataMap.put("url", "http://example.com/test");
            dataMap.put("title", "Test Document");
    
            // Execute
            indexUpdateCallback.store(paramMap, dataMap);
    
            // Verify
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    // This makes it easy to run the TestServer from any of the tests.
    // Using this interface, functionalities to be used in tests can be
    // made generalized, and can be integrated in benchmarks/unit tests/go check suite tests.
    type TestErrHandler interface {
    	testing.TB
    }
    
    const (
    	// ErasureSDStr is the string which is used as notation for Single node ObjectLayer in the unit tests.
    	ErasureSDStr string = "ErasureSD"
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  4. docs/uk/docs/tutorial/testing.md

    ```console
    $ pip install httpx
    ```
    
    ///
    
    Імпортуйте `TestClient`.
    
    Створіть `TestClient`, передавши йому Ваш застосунок **FastAPI**.
    
    Створюйте функції з іменами, що починаються з `test_` (це стандартна угода для `pytest`).
    
    Використовуйте об'єкт `TestClient` так само як і `httpx`.
    
    Записуйте прості `assert`-вирази зі стандартними виразами Python, які потрібно перевірити (це також стандарт для `pytest`).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 14:12:19 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      }
    
      public void testChecksForNull() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    
        tester.testAllPublicInstanceMethods(new HashingInputStream(Hashing.md5(), buffer));
        tester.testAllPublicStaticMethods(HashingInputStream.class);
        tester.testAllPublicConstructors(HashingInputStream.class);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      }
    
      public void testChecksForNull() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    
        tester.testAllPublicInstanceMethods(new HashingInputStream(Hashing.md5(), buffer));
        tester.testAllPublicStaticMethods(HashingInputStream.class);
        tester.testAllPublicConstructors(HashingInputStream.class);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/testing-websockets.md

    Você pode usar o mesmo `TestClient` para testar WebSockets.
    
    Para isso, você utiliza o `TestClient` dentro de uma instrução `with`, conectando com o WebSocket:
    
    {* ../../docs_src/app_testing/tutorial002.py hl[27:31] *}
    
    /// note | Nota
    
    Para mais detalhes, confira a documentação do Starlette para <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testar WebSockets</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 467 bytes
    - Viewed (0)
  8. docs/de/docs/advanced/testing-dependencies.md

    # Testen mit Ersatz für Abhängigkeiten
    
    ## Abhängigkeiten beim Testen überschreiben
    
    Es gibt einige Szenarien, in denen Sie beim Testen möglicherweise eine Abhängigkeit überschreiben möchten.
    
    Sie möchten nicht, dass die ursprüngliche Abhängigkeit ausgeführt wird (und auch keine der möglicherweise vorhandenen Unterabhängigkeiten).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

      }
    
      private static HostSpecifier spec(String specifier) {
        return HostSpecifier.fromValid(specifier);
      }
    
      public void testNulls() {
        NullPointerTester tester = new NullPointerTester();
    
        tester.testAllPublicStaticMethods(HostSpecifier.class);
        tester.testAllPublicInstanceMethods(HostSpecifier.fromValid("google.com"));
      }
    
      private void assertGood(String spec) throws ParseException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/testing.md

    ///
    
    /// tip
    
    If you want to call `async` functions in your tests apart from sending requests to your FastAPI application (e.g. asynchronous database functions), have a look at the [Async Tests](../advanced/async-tests.md){.internal-link target=_blank} in the advanced tutorial.
    
    ///
    
    ## Separating tests { #separating-tests }
    
    In a real application, you probably would have your tests in a different file.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top