Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for mock3 (0.12 sec)

  1. go.sum

    github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA=
    github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0=
    github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0=
    github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc=
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 101.6K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    	"go.uber.org/mock/gomock"
    	core "k8s.io/client-go/testing"
    	"k8s.io/mount-utils"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/labels"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  3. pkg/kubelet/eviction/eviction_manager_test.go

    limitations under the License.
    */
    
    package eviction
    
    import (
    	"context"
    	"fmt"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	gomock "go.uber.org/mock/gomock"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	"k8s.io/apimachinery/pkg/types"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/client-go/tools/record"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        derived.cancel(false);
        assertTrue(primary.isCancelled());
        assertFalse(primary.wasInterrupted());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // mocks
      // TODO(cpovirk): eliminate use of mocks
      public void testCatchingAsync_resultCancelledAfterFallback() throws Exception {
        final SettableFuture<Integer> secondary = SettableFuture.create();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        derived.cancel(false);
        assertTrue(primary.isCancelled());
        assertFalse(primary.wasInterrupted());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // mocks
      // TODO(cpovirk): eliminate use of mocks
      public void testCatchingAsync_resultCancelledAfterFallback() throws Exception {
        final SettableFuture<Integer> secondary = SettableFuture.create();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  6. pkg/controller/podautoscaler/horizontal_test.go

    	expectedConditions           []autoscalingv2.HorizontalPodAutoscalerCondition
    	// Channel with names of HPA objects which we have reconciled.
    	processed chan string
    
    	// expected results reported to the mock monitor at first.
    	expectedReportedReconciliationActionLabel     monitor.ActionLabel
    	expectedReportedReconciliationErrorLabel      monitor.ErrorLabel
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller_test.go

    	failedCond := newCondition(batch.JobFailed, v1.ConditionTrue, "", "", now)
    	indexedCompletion := batch.IndexedCompletion
    	mockErr := errors.New("mock error")
    	cases := map[string]struct {
    		job                     batch.Job
    		pods                    []*v1.Pod
    		finishedCond            *batch.JobCondition
    		expectedRmFinalizers    sets.Set[string]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  8. src/net/http/transport_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			got := tt.req.ExportIsReplayable()
    			if got != tt.want {
    				t.Errorf("replyable = %v; want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    // testMockTCPConn is a mock TCP connection used to test that
    // ReadFrom is called when sending the request body.
    type testMockTCPConn struct {
    	*net.TCPConn
    
    	ReadFromCalled bool
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top