- Sort Score
- Result 10 results
- Languages All
Results 881 - 890 of 1,443 for expected (0.05 sec)
-
tests/postgres_test.go
} var things []Thing if err := DB.Find(&things).Error; err != nil { t.Errorf("Failed, got error: %v", err) } if len(things) > 1 { t.Errorf("expected 1 thing got more") } } type CompanyNew struct { ID int Name int } func TestAlterColumnDataType(t *testing.T) { DB.AutoMigrate(Company{})
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Oct 08 09:16:32 UTC 2022 - 6.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt
import kotlin.test.assertFailsWith import okio.Buffer import okio.FileSystem import okio.Path.Companion.toPath import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test /** Confirm we get the expected table whether we build it from the .txt file or compact that. */ class IdnaMappingTableTest { private lateinit var table: SimpleIdnaMappingTable private lateinit var compactTable: IdnaMappingTable @BeforeEach
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
assertThat(Floats.tryParse(input)).isEqualTo(referenceTryParse(input)); } @GwtIncompatible // Floats.tryParse private static void checkTryParse(float expected, String input) { assertThat(Floats.tryParse(input)).isEqualTo(Float.valueOf(expected)); } @GwtIncompatible // Floats.tryParse public void testTryParseHex() { for (String signChar : ImmutableList.of("", "+", "-")) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
assertThat(Floats.tryParse(input)).isEqualTo(referenceTryParse(input)); } @GwtIncompatible // Floats.tryParse private static void checkTryParse(float expected, String input) { assertThat(Floats.tryParse(input)).isEqualTo(Float.valueOf(expected)); } @GwtIncompatible // Floats.tryParse public void testTryParseHex() { for (String signChar : ImmutableList.of("", "+", "-")) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java
// ============ /** * Verifies that the CRUD mode matches the expected mode. * * @param crudMode the current CRUD mode * @param expectedMode the expected CRUD mode * @param dictId the dictionary ID for error handling */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 23.7K bytes - Viewed (1) -
docs/bucket/replication/setup_ilm_expiry_replication.sh
flag2=$(./mc admin replicate info sitea --json | jq '.sites[1]."replicate-ilm-expiry"') if [ "$flag1" != "true" ]; then echo "BUG: Expected ILM expiry replication not set for 'sitea'" exit 1 fi if [ "$flag2" != "true" ]; then echo "BUG: Expected ILM expiry replication not set for 'siteb'" exit 1 fi ## Check if ILM expiry rules replicated sleep 30s ./mc ilm rule list siteb/bucket
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 12.8K bytes - Viewed (0) -
tests/update_test.go
if db.RowsAffected != 1 { t.Errorf("Expected RowsAffected=1 but instead RowsAffected=%v", db.RowsAffected) } // Verify that Age now=`newAge`. result := &User{} result.ID = user.ID DB.Preload("Account").First(result) if result.Age != newAge { t.Errorf("Expected freshly queried user to have Age=%v but instead found Age=%v", newAge, result.Age) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 30.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java
// ============ /** * Verify the CRUD mode. * @param crudMode The CRUD mode. * @param expectedMode The expected mode. */ protected void verifyCrudMode(final int crudMode, final int expectedMode) { if (crudMode != expectedMode) { throwValidationError(messages -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
// Act & Assert assertThrows(NullPointerException.class, () -> handler.openConnection(null), "Null URL should throw NPE"); verify(mockCtx, never()).getConfig(); // no interaction expected on failure before construction } @Test @DisplayName("openConnection uses SingletonContext when no context provided") void testOpenConnection_UsesSingletonContext() throws Exception { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
CODE_OF_CONDUCT.md
## Our Responsibilities Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Feb 05 18:43:16 UTC 2021 - 5.2K bytes - Viewed (0)