Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,414 for mirror (0.03 sec)

  1. tests/associations_has_one_test.go

    	user := User{Name: "jinzhu", Account: Account{Number: "1"}}
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	if err := DB.Model(&user).Association("Languages").Replace(Account{Number: "2"}); err == nil {
    		t.Error("expected association error to be not nil")
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            DataStoreException withIOException = new DataStoreException("IO Error", new java.io.IOException("File not found"));
            DataStoreException withNPE = new DataStoreException("NPE Error", new NullPointerException("Null value"));
            DataStoreException withCustom = new DataStoreException("Custom Error", new FessSystemException("System error"));
    
            assertTrue(withIOException.getCause() instanceof java.io.IOException);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                assertEquals(runtimeException, exception.getCause());
            });
    
            // Test with error
            Error error = new OutOfMemoryError("Out of memory");
            assertDoesNotThrow(() -> {
                RuntimeCIFSException exception = new RuntimeCIFSException(error);
                assertEquals(error, exception.getCause());
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. cmd/data-usage_test.go

    				e = &f
    			}
    			if w.isNil {
    				if e != nil {
    					t.Error("want nil, got", e)
    				}
    				return
    			}
    			if e == nil {
    				t.Error("got nil result")
    				return
    			}
    			if e.Size != int64(w.size) {
    				t.Error("got size", e.Size, "want", w.size)
    			}
    			if e.Objects != uint64(w.objs) {
    				t.Error("got objects", e.Objects, "want", w.objs)
    			}
    			if e.Versions != uint64(w.objs) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                assertEquals("DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", result.getMessage(),
                        "Should return correct error message for code 2");
            }
    
            @Test
            @DisplayName("getResult should return exception for error code 3")
            void testGetResultError3() throws Exception {
                // Given
                setResultField(bind, 3);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            Throwable ioCause = new java.io.IOException("IO error");
            GsaConfigException ioException = new GsaConfigException("GSA IO error", ioCause);
            assertNotNull(ioException);
            assertTrue(ioException.getCause() instanceof java.io.IOException);
    
            // Test with custom exception
            Throwable customCause = new FessSystemException("Custom Fess error");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/expr_test.go

    		if err == nil {
    			if test.error != "" {
    				t.Errorf("#%d: %q: expected error %q; got none", i, test.input, test.error)
    			}
    			continue
    		}
    		if !strings.Contains(err.Error(), test.error) {
    			t.Errorf("#%d: expected error %q; got %q", i, test.error, err)
    			continue
    		}
    	}
    }
    
    func runBadTest(i int, test badExprTest, t *testing.T) (err error) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/error/ErrorBadrequrestAction.java

        //                                                                      ==============
        /**
         * Displays the bad request error page.
         *
         * @param form the error form containing error information
         * @return HTML response for the bad request error page
         */
        @Execute
        public HtmlResponse index(final ErrorForm form) {
            return asHtml(virtualHost(path_Error_BadRequestJsp));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. tests/update_has_many_test.go

    )
    
    func TestUpdateHasManyAssociations(t *testing.T) {
    	user := *GetUser("update-has-many", Config{})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	user.Pets = []*Pet{{Name: "pet1"}, {Name: "pet2"}}
    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user2 User
    	DB.Preload("Pets").Find(&user2, "id = ?", user.ID)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2K bytes
    - Viewed (0)
  10. cmd/admin-handler-utils.go

    	return toAPIErrorCode(ctx, err)
    }
    
    // wraps export error for more context
    func exportError(ctx context.Context, err error, fname, entity string) APIError {
    	if entity == "" {
    		return toAPIError(ctx, fmt.Errorf("error exporting %s with: %w", fname, err))
    	}
    	return toAPIError(ctx, fmt.Errorf("error exporting %s from %s with: %w", entity, fname, err))
    }
    
    // wraps import error for more context
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top