- Sort Score
- Result 10 results
- Languages All
Results 1031 - 1040 of 1,595 for Tests (0.51 sec)
-
android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java
import java.util.Map; import java.util.Map.Entry; import java.util.NavigableMap; import java.util.SortedMap; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Tests for SafeTreeMap. * * @author Louis Wasserman */ public class SafeTreeMapTest extends TestCase { @AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java
import com.google.common.annotations.GwtCompatible; import java.util.Map.Entry; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tests for {@code AbstractMapEntry}. * * @author Mike Bostock */ @GwtCompatible @NullMarked public class AbstractMapEntryTest extends TestCase { private static final @Nullable String NK = null;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/PerformanceTestExtensions.kt
os: Os = Os.LINUX, arch: Arch = Arch.AMD64, timeout: Int = 30, ) { applyDefaultSettings(os = os, arch = arch, timeout = timeout) artifactRules = """ build/report-*-performance-tests.zip => . build/report-*-performance.zip => $HIDDEN_ARTIFACT_DESTINATION build/report-*PerformanceTest.zip => $HIDDEN_ARTIFACT_DESTINATION """.trimIndent() detectHangingBuilds = false
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Mon Aug 25 20:21:47 UTC 2025 - 4K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
* * <p>This differs from {@code Long.bitCount(x) == 1}, because {@code * Long.bitCount(Long.MIN_VALUE) == 1}, but {@link Long#MIN_VALUE} is not a power of two. */ // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, || @SuppressWarnings("ShortCircuitBoolean") public static boolean isPowerOfTwo(long x) { return x > 0 & (x & (x - 1)) == 0; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 29 16:20:07 UTC 2025 - 46.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
List<String> events = catcher.getEvents(); assertEquals("Only one event should be delivered.", 1, events.size()); assertEquals("Correct string should be delivered.", EVENT, events.get(0)); } /** * Tests that events are distributed to any subscribers to their type or any supertype, including * interfaces and superclasses. * * <p>Also checks delivery ordering in such cases. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.3K bytes - Viewed (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** アプリファイル
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.6K bytes - Viewed (0) -
tests/prepared_stmt_test.go
package tests_test import ( "context" "errors" "sync" "testing" "time" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestPreparedStmt(t *testing.T) { tx := DB.Session(&gorm.Session{PrepareStmt: true}) if _, ok := tx.ConnPool.(*gorm.PreparedStmtDB); !ok { t.Fatalf("should assign PreparedStatement Manager back to database when using PrepareStmt mode") }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import java.util.Set; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A series of tests that support asserting that collections cannot be modified, either through * direct or indirect means. * * @author Robert Konigsberg */ @GwtCompatible @NullMarked public class UnmodifiableCollectionTests {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
* that gets messy here, and we already have null tests for Range. */ /* * These generators also rely on consecutive integer inputs (not necessarily in order, but no * holes). */ // SetCreationTester has some tests that pass in duplicates. Dedup them.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
// When gssContext is null, isEstablished returns false setPrivateField(ctx, "gssContext", null); assertFalse(ctx.isEstablished()); // Put it back for subsequent tests setPrivateField(ctx, "gssContext", gssContext); } @Test @DisplayName("supportsIntegrity always true") void supportsIntegrity_alwaysTrue() { assertTrue(ctx.supportsIntegrity());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0)