Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectedContent (0.09 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/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)
Back to top