Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for testObject1 (0.28 sec)

  1. cmd/server_test.go

    	c.Assert(err, nil)
    	// Asserting the error response with the expected values.
    	verifyError(c, response, "NoSuchKey", "The specified key does not exist.", http.StatusNotFound)
    
    	objectName = "testObject1"
    	// content for the object to be uploaded.
    	buffer1 := bytes.NewReader([]byte("hello one"))
    	// create HTTP request for the object upload.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

              .contains(
                  "TestObject{group=1, item=2} [group 1, item 2] must be equivalent to "
                      + "TestObject{group=1, item=1} [group 1, item 1]");
          return;
        }
        fail();
      }
    
      public void testTest_transitive() {
        Object group1Item1 = new TestObject(1, 1);
        Object group1Item2 = new TestObject(1, 2);
        Object group1Item3 = new TestObject(1, 3);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

              .contains(
                  "TestObject{group=1, item=2} [group 1, item 2] must be equivalent to "
                      + "TestObject{group=1, item=1} [group 1, item 1]");
          return;
        }
        fail();
      }
    
      public void testTest_transitive() {
        Object group1Item1 = new TestObject(1, 1);
        Object group1Item2 = new TestObject(1, 2);
        Object group1Item3 = new TestObject(1, 3);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    			t.Fatalf("Put Object case %d:  Error uploading object: <ERROR> %v", i+1, err)
    		}
    	}
    
    	testObject := "testobject"
    
    	// Initiate Multipart upload for testing CopyObjectPartHandler.
    	rec := httptest.NewRecorder()
    	req, err := newTestSignedRequestV4(http.MethodPost, getNewMultipartURL("", bucketName, testObject),
    		0, nil, credentials.AccessKey, credentials.SecretKey, nil)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  5. cmd/erasure-heal_test.go

    		staleWriters := make([]io.Writer, len(staleDisks))
    		for i, disk := range staleDisks {
    			if disk == nil {
    				continue
    			}
    			os.Remove(pathJoin(disk.String(), "testbucket", "testobject"))
    			staleWriters[i] = newBitrotWriter(disk, "", "testbucket", "testobject", erasure.ShardFileSize(test.size), test.algorithm, erasure.ShardSize())
    		}
    
    		// test case setup is complete - now call Heal()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. cmd/object-api-options_test.go

    			rec := httptest.NewRecorder()
    			req := httptest.NewRequest("GET", "/test", nil)
    			req.Header = testCase.headers
    
    			opts, _ := getAndValidateAttributesOpts(ctx, rec, req, bucket, "testobject")
    
    			if !reflect.DeepEqual(opts.ObjectAttributes, testCase.wantObjectAttrs) {
    				t.Errorf("want opts %v, got %v", testCase.wantObjectAttrs, opts.ObjectAttributes)
    			}
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. cmd/object-api-listobjects_test.go

    		err := obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{
    			VersioningEnabled: true,
    		})
    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    	}
    
    	var err error
    	testObjects := []struct {
    		parentBucket    string
    		name            string
    		content         string
    		meta            map[string]string
    		addDeleteMarker bool
    	}{
    		{testBuckets[0], "unique/folder/", "", nil, true},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  8. cmd/post-policy_test.go

    	for i, test := range testCasesV2 {
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		rec := httptest.NewRecorder()
    		req, perr := newPostRequestV2("", bucketName, "testobject", test.secretKey, test.formData)
    		if perr != nil {
    			t.Fatalf("Test %d: %s: Failed to create HTTP request for PostPolicyHandler: <ERROR> %v", i+1, instanceType, perr)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    		{"myobject", nil},
    		// TestXLStorage to use same path of previously created file.
    		{"path/to/my/testobject", nil},
    		// TestXLStorage to use object is a directory now.
    		{"object-as-dir", errIsNotRegular},
    		// path segment uses previously uploaded object.
    		{"myobject/testobject", errFileAccessDenied},
    		// One path segment length is > 255 chars long.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top