- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 317 for test_b (0.04 seconds)
-
src/test/java/jcifs/SmbPipeHandleTest.java
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.mockito.Mockito; import jcifs.smb.SmbPipeHandleInternal; /** * Unit tests for a class that implements the {@link SmbPipeHandle} interface. * This test class uses a mock implementation to ensure any class adhering to the * SmbPipeHandle contract is tested for correctness. */ public class SmbPipeHandleTest {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
.createTestSuite(); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(Collections2.class); } public void testOrderedPermutationSetEmpty() { List<Integer> list = new ArrayList<>();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * Tests for {@link FluentFuture}. The tests cover only the basics for the API. The actual logic is * tested in {@link FuturesTest}. */ @NullMarked @GwtCompatible public class FluentFutureTest extends TestCase { @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method public void testFromFluentFuture() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 5.7K bytes - Click Count (0) -
tests/test_dependency_yield_scope_websockets.py
data = websocket.receive_json() assert data["func_is_open"] is True assert data["req_is_open"] is True assert global_state["session_closed"] is True def test_sub() -> None: global_context.set({}) global_state = global_context.get() with client.websocket_connect("/sub") as websocket: data = websocket.receive_json() assert data["named_session_open"] is True
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6K bytes - Click Count (0) -
docs/ja/docs/tutorial/testing.md
**FastAPI** は開発者の利便性のために `fastapi.testclient` と同じ `starlette.testclient` を提供します。しかし、実際にはStarletteから直接渡されています。 /// /// tip | 豆知識 FastAPIアプリケーションへのリクエストの送信とは別に、テストで `async` 関数 (非同期データベース関数など) を呼び出したい場合は、高度なチュートリアルの[Async Tests](../advanced/async-tests.md){.internal-link target=_blank} を参照してください。 /// ## テストの分離 実際のアプリケーションでは、おそらくテストを別のファイルに保存します。 また、**FastAPI** アプリケーションは、複数のファイル/モジュールなどで構成されている場合もあります。 ### **FastAPI** アプリファイルCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
} @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(ImmutableMultiset.class); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testSerialization_empty() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
import java.util.List; import java.util.Objects; import java.util.function.BiPredicate; import java.util.stream.Collector; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tester for {@code Collector} implementations. * * <p>Example usage: * * <pre> * CollectorTester.of(Collectors.summingInt(Integer::parseInt)) * .expectCollects(3, "1", "2")Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu May 15 21:47:56 GMT 2025 - 6.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
import junit.framework.Test; import junit.framework.TestSuite; /** * Generates a test suite covering the {@link Queue} implementations in the {@link java.util} * package. Can be subclassed to specify tests that should be suppressed. * * @author Jared Levy */ @GwtIncompatible public class TestsForQueuesInJavaUtil { public static Test suite() { return new TestsForQueuesInJavaUtil().allTests();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; import org.junit.jupiter.params.provider.NullAndEmptySource; import org.junit.jupiter.params.provider.ValueSource; import jcifs.Configuration; import jcifs.RuntimeCIFSException; /** * Comprehensive test suite for Strings utility class.
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
tests/test_dependency_yield_scope.py
response = client.get("/two-scopes") assert response.status_code == 200 data = response.json() assert data["func_is_open"] is False assert data["req_is_open"] is True def test_sub() -> None: response = client.get("/sub") assert response.status_code == 200 data = response.json() assert data["named_session_open"] is True assert data["session_open"] is True
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6.7K bytes - Click Count (0)