- Sort Score
- Result 10 results
- Languages All
Results 901 - 910 of 1,443 for expected (0.07 sec)
-
tests/gaussdb_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") } } func TestGaussDBAlterColumnDataType(t *testing.T) { if DB.Dialector.Name() != "gaussdb" { t.Skip() } DB.Migrator().DropTable(&Company{}) DB.AutoMigrate(Company{})
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
for (Class<?> mutableClass : mutableClasses) { Object instance = ArbitraryInstances.get(mutableClass); assertNotNull("Expected to return non-null for: " + mutableClass, instance); assertNotSame( "Expected to return fresh instance for: " + mutableClass, instance, ArbitraryInstances.get(mutableClass)); } } private enum EmptyEnum {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 21.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
* supported. Null keys and values are supported. * * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} are all (expected and * amortized) constant time operations. Expected in the hashtable sense (depends on the hash * function doing a good job of distributing the elements to the buckets to a distribution not far
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 35.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
.resolveType(subtype)); } public <T> void testWhere_mapFromBoundedWildcard() { Type subtype = new TypeCapture<TypedKeyMap<T>>() {}.capture(); // TODO(benyu): This should check equality to an expected value, see discussion in cl/98674873 Type unused = new TypeResolver() .where( new TypeCapture<Map<Integer, T>>() {}.capture(),
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
// SmbConstants is an interface with static final fields // Verify constants maintain their values assertEquals(445, SmbConstants.DEFAULT_PORT); // Test that the constant values are as expected for protocol compliance assertTrue(SmbConstants.DEFAULT_PORT > 0); assertTrue(SmbConstants.DEFAULT_RESPONSE_TIMEOUT > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
cmd/bucket-replication-utils_test.go
for i, test := range parseReplicationDecisionTest { dsc, err := parseReplicateDecision(t.Context(), "bucket", test.expDsc.String()) if err != nil { if test.expErr != err { t.Errorf("Test%d (%s): Expected parse error got %t , want %t", i+1, test.name, err, test.expErr) } continue } if len(dsc.targetsMap) != len(test.expDsc.targetsMap) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 9.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
if (!perMessageDeflate) throw ProtocolException("Unexpected rsv1 flag") true } else { false } } else -> { if (reservedFlag1) throw ProtocolException("Unexpected rsv1 flag") } } val reservedFlag2 = b0 and B0_FLAG_RSV2 != 0 if (reservedFlag2) throw ProtocolException("Unexpected rsv2 flag")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
} public void test_constants_reference() { // Test that the constant used is accessible and has expected value assertEquals("fess.search_engine.http_address", Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS); } public void test_static_method_signature() { // Verify method signature is correct
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
tree.tid = 123; tree.inDfs = true; tree.inDomainDfs = false; tree.connectionState = 2; String result = tree.toString(); // Verify the toString contains the expected information assertTrue(result.contains("TESTSHARE")); assertTrue(result.contains("testService")); assertTrue(result.contains("123")); assertTrue(result.contains("2")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
// Using test vector from RFC 2104 adapted for HMACT64 byte[] key = new byte[16]; Arrays.fill(key, (byte) 0x0b); byte[] data = "Hi There".getBytes(); // Expected result calculated manually for HMACT64 with this key and data HMACT64 hmac = new HMACT64(key); hmac.engineUpdate(data, 0, data.length); byte[] result = hmac.engineDigest();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0)