Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for testobject (0.14 sec)

  1. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      }
    
      public void testTreeBasedTable() {
        assertFreshInstance(new TypeToken<TreeBasedTable<String, ?, ?>>() {});
      }
    
      public void testObject() {
        assertEquals(
            new FreshValueGenerator().generateFresh(String.class),
            new FreshValueGenerator().generateFresh(Object.class));
      }
    
      public void testEnums() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      }
    
      public void testTreeBasedTable() {
        assertFreshInstance(new TypeToken<TreeBasedTable<String, ?, ?>>() {});
      }
    
      public void testObject() {
        assertEquals(
            new FreshValueGenerator().generateFresh(String.class),
            new FreshValueGenerator().generateFresh(Object.class));
      }
    
      public void testEnums() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  3. cmd/metacache-entries_test.go

    				}},
    			},
    		},
    	}
    	inputSerialized := make([]metaCacheEntry, len(inputs))
    	for i, xl := range inputs {
    		xl.sortByModTime()
    		var err error
    		entry := metaCacheEntry{
    			name: "testobject",
    		}
    		entry.metadata, err = xl.AppendTo(nil)
    		if err != nil {
    			t.Fatal(err)
    		}
    		inputSerialized[i] = entry
    	}
    
    	tests := []struct {
    		name         string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  4. 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)
  5. cmd/object-api-interface.go

    }
    
    // GetObject - TODO(aead): This function just acts as an adapter for GetObject tests and benchmarks
    // since the GetObject method of the ObjectLayer interface has been removed. Once, the
    // tests are adjusted to use GetObjectNInfo this function can be removed.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. cmd/global-heal.go

    		// If we resume to the same bucket, forward to last known item.
    		b := tracker.getBucket()
    		if b == bucket {
    			forwardTo = tracker.getObject()
    		}
    		if b != "" {
    			// Reset to where last bucket ended if resuming.
    			tracker.resume()
    		}
    		tracker.setObject("")
    		tracker.setBucket(bucket)
    		// Heal current bucket again in case if it is failed
    		// in the beginning of erasure set healing
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. istioctl/pkg/checkinject/checkinject_test.go

    		ns               *corev1.Namespace
    		expectedMessages []webhookAnalysis
    	}{
    		{
    			name: "no inj because of no match labels",
    			pod:  podTestObject("test1", "test1", "", ""),
    			ns:   nsTestObject("test1", "", ""),
    			expectedMessages: []webhookAnalysis{
    				{
    					Name:     "istio-sidecar-injector",
    					Revision: "default",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. cmd/object_api_suite_test.go

    		}
    	}
    
    	for key, value := range objects {
    		var byteBuffer bytes.Buffer
    		err = GetObject(context.Background(), obj, "bucket", key, 0, int64(len(value)), &byteBuffer, "", opts)
    		if err != nil {
    			t.Fatalf("%s: <ERROR> %s", instanceType, err)
    		}
    		if !bytes.Equal(byteBuffer.Bytes(), value) {
    			t.Errorf("%s: Mismatch of GetObject data with the expected one.", instanceType)
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users_test.go

       "Effect": "Allow",
       "Action": [
        "s3:ListBucket"
       ],
       "Resource": [
        "arn:aws:s3:::%s"
       ]
      },
      {
       "Effect": "Allow",
       "Action": [
        "s3:PutObject",
        "s3:GetObject"
       ],
       "Resource": [
        "arn:aws:s3:::%s/*"
       ]
      }
     ]
    }`, bucket, bucket))
    	err = s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  10. cmd/object-multipart-handlers.go

    		return
    	}
    
    	vars := mux.Vars(r)
    	dstBucket := vars["bucket"]
    	dstObject, err := unescapePath(vars["object"])
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	if s3Error := checkRequestAuthType(ctx, r, policy.PutObjectAction, dstBucket, dstObject); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top