Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 207 for testLang (0.41 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		"CSIDriver without capacity tracking": makeCSIDriver(provisioner, false),
    	} {
    		t.Run(description, func(t *testing.T) {
    			for name, scenario := range scenarios {
    				t.Run(name, func(t *testing.T) { run(t, scenario, csiDriver) })
    			}
    		})
    	}
    }
    
    func TestFindPodVolumesWithProvisioning(t *testing.T) {
    	t.Parallel()
    
    	type scenarioType struct {
    		// Inputs
    		pvs     []*v1.PersistentVolume
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

      EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2)
    #define EXPECT_GE(val1, val2) \
      EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2)
    #define EXPECT_GT(val1, val2) \
      EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2)
    
    #define GTEST_ASSERT_EQ(expected, actual) \
      ASSERT_PRED_FORMAT2(::testing::internal:: \
                          EqHelper<GTEST_IS_NULL_LITERAL_(expected)>::Compare, \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go

    limitations under the License.
    */
    
    package cache
    
    import (
    	"testing"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/klog/v2/ktesting"
    	controllervolumetesting "k8s.io/kubernetes/pkg/controller/volume/attachdetach/testing"
    	volumetesting "k8s.io/kubernetes/pkg/volume/testing"
    	volumeutil "k8s.io/kubernetes/pkg/volume/util"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 66.1K bytes
    - Viewed (0)
  4. src/net/dnsclient_unix_test.go

    	}
    }
    
    func BenchmarkGoLookupIP(b *testing.B) {
    	testHookUninstaller.Do(uninstallTestHooks)
    	ctx := context.Background()
    	b.ReportAllocs()
    
    	for i := 0; i < b.N; i++ {
    		goResolver.LookupIPAddr(ctx, "www.example.com")
    	}
    }
    
    func BenchmarkGoLookupIPNoSuchHost(b *testing.B) {
    	testHookUninstaller.Do(uninstallTestHooks)
    	ctx := context.Background()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/route/route_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package route_test
    
    import (
    	"log"
    	"reflect"
    	"testing"
    
    	envoycore "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	envoyroute "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
    	matcher "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  6. src/encoding/json/decode_test.go

    	}
    	for _, tt := range tests {
    		t.Run(tt.Name, func(t *testing.T) {
    			got, err := Marshal(tt.in)
    			if string(got) != tt.want || err != nil {
    				t.Errorf("%s: Marshal(%q):\n\tgot:  (%q, %v)\n\twant: (%q, nil)", tt.Where, tt.in, got, err, tt.want)
    			}
    		})
    	}
    }
    
    func TestMarshalNumberZeroVal(t *testing.T) {
    	var n Number
    	out, err := Marshal(n)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

      EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2)
    #define EXPECT_GE(val1, val2) \
      EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2)
    #define EXPECT_GT(val1, val2) \
      EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2)
    
    #define GTEST_ASSERT_EQ(expected, actual) \
      ASSERT_PRED_FORMAT2(::testing::internal:: \
                          EqHelper<GTEST_IS_NULL_LITERAL_(expected)>::Compare, \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  8. src/net/http/httputil/reverseproxy_test.go

    	"net/textproto"
    	"net/url"
    	"os"
    	"reflect"
    	"slices"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    )
    
    const fakeHopHeader = "X-Fake-Hop-Header-For-Test"
    
    func init() {
    	inOurTests = true
    	hopHeaders = append(hopHeaders, fakeHopHeader)
    }
    
    func TestReverseProxy(t *testing.T) {
    	const backendResponse = "I am the backend"
    	const backendStatus = 404
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  9. cmd/object-api-listobjects_test.go

    	"encoding/hex"
    	"fmt"
    	"strconv"
    	"strings"
    	"testing"
    )
    
    func TestListObjectsVersionedFolders(t *testing.T) {
    	ExecObjectLayerTest(t, testListObjectsVersionedFolders)
    }
    
    func testListObjectsVersionedFolders(obj ObjectLayer, instanceType string, t1 TestErrHandler) {
    	t, _ := t1.(*testing.T)
    	testBuckets := []string{
    		// This bucket is used for testing ListObject operations.
    		"test-bucket-folders",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  10. pkg/apis/core/v1/defaults_test.go

    // Defaulting changes within this type can cause spurious rollouts of workloads on API server update.
    func TestWorkloadDefaults(t *testing.T) {
    	t.Run("enabled_features", func(t *testing.T) { testWorkloadDefaults(t, true) })
    	t.Run("disabled_features", func(t *testing.T) { testWorkloadDefaults(t, false) })
    }
    func testWorkloadDefaults(t *testing.T, featuresEnabled bool) {
    	allFeatures := utilfeature.DefaultFeatureGate.DeepCopy().GetAll()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top