Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testPutObject (0.28 sec)

  1. cmd/object_api_suite_test.go

    		ExecObjectLayerTest(t, objTest)
    	})
    }
    
    // Wrapper for calling testPutObject for both Erasure and FS.
    func TestPutObject(t *testing.T) {
    	ExecExtendedObjectLayerTest(t, testPutObject)
    }
    
    // Tests validate PutObject without prefix.
    func testPutObject(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	content := []byte("testcontent")
    	length := int64(len(content))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	object, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	c.Assert(string(object), "hello world")
    }
    
    // TestPutObject -  Tests successful put object request.
    func (s *TestSuiteCommon) TestPutObject(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// HTTP request to create the bucket.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top