Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for expectedCount (0.14 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. pkg/controller/statefulset/stateful_set_control_test.go

    		}
    		revisions, err = ssc.ListRevisions(test.set)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if len(revisions) != test.expectedCount {
    			t.Errorf("%s: want %d revisions got %d", test.name, test.expectedCount, len(revisions))
    		}
    		if test.err && err == nil {
    			t.Errorf("%s: expected error", test.name)
    		}
    		if !test.err && !history.EqualRevision(current, test.expectedCurrent) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
Back to top