Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,902 for testOrg (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/value/transformer_test.go

    		t.Run(tc.desc, func(t *testing.T) {
    			tc.prefix.TransformFromStorage(context.Background(), tc.input, nil)
    			defer transformerOperationsTotal.Reset()
    			if err := testutil.GatherAndCompare(legacyregistry.DefaultGatherer, strings.NewReader(tc.want), tc.metrics...); err != nil {
    				t.Fatal(err)
    			}
    		})
    	}
    }
    
    func TestPrefixToMetrics(t *testing.T) {
    	testErr := fmt.Errorf("test error")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 22:44:02 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  2. pkg/kubelet/token/token_manager_test.go

    				req := requests[index]
    				if req.shouldFail {
    					testMgr.getToken = failGetToken
    				} else {
    					testMgr.getToken = successGetToken
    				}
    				testMgr.GetServiceAccountToken(req.namespace, req.name, &req.tr)
    			}
    
    			for _, uid := range c.deletePodUID {
    				testMgr.DeleteServiceAccountToken(uid)
    			}
    			if len(c.expLeftIndex) != len(testMgr.cache) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 04 00:16:47 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.testers.CollectionSpliteratorTester.getSpliteratorNotImmutableCollectionAllowsAddMethod;
    import static com.google.common.collect.testing.testers.CollectionSpliteratorTester.getSpliteratorNotImmutableCollectionAllowsRemoveMethod;
    import static com.google.common.collect.testing.testers.ListListIteratorTester.getListIteratorFullyModifiableMethod;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 12.1K bytes
    - Viewed (0)
  4. pkg/kubelet/logs/container_log_manager_test.go

    	testFile.Close()
    
    	testLog := testFile.Name()
    	c := &containerLogManager{osInterface: container.RealOS{}}
    	require.NoError(t, c.compressLog(testLog))
    	_, err = os.Stat(testLog + compressSuffix)
    	assert.NoError(t, err, "log should be compressed")
    	_, err = os.Stat(testLog + tmpSuffix)
    	assert.Error(t, err, "temporary log should be renamed")
    	_, err = os.Stat(testLog)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.testers.ListListIteratorTester.getListIteratorFullyModifiableMethod;
    import static com.google.common.collect.testing.testers.ListSubListTester.getSubListOriginalListSetAffectsSubListLargeListMethod;
    import static com.google.common.collect.testing.testers.ListSubListTester.getSubListOriginalListSetAffectsSubListMethod;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 11.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

    import com.google.common.collect.SortedMultiset;
    import com.google.common.collect.testing.AbstractTester;
    import com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder;
    import com.google.common.collect.testing.Helpers;
    import com.google.common.collect.testing.OneSizeTestContainerGenerator;
    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.SetTestSuiteBuilder;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes_test.go

    			}
    		}
    
    		check(i, nonce[4:])
    	}
    }
    
    func TestGCMKeyRotation(t *testing.T) {
    	t.Run("gcm", func(t *testing.T) {
    		testGCMKeyRotation(t, newGCMTransformer)
    	})
    
    	t.Run("gcm unsafe", func(t *testing.T) {
    		testGCMKeyRotation(t, newGCMTransformerWithUniqueKeyUnsafeTest)
    	})
    
    	t.Run("gcm extended", func(t *testing.T) {
    		testGCMKeyRotation(t, newHKDFExtendedNonceGCMTransformerTest)
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go

    			}
    			stateErr = tt.testErr
    
    			_, stale, err := transformer.TransformFromStorage(ctx, transformedData, dataCtx)
    			if tt.testErr != nil {
    				if err == nil {
    					t.Fatalf("envelopeTransformer: expected error: %v, got nil", tt.testErr)
    				}
    				if err.Error() != tt.testErr.Error() {
    					t.Fatalf("envelopeTransformer: expected error: %v, got: %v", tt.testErr, err)
    				}
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:50:20 UTC 2023
    - 47.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

    import com.google.common.collect.SortedMultiset;
    import com.google.common.collect.testing.AbstractTester;
    import com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder;
    import com.google.common.collect.testing.Helpers;
    import com.google.common.collect.testing.OneSizeTestContainerGenerator;
    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.SetTestSuiteBuilder;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. src/cmd/vet/vet_test.go

    	}
    }
    
    // TestTags verifies that the -tags argument controls which files to check.
    func TestTags(t *testing.T) {
    	t.Parallel()
    	for tag, wantFile := range map[string]int{
    		"testtag":     1, // file1
    		"x testtag y": 1,
    		"othertag":    2,
    	} {
    		tag, wantFile := tag, wantFile
    		t.Run(tag, func(t *testing.T) {
    			t.Parallel()
    			t.Logf("-tags=%s", tag)
    			cmd := vetCmd(t, "-tags="+tag, "tagtest")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top