- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 2,000 for failed (0.05 seconds)
-
tests/associations_has_many_test.go
if err := tx.Create(&item).Error; err != nil { t.Fatalf("failed to create items, got error: %v", err) } // test Replace if err := tx.Model(&item).Association("Contents").Unscoped().Replace([]ItemContent{ {Name: "updated name", LanguageCode: "en"}, {Name: "ar updated name", LanguageCode: "ar"}, {Name: "le nom", LanguageCode: "fr"}, }); err != nil { t.Errorf("failed to replace item content, got error: %v", err) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 16.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
void connectLogon_throws_propagates() throws Exception { // Arrange doThrow(new SmbException("login failed")).when(tree).connectLogon(context); // Act + Assert SmbException ex = assertThrows(SmbException.class, () -> tree.connectLogon(context)); assertEquals("login failed", ex.getMessage()); verify(tree).connectLogon(context); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Apr 30 16:21:08 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java
} @Test public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "Job execution failed"; boolean exceptionCaught = false; try { throw new ScheduledJobException(expectedMessage); } catch (ScheduledJobException e) { exceptionCaught = true;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.9K bytes - Click Count (0) -
.teamcity/scripts/CheckWrapper.java
throw new AssertionError(String.join(" ", cmd) + " failed: " + r); } } private static String stdout(String... cmd) throws IOException, InterruptedException, ExecutionException { ExecResult r = exec(cmd); if (r.exitCode() != 0) { throw new AssertionError(String.join(" ", cmd) + " failed: " + r); } return r.stdout(); }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 6.4K bytes - Click Count (0) -
cmd/object-api-options.go
return opts, fmt.Errorf("Unable to parse %s, failed with %w", xhttp.MinIOSourceMTime, err) } } retaintimeStr := strings.TrimSpace(hdr.Get(xhttp.MinIOSourceObjectRetentionTimestamp)) var retaintimestmp time.Time if retaintimeStr != "" { retaintimestmp, err = time.Parse(time.RFC3339, retaintimeStr) if err != nil { return opts, fmt.Errorf("Unable to parse %s, failed with %w", xhttp.MinIOSourceObjectRetentionTimestamp, err)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.3K bytes - Click Count (0) -
cmd/erasure-sets_test.go
t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.sipHash, sipHashElement) } } if sipHashElement := hashKey("SIPMOD", "This will fail", -1, testUUID); sipHashElement != -1 { t.Errorf("Test: Expected \"-1\" but got \"%v\"", sipHashElement) } if sipHashElement := hashKey("SIPMOD", "This will fail", 0, testUUID); sipHashElement != -1 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.8K bytes - Click Count (0) -
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Mar 19 07:46:39 GMT 2026 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
// We expect this to fail, but it should be a CIFSException, not a NullPointerException assertTrue(e.getCause() instanceof CIFSException); assertTrue(e.getCause().getMessage().contains("Failed to create multi-channel transport")); } } @Test @DisplayName("MultiChannelManager should shutdown cleanly") void testShutdown() { assertDoesNotThrow(() -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 2.9K bytes - Click Count (0)