Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 23 of 23 for textContent (0.06 seconds)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            String testContent = "Hello, SMB World!\nThis is a test file.";
    
            // Write content to file
            try (OutputStream out = file.openOutputStream(false)) {
                out.write(testContent.getBytes("UTF-8"));
            }
    
            assertTrue(file.exists(), "File should exist after writing");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  2. cmd/object_api_suite_test.go

    	ExecExtendedObjectLayerTest(t, testPutObject)
    }
    
    // Tests validate PutObject without prefix.
    func testPutObject(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	content := []byte("testcontent")
    	length := int64(len(content))
    	readerEOF := newTestReaderEOF(content)
    	readerNoEOF := newTestReaderNoEOF(content)
    	err := obj.MakeBucket(context.Background(), "bucket", MakeBucketOptions{})
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  3. cmd/server_test.go

    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	for _, objectName := range []string{"file.1", "file.2"} {
    		buffer := bytes.NewReader([]byte("testcontent"))
    		putRequest, err := newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    			int64(buffer.Len()), buffer, s.accessKey, s.secretKey, s.signer)
    		c.Assert(err, nil)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
Back to Top