- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 843 for success (0.04 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
} UpgradeResult result = orchestrator.executeStrategies(context, pomMap); assertTrue(result.success(), "Orchestrator should succeed when all strategies succeed"); // Verify all strategies were called for (UpgradeStrategy strategy : mockStrategies) { verify(strategy).isApplicable(context);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java
public class Result<T> { /** * Success without warnings * * @param model */ public static <T> Result<T> success(T model) { return success(model, Collections.emptyList()); } /** * Success with warnings * * @param model * @param problems */ public static <T> Result<T> success(T model, Iterable<? extends ModelProblem> problems) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 26 19:31:34 GMT 2025 - 6.9K bytes - Click Count (0) -
cmd/endpoint-ellipses_test.go
if err != nil && testCase.success { t.Fatalf("Test %d: unexpected error: %v", i+1, err) } _, _, err = createServerEndpoints(testCase.serverAddr, srvCtxt.Layout.pools, srvCtxt.Layout.legacy) if err != nil && testCase.success { t.Errorf("Test %d: Expected success but failed instead %s", i+1, err) } if err == nil && !testCase.success {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.1K bytes - Click Count (0) -
internal/dsync/locker.go
type NetLocker interface { // Do read lock for given LockArgs. It should return // * a boolean to indicate success/failure of the operation // * an error on failure of lock request operation. RLock(ctx context.Context, args LockArgs) (bool, error) // Do write lock for given LockArgs. It should return // * a boolean to indicate success/failure of the operation // * an error on failure of lock request operation.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jan 18 20:44:38 GMT 2022 - 2.7K bytes - Click Count (0) -
internal/config/etcd/etcd_test.go
t.Run(testCase.s, func(t *testing.T) { endpoints, secure, err := parseEndpoints(testCase.s) if err != nil && testCase.success { t.Errorf("expected to succeed but failed with %s", err) } if !testCase.success && err == nil { t.Error("expected failure but succeeded instead") } if testCase.success { if !reflect.DeepEqual(endpoints, testCase.endpoints) { t.Errorf("expected %s, got %s", testCase.endpoints, endpoints)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
UpgradeContext context = createMockContext(); UpgradeResult result = strategy.doApply(context, pomMap); assertTrue(result.success(), "Plugin upgrade should succeed"); // Note: POM may or may not be modified depending on whether upgrades are needed // Verify the plugin version was upgraded Editor editor = new Editor(document);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (0) -
internal/config/storageclass/storage-class_test.go
} for i, tt := range tests { err := validateParity(tt.ssParity, tt.rrsParity, tt.setDriveCount) if err != nil && tt.success { t.Errorf("Test %d, Expected success, got %s", i+1, err) } if err == nil && !tt.success { t.Errorf("Test %d, Expected failure, got success", i+1) } } } func TestParityCount(t *testing.T) { tests := []struct { sc string drivesCount intCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 15 23:04:20 GMT 2023 - 4.3K bytes - Click Count (0) -
src/archive/tar/strconv_test.go
var p parser got := p.parseNumeric([]byte(v.in)) ok := (p.err == nil) if ok != v.ok { if v.ok { t.Errorf("parseNumeric(%q): got parsing failure, want success", v.in) } else { t.Errorf("parseNumeric(%q): got parsing success, want failure", v.in) } } if ok && got != v.want { t.Errorf("parseNumeric(%q): got %d, want %d", v.in, got, v.want) } } }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 11 17:52:43 GMT 2025 - 15K bytes - Click Count (0) -
internal/mountinfo/mountinfo_linux_test.go
} } // Success case, where path doesn't have any mounts. { absPaths := []string{"/path/to/x"} if err = checkCrossDevice(absPaths, mountsPath); err != nil { t.Fatalf("Expected success, failed instead (%s)", err) } } } // Tests cross device mount verification function, for both failure // and success cases. func TestCrossDeviceMount(t *testing.T) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 7.3K bytes - Click Count (0) -
scripts/deploy_docs_status.py
context="deploy-docs", target_url=run_url, ) logging.info("Error deploying docs") return assert settings.state == "success" if not settings.deploy_url: current_commit.create_status( state="success", description="No Docs Changes", context="deploy-docs", target_url=run_url, ) logging.info("No docs changes found")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 05:56:53 GMT 2025 - 4.4K bytes - Click Count (0)