- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 3,297 for _shouldn (0.3 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/associations_has_one_test.go
if err := DB.Model(&user2).Association("Account").Append(&account); err != nil { t.Fatalf("Error happened when append account, got %v", err) } if account.ID == 0 { t.Fatalf("Account's ID should be created") } user.Account = account CheckUser(t, user2, user) AssertAssociationCount(t, user, "Account", 1, "AfterAppend") // Replace account2 := Account{Number: "account-has-one-replace"}
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:49:45 GMT 2024 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/HandlerTest.java
// Act: relative path should exercise the 'else if' path in parseURL URL rel = new URL(base, "foo/bar", handler); // Assert assertEquals(SmbConstants.DEFAULT_PORT, rel.getPort(), "Default port should be applied"); String actualPath = rel.getPath(); assertNotNull(actualPath, "Path should not be null");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
assertSame(impl, renewed, "renew() should return the same instance"); } else if (expectNew) { assertNotNull(renewed, "renew() should return a new non-null instance"); assertNotSame(impl, renewed, "renew() should return a different instance"); assertTrue(renewed instanceof SmbRenewableCredentials, "renewed credentials should still be SmbRenewableCredentials"); } else {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
cmd/erasure-object-conditional_test.go
// Precondition fails if ETag doesn't match return oi.ETag != "wrong-etag" }, } _, err := obj.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader([]byte("should-fail")), int64(len("should-fail")), "", ""), opts) if !isErrReadQuorum(err) { t.Errorf("Expected read quorum error when if-match is used with quorum failure (even with wrong ETag), got: %v", err) } })
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 4.9K bytes - Click Count (0) -
tests/non_std_test.go
t.Error("RowsAffected should be correct when do batch update") } animal = Animal{From: "somewhere"} // No name fields, should be filled with the default value (galeone) DB.Save(&animal).Update("From", "a nice place") // The name field should be untouched DB.First(&animal, animal.Counter) if animal.Name != "galeone" {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed May 08 04:07:58 GMT 2024 - 1.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java
* and whether the crawling process should be aborted. */ public class DataStoreCrawlingException extends CrawlingAccessException { private static final long serialVersionUID = 1L; /** * The URL where the crawling error occurred. */ private final String url; /** * Flag indicating whether the crawling process should be aborted. */ private final boolean abort;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Nov 19 08:04:23 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
for (final String cmd : processedCommands) { assertFalse("Command should not contain ${url}", cmd.contains("${url}")); assertFalse("Command should not contain ${outputFile}", cmd.contains("${outputFile}")); assertTrue("Command should contain temp path", cmd.contains(tempPath)); assertTrue("Command should contain output path", cmd.contains(outputPath)); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 27.8K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/NtlmFlags.java
/** * Specifies that communication across the authenticated channel * should carry a digital signature (message integrity). */ int NTLMSSP_NEGOTIATE_SIGN = 0x00000010; /** * Specifies that communication across the authenticated channel * should be encrypted (message confidentiality). */ int NTLMSSP_NEGOTIATE_SEAL = 0x00000020; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
String output = baos.toString(); assertNotNull(output); // Control characters should be displayed as dots assertTrue(output.contains("|......")); // Printable characters should be displayed as is assertTrue(output.contains(" AB~")); // High bytes should be dots assertTrue(output.contains("...")); } @ParameterizedTest
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java
assertNotNull(results); // Should return empty or minimal results assertTrue(results.size() <= 10); } } /** * Test search with negative start position (should be handled gracefully). */ @Test public void test_searchWithNegativeStartPosition() throws Exception {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 14.2K bytes - Click Count (0)