Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,073 for test (0.03 sec)

  1. internal/kms/dek_test.go

    }
    
    func TestEncodeDecodeDEK(t *testing.T) {
    	for i, test := range dekEncodeDecodeTests {
    		text, err := test.Key.MarshalText()
    		if err != nil {
    			t.Fatalf("Test %d: failed to marshal DEK: %v", i, err)
    		}
    
    		var key DEK
    		if err = key.UnmarshalText(text); err != nil {
    			t.Fatalf("Test %d: failed to unmarshal DEK: %v", i, err)
    		}
    		if key.Plaintext != nil {
    			t.Fatalf("Test %d: unmarshaled DEK contains non-nil plaintext", i)
    		}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. cmd/api-response_test.go

    			object:           "test/1.txt",
    			expectedLocation: "http://s3.mybucket.org/mybucket/test/1.txt",
    		},
    		// Server binding to fqdn.
    		{
    			request: &http.Request{
    				Host:   "mys3.mybucket.org",
    				Header: map[string][]string{},
    			},
    			bucket:           "mybucket",
    			object:           "test/1.txt",
    			expectedLocation: "http://mys3.mybucket.org/mybucket/test/1.txt",
    		},
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  3. cmd/erasure-metadata-utils_test.go

    		if gotErr != testCase.err {
    			t.Errorf("Test %d : expected %s, got %s", i+1, testCase.err, gotErr)
    		}
    		gotNewErr := reduceWriteQuorumErrs(context.Background(), testCase.errs, testCase.ignoredErrs, 6)
    		if gotNewErr != errErasureWriteQuorum {
    			t.Errorf("Test %d : expected %s, got %s", i+1, errErasureWriteQuorum, gotErr)
    		}
    	}
    }
    
    // TestHashOrder - test order of ints in array
    func TestHashOrder(t *testing.T) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. internal/kms/secret-key_test.go

    	}
    
    	for i, test := range decryptKeyTests {
    		dataKey, err := base64.StdEncoding.DecodeString(test.Plaintext)
    		if err != nil {
    			t.Fatalf("Test %d: failed to decode plaintext key: %v", i, err)
    		}
    		plaintext, err := KMS.Decrypt(context.TODO(), &DecryptRequest{
    			Name:           test.KeyID,
    			Ciphertext:     []byte(test.Ciphertext),
    			AssociatedData: test.Context,
    		})
    		if err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. cmd/iam-etcd-store_test.go

    		{"config/iam/groups/foo/config.json", "config/iam/groups/", "config.json", "foo"},
    	}
    	for i, test := range specs {
    		result := extractPathPrefixAndSuffix(test.path, test.prefix, test.suffix)
    		if result != test.expected {
    			t.Errorf("unexpected result on test[%v]: expected[%s] but had [%s]", i, test.expected, result)
    		}
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/orig/view/search.jsp

    				data-toggle="control-options"> <c:if test="${empty sort}">
    						<la:message key="labels.searchoptions_score" />
    					</c:if> <c:if test="${sort=='score.desc'}">
    						<la:message key="labels.searchoptions_score" />
    					</c:if> <c:if test="${sort=='filename.asc'}">
    						<la:message key="labels.search_result_sort_filename_asc" />
    					</c:if> <c:if test="${sort=='filename.desc'}">
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/search.jsp

    				data-toggle="control-options"> <c:if test="${empty sort}">
    						<la:message key="labels.searchoptions_score" />
    					</c:if> <c:if test="${sort=='score.desc'}">
    						<la:message key="labels.searchoptions_score" />
    					</c:if> <c:if test="${sort=='filename.asc'}">
    						<la:message key="labels.search_result_sort_filename_asc" />
    					</c:if> <c:if test="${sort=='filename.desc'}">
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/QueryCommandTest.java

            assertQueryBuilder("test", "", MatchPhraseQueryBuilder.class);
            assertQueryBuilder("test", "test", MatchPhraseQueryBuilder.class);
            assertQueryBuilder("test", "a", MatchPhraseQueryBuilder.class);
            assertQueryBuilder("test", "あ", MatchPhraseQueryBuilder.class);
            assertQueryBuilder("test", "ア", MatchPhraseQueryBuilder.class);
            assertQueryBuilder("test", "亜", MatchPhraseQueryBuilder.class);
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. cmd/bucket-policy-handlers_test.go

    		},
    		// Test case - 4.
    		// setting the readSeeker to `nil`, bucket policy parser will fail.
    		{
    			bucketName:         bucketName,
    			bucketPolicyReader: nil,
    
    			policyLen:          10,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusBadRequest,
    		},
    		// Test case - 5.
    		// setting the keys to be empty.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            tags = PrunedTag.parse("a#test");
            assertEquals(1, tags.length);
            assertEquals("PrunedTag [tag=a, id=test, css=null, attrName=null, attrValue=null]", tags[0].toString());
    
            tags = PrunedTag.parse("a.test");
            assertEquals(1, tags.length);
            assertEquals("PrunedTag [tag=a, id=null, css=test, attrName=null, attrValue=null]", tags[0].toString());
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top