Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for expectedContent (0.24 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java

    @Named("string")
    @Singleton
    public class StringWagon extends StreamWagon {
        private Map<String, String> expectedContent = new HashMap<>();
    
        public void addExpectedContent(String resourceName, String expectedContent) {
            this.expectedContent.put(resourceName, expectedContent);
        }
    
        public String[] getSupportedProtocols() {
            return new String[] {"string"};
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/bucket-handlers_test.go

    		}
    
    		// Verify whether the bucket obtained object is same as the one created.
    		if testCase.expectedContent != nil && !bytes.Equal(testCase.expectedContent, actualContent) {
    			t.Log(string(testCase.expectedContent), string(actualContent))
    			t.Errorf("Test %d : MinIO %s: Object content differs from expected value.", i, instanceType)
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    			secretKey:  credentials.SecretKey,
    
    			expectedContent:    bytesData[0].byteData,
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 2.
    		// Case with non-existent object name.
    		{
    			bucketName: bucketName,
    			objectName: "abcd",
    			byteRange:  "",
    			accessKey:  credentials.AccessKey,
    			secretKey:  credentials.SecretKey,
    
    			expectedContent: encodeResponse(getAPIErrorResponse(ctx,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  4. cni/pkg/install/binaries_test.go

    			}
    
    			binariesCopied, err := copyBinaries(srcDir, []string{targetDir})
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			for filename, expectedContents := range c.expectedFiles {
    				contents := file.AsStringOrFail(t, filepath.Join(targetDir, filename))
    				assert.Equal(t, contents, expectedContents)
    
    				wasCopied := false
    				for _, bin := range binariesCopied.UnsortedList() {
    					if bin == filename {
    						wasCopied = true
    					}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 20 18:34:43 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top