- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 377 for success (0.06 seconds)
-
internal/config/compress/compress_test.go
t.Run(testCase.str, func(t *testing.T) { gotPatterns, err := parseCompressIncludes(testCase.str) if !testCase.success && err == nil { t.Error("expected failure but success instead") } if testCase.success && err != nil { t.Errorf("expected success but failed instead %s", err) } if testCase.success && !reflect.DeepEqual(testCase.expectedPatterns, gotPatterns) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.8K bytes - Click Count (0) -
cmd/config-encrypted_test.go
edata []byte cred auth.Credentials success bool }{ {edata1, cred1, true}, {edata2, cred2, true}, {data, cred1, false}, } for _, test := range tests { t.Run("", func(t *testing.T) { ddata, err := madmin.DecryptData(test.cred.String(), bytes.NewReader(test.edata)) if err != nil && test.success { t.Errorf("Expected success, saw failure %v", err) } if err == nil && !test.success {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 20 00:53:08 GMT 2023 - 1.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java
@Test @DisplayName("should create empty result") void shouldCreateEmptyResult() { UpgradeResult result = UpgradeResult.empty(); assertTrue(result.success(), "Empty result should be successful"); assertEquals(0, result.processedCount(), "Empty result should have no processed POMs");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 9.4K bytes - Click Count (0) -
internal/config/config_test.go
func TestValidRegion(t *testing.T) { tests := []struct { name string success bool }{ {name: "us-east-1", success: true}, {name: "us_east", success: true}, {name: "helloWorld", success: true}, {name: "-fdslka", success: false}, {name: "^00[", success: false}, {name: "my region", success: false}, {name: "%%$#!", success: false}, } for _, test := range tests {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.2K 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) -
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) -
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) -
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)