- Sort Score
- Num 10 results
- Language All
Results 681 - 690 of 2,277 for Tests (0.03 seconds)
-
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
return new LocalLoadingCache<>(builder, loader); } private CacheBuilder<Object, Object> createCacheBuilder() { return CacheBuilder.newBuilder().recordStats(); } // constructor tests public void testComputingFunction() { CacheLoader<Object, Object> loader = new CacheLoader<Object, Object>() { @Override public Object load(Object from) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypesTest.java
@SuppressWarnings({ "unused", /* * Since reflection can't tell the difference between <T> and <T extends Object>, it doesn't * make a ton of sense to have a separate tests for each. But having tests for each doesn't * really hurt anything, and maybe it will serve a purpose in a future in which Java has a * built-in nullness feature? */ "ExtendsObject", })Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 15.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
import java.util.Collections; import org.junit.Ignore; /** * Tests for {@code Multiset.add}. * * @author Jared Levy */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 4.1K bytes - Click Count (0) -
mockwebserver-junit4/README.md
This module integrates mockwebserver3.MockWebServer with JUnit 4. To use, first add this library as a test dependency: ``` testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.3.0") ``` Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation: ``` @Rule public final MockWebServerRule serverRule = new MockWebServerRule(); ```Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 706 bytes - Click Count (0) -
docs/ko/docs/advanced/testing-events.md
{* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *} ["공식 Starlette 문서 사이트에서 테스트에서 라이프스팬 실행하기."](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)에 대한 자세한 내용을 더 읽을 수 있습니다. 더 이상 권장되지 않는 `startup` 및 `shutdown` 이벤트의 경우, 다음과 같이 `TestClient`를 사용할 수 있습니다:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:57:01 GMT 2026 - 741 bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
import junit.framework.Test; import junit.framework.TestSuite; /** * Generates a test suite covering the {@link Map} implementations in the {@link java.util} package. * Can be subclassed to specify tests that should be suppressed. * * @author Kevin Bourrillion */ @GwtIncompatible public class TestsForMapsInJavaUtil { public static Test suite() { return new TestsForMapsInJavaUtil().allTests(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 21.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
return 0; } @Override public int size() { return 0; } } @Nested @DisplayName("Interface Tests") class InterfaceTests { @Test @DisplayName("Should implement getContextType correctly") void testGetContextType() { // Test with different context typesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
docs/ja/docs/advanced/testing-events.md
{* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *} より詳しい内容は、[公式 Starlette ドキュメントの「テストでの lifespan の実行」](https://www.starlette.dev/lifespan/#running-lifespan-in-tests) を参照してください。 非推奨の `startup` および `shutdown` イベントについては、次のように `TestClient` を使用できます:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 15:24:30 GMT 2026 - 724 bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for SmbBasicFileInfo interface. * The tests exercise typical, edge, and null scenarios using a simple * implementation and a Mockito mock to verify interactions. */ @ExtendWith(MockitoExtension.class) public class SmbBasicFileInfoTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
import java.net.URL; import java.net.URLConnection; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Unit tests for {@link Handler}. * * Tests the SMB URL handler implementation including: * - Default port configuration * - URL connection opening * - URL creation and parsing */ public class HandlerTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (0)