Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for testObject1 (0.15 sec)

  1. cmd/server_test.go

    	c.Assert(err, nil)
    	// Asserting the error response with the expected values.
    	verifyError(c, response, "NoSuchKey", "The specified key does not exist.", http.StatusNotFound)
    
    	objectName = "testObject1"
    	// content for the object to be uploaded.
    	buffer1 := bytes.NewReader([]byte("hello one"))
    	// create HTTP request for the object upload.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

              .contains(
                  "TestObject{group=1, item=2} [group 1, item 2] must be equivalent to "
                      + "TestObject{group=1, item=1} [group 1, item 1]");
          return;
        }
        fail();
      }
    
      public void testTest_transitive() {
        Object group1Item1 = new TestObject(1, 1);
        Object group1Item2 = new TestObject(1, 2);
        Object group1Item3 = new TestObject(1, 3);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

              .contains(
                  "TestObject{group=1, item=2} [group 1, item 2] must be equivalent to "
                      + "TestObject{group=1, item=1} [group 1, item 1]");
          return;
        }
        fail();
      }
    
      public void testTest_transitive() {
        Object group1Item1 = new TestObject(1, 1);
        Object group1Item2 = new TestObject(1, 2);
        Object group1Item3 = new TestObject(1, 3);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/table/writer_test.go

    package table
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/fatih/color"
    )
    
    type testObject struct {
    	name      string
    	namespace string
    	version   string
    }
    
    var newTestObject = func(name, namespace, version string) testObject {
    	return testObject{
    		name:      name,
    		namespace: namespace,
    		version:   version,
    	}
    }
    
    func TestWriter(t *testing.T) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Oct 08 04:41:42 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    			t.Fatalf("Put Object case %d:  Error uploading object: <ERROR> %v", i+1, err)
    		}
    	}
    
    	testObject := "testobject"
    
    	// Initiate Multipart upload for testing CopyObjectPartHandler.
    	rec := httptest.NewRecorder()
    	req, err := newTestSignedRequestV4(http.MethodPost, getNewMultipartURL("", bucketName, testObject),
    		0, nil, credentials.AccessKey, credentials.SecretKey, nil)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  6. docs/lambda/README.md

    Create a bucket named `functionbucket`
    ```
    mc alias set myminio/ http://localhost:9000 minioadmin minioadmin
    mc mb myminio/functionbucket
    ```
    
    Create a file `testobject` with some test data that will be transformed
    ```
    cat > testobject << EOF
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 04 19:15:28 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. cmd/erasure-heal_test.go

    		staleWriters := make([]io.Writer, len(staleDisks))
    		for i, disk := range staleDisks {
    			if disk == nil {
    				continue
    			}
    			os.Remove(pathJoin(disk.String(), "testbucket", "testobject"))
    			staleWriters[i] = newBitrotWriter(disk, "", "testbucket", "testobject", erasure.ShardFileSize(test.size), test.algorithm, erasure.ShardSize())
    		}
    
    		// test case setup is complete - now call Heal()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. cmd/object-api-options_test.go

    			rec := httptest.NewRecorder()
    			req := httptest.NewRequest("GET", "/test", nil)
    			req.Header = testCase.headers
    
    			opts, _ := getAndValidateAttributesOpts(ctx, rec, req, bucket, "testobject")
    
    			if !reflect.DeepEqual(opts.ObjectAttributes, testCase.wantObjectAttrs) {
    				t.Errorf("want opts %v, got %v", testCase.wantObjectAttrs, opts.ObjectAttributes)
    			}
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. cmd/object-api-listobjects_test.go

    		err := obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{
    			VersioningEnabled: true,
    		})
    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    	}
    
    	var err error
    	testObjects := []struct {
    		parentBucket    string
    		name            string
    		content         string
    		meta            map[string]string
    		addDeleteMarker bool
    	}{
    		{testBuckets[0], "unique/folder/", "", nil, true},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  10. 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)
Back to top