Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 131 for TestOptions (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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. pilot/pkg/networking/core/accesslog_test.go

    			// Update MeshConfig
    			m := mesh.DefaultMeshConfig()
    			m.AccessLogFile = "foo"
    			m.AccessLogEncoding = tc.encoding
    			m.AccessLogFormat = tc.format
    			listeners := buildListeners(t, TestOptions{MeshConfig: m}, nil)
    			if len(listeners) != 2 {
    				t.Errorf("expected to have 2 listeners, but got %v", len(listeners))
    			}
    			// Validate that access log filter uses the new format.
    			for _, l := range listeners {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_test.go

    				GroupVersionKind: gvk.PeerAuthentication,
    				Name:             policyName,
    				Namespace:        TestServiceNamespace,
    			},
    			Spec: c.peerAuthn,
    		})
    	}
    
    	cg := NewConfigGenTest(c.t, TestOptions{
    		Services:   []*model.Service{service},
    		Instances:  instances,
    		Configs:    configs,
    		MeshConfig: c.mesh,
    	})
    
    	var proxy *model.Proxy
    	switch c.nodeType {
    	case model.SidecarProxy:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top