Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for expectedCount (0.25 sec)

  1. pkg/scheduler/schedule_one_test.go

    	tests := []struct {
    		name          string
    		pod           *v1.Pod
    		expectedCount int32
    	}{
    		{
    			name:          "nominated pods have lower priority, predicate is called once",
    			pod:           st.MakePod().Name("1").UID("1").Priority(highPriority).Obj(),
    			expectedCount: 1,
    		},
    		{
    			name:          "nominated pods have higher priority, predicate is called twice",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnostics.kt

            override val diagnosticClass get() = WrongNumberOfTypeArguments::class
            val expectedCount: Int
            val classifier: KaClassLikeSymbol
        }
    
        interface NoTypeArgumentsOnRhs : KaFirDiagnostic<PsiElement> {
            override val diagnosticClass get() = NoTypeArgumentsOnRhs::class
            val expectedCount: Int
            val classifier: KaClassLikeSymbol
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 11:41:05 UTC 2024
    - 172.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnosticsImpl.kt

    internal class WrongNumberOfTypeArgumentsImpl(
        override val expectedCount: Int,
        override val classifier: KaClassLikeSymbol,
        firDiagnostic: KtPsiDiagnostic,
        token: KaLifetimeToken,
    ) : KaAbstractFirDiagnostic<PsiElement>(firDiagnostic, token), KaFirDiagnostic.WrongNumberOfTypeArguments
    
    internal class NoTypeArgumentsOnRhsImpl(
        override val expectedCount: Int,
        override val classifier: KaClassLikeSymbol,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 11:41:05 UTC 2024
    - 227.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    			expectedOut: []example.Pod{*fooObj, *fooBarObj},
    		},
    		{
    			name:        "NonRecursive on object key (prefix) returns object and no other objects with the same prefix",
    			key:         fooKey,
    			recursive:   false,
    			expectedOut: []example.Pod{*fooObj},
    		},
    		{
    			name:        "Recursive on object key (prefix) doesn't return anything",
    			key:         fooKey,
    			recursive:   true,
    			expectedOut: []example.Pod{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  5. pkg/volume/util/util_test.go

    	tests := []struct {
    		name                    string
    		pod                     *v1.Pod
    		expectedMounts          sets.Set[string]
    		expectedDevices         sets.Set[string]
    		expectedSELinuxContexts map[string][]*v1.SELinuxOptions
    	}{
    		{
    			name: "empty pod",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{},
    			},
    			expectedMounts:  sets.New[string](),
    			expectedDevices: sets.New[string](),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top