Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for TestOptions (0.18 sec)

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

    	f.Fuzz(func(t *testing.T, patchCount int, hostname string, data []byte) {
    		defer fuzz.Finalize()
    		fg := fuzz.New(t, data)
    		proxy := fuzz.Struct[*model.Proxy](fg)
    		to := fuzz.Struct[TestOptions](fg)
    		lb := fuzz.Struct[*ListenerBuilder](fg)
    		cg := NewConfigGenTest(t, to)
    		lb.node = cg.SetupProxy(proxy)
    		lb.push = cg.PushContext()
    		cg.ConfigGen.buildGatewayListeners(lb)
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. tests/fuzz/v1alpha3_fuzzer.go

    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/networking/core"
    	"istio.io/istio/tests/fuzz/utils"
    )
    
    func init() {
    	testing.Init()
    }
    
    func ValidateTestOptions(to core.TestOptions) error {
    	for _, csc := range to.ConfigStoreCaches {
    		if csc == nil {
    			return errors.New("a ConfigStoreController was nil")
    		}
    	}
    	for _, sr := range to.ServiceRegistries {
    		if sr == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. pkg/log/default_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package log
    
    import (
    	"encoding/json"
    	"regexp"
    	"strconv"
    	"testing"
    	"time"
    )
    
    func testOptions() *Options {
    	return DefaultOptions()
    }
    
    func TestDefault(t *testing.T) {
    	cases := []struct {
    		f          func()
    		pat        string
    		json       bool
    		caller     bool
    		wantExit   bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/server.go

    	restOptions, err := RESTOptionsGetter.GetRESTOptions(schema.GroupResource{Group: "hopefully-ignored-group", Resource: "hopefully-ignored-resources"})
    	if err != nil {
    		return nil, nil, nil, nil, "", err
    	}
    	tlsInfo := transport.TLSInfo{
    		CertFile:      restOptions.StorageConfig.Transport.CertFile,
    		KeyFile:       restOptions.StorageConfig.Transport.KeyFile,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. pkg/registry/resource/resourceclassparameters/storage/storage_test.go

    	etcdStorage, server := registrytest.NewEtcdStorage(t, resource.GroupName)
    	restOptions := generic.RESTOptions{
    		StorageConfig:           etcdStorage,
    		Decorator:               generic.UndecoratedStorage,
    		DeleteCollectionWorkers: 1,
    		ResourcePrefix:          "resourceclassparameters",
    	}
    	resourceClassStorage, err := NewREST(restOptions)
    	if err != nil {
    		t.Fatalf("unexpected error from REST storage: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:16 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top