Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 150 for TestOptions (0.16 sec)

  1. pilot/pkg/networking/core/networkfilter_test.go

    	}
    
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			m := mesh.DefaultMeshConfig()
    			m.InboundClusterStatName = tt.statPattern
    			cg := NewConfigGenTest(t, TestOptions{
    				Services:   services,
    				MeshConfig: m,
    			})
    
    			fcc := inboundChainConfig{
    				telemetryMetadata: telemetry.FilterChainMetadata{InstanceHostname: "v0.default.example.org"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/fake.go

    	"istio.io/istio/pkg/config/schema/collections"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/pkg/util/sets"
    	"istio.io/istio/pkg/wellknown"
    )
    
    type TestOptions struct {
    	// If provided, these configs will be used directly
    	Configs        []config.Config
    	ConfigPointers []*config.Config
    
    	// If provided, the yaml string will be parsed and used as configs
    	ConfigString string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. okhttp-android/build.gradle.kts

        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
    
        buildFeatures {
          buildConfig = false
        }
    
        testOptions {
          unitTests {
            isIncludeAndroidResources = true
          }
    
          targetSdk = 34
        }
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/android-kotlin-example/app/build.gradle

            }
        }
        sourceSets {
            main.java.srcDirs += 'src/main/kotlin'
            test.java.srcDirs += 'src/test/kotlin'
            androidTest.java.srcDirs += 'src/androidTest/kotlin'
        }
        testOptions {
            unitTests.returnDefaultValues = true
        }
        kotlinOptions {
            jvmTarget = '1.8'
        }
    }
    
    project.afterEvaluate {
        // Grab all build types and product flavors
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. android-test/build.gradle.kts

          "../okhttp-sse/src/test/java"
        )
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
        sourceCompatibility(JavaVersion.VERSION_11)
      }
    
      testOptions {
        targetSdk = 34
      }
    
      kotlinOptions {
        jvmTarget = JavaVersion.VERSION_11.toString()
      }
    
      // issue merging due to conflict with httpclient and something else
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. pkg/log/scope_test.go

    			stackLevel: DebugLevel,
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(strconv.Itoa(i), func(t *testing.T) {
    			var exitCalled bool
    			lines, err := captureStdout(func() {
    				o := testOptions()
    				o.JSONEncoding = c.json
    
    				if err := Configure(o); err != nil {
    					t.Errorf("Got err '%v', expecting success", err)
    				}
    
    				pt := funcs.Load().(patchTable)
    				pt.exitProcess = func(_ int) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 17:36:09 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. pilot/pkg/xds/proxy_dependencies_test.go

    				want: false,
    			})
    		}
    	}
    
    	// test for gateway proxy dependencies.
    	cg := core.NewConfigGenTest(t, core.TestOptions{
    		Services: []*model.Service{
    			{
    				Hostname: svcName,
    				Attributes: model.ServiceAttributes{
    					ExportTo:  sets.New(visibility.Public),
    					Namespace: nsName,
    				},
    			},
    			{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/android-kotlin-example-kotlin-dsl/app/build.gradle.kts

        }
        sourceSets {
            getByName("main").java.srcDir("src/main/kotlin")
            getByName("test").java.srcDir("src/test/kotlin")
            getByName("androidTest").java.srcDir("src/androidTest/kotlin")
        }
        testOptions {
            unitTests.withGroovyBuilder {
                // AGP >= 4.0.0 exposes `returnDefaultValues`
                // AGP < 4.0.0 exposes `isReturnDefaultValues
                setProperty("returnDefaultValues", true)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_builder_test.go

    						GroupVersionKind: gvk.DestinationRule,
    						Name:             "acme",
    						Namespace:        "default",
    					},
    					Spec: tt.destRule,
    				}
    			}
    			cg := NewConfigGenTest(t, TestOptions{
    				Instances:      instances,
    				ConfigPointers: []*config.Config{cfg},
    				Services:       []*model.Service{tt.service},
    				MeshConfig:     tt.meshConfig,
    			})
    			proxy := cg.SetupProxy(nil)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/controller_test.go

    		Meta: config.Meta{
    			GroupVersionKind: gvk.HTTPRoute,
    			Name:             "http-route",
    			Namespace:        "ns1",
    		},
    		Spec: httpRouteSpec,
    	})
    
    	cg := core.NewConfigGenTest(t, core.TestOptions{})
    	g.Expect(controller.Reconcile(cg.PushContext())).ToNot(HaveOccurred())
    	cfg := controller.List(gvk.Gateway, "ns1")
    	g.Expect(cfg).To(HaveLen(1))
    	for _, c := range cfg {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 16:47:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top