Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for notOk (0.16 sec)

  1. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/MessageTest.groovy

        }
    
        def "can transport broken multicause exception"() {
            def ok = new RuntimeException("broken 1")
            def notOk = new ExceptionWithNonSerializableField("broken 2", new RuntimeException("broken 3"))
            def original = new MultiCauseExceptionWithExceptionField("original", notOk, [ok, notOk])
    
            when:
            def transported = transport(original)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheReportIntegrationTest.groovy

        def "report with problem loads successfully"() {
            given:
            buildFile '''
                tasks.register('notOk') {
                    doLast { println project.name }
                }
            '''
    
            when:
            configurationCacheFails 'notOk'
    
            then:
            def configurationCacheReport = resolveConfigurationCacheReport(testDirectory, failure.error)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. tests/integration/security/remote_jwks/remote_jwks_test.go

    						opts.HTTP.Path = "/valid-token-forward-remote-jwks"
    						opts.HTTP.Headers = headers.New().WithAuthz(jwt.TokenIssuer1).Build()
    						opts.Check = check.And(
    							check.NotOK(),
    							check.Status(http.StatusUnauthorized))
    					},
    				},
    				{
    					name:       "remote-jwks-with-service-entry",
    					policyFile: "./testdata/requestauthn-with-se.yaml.tmpl",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

    - Method notOk() is not a valid rule method: A rule method cannot be private
    - Method notOk() is not a valid rule method: Cannot have type variables (i.e. cannot be a generic method)
    - Method notOk() is not a valid rule method: A method annotated with @Mutate must have at least one parameter
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  5. tests/integration/security/ca_custom_root/trust_domain_alias_secure_naming_test.go

    								},
    								Address: to.Config().Service,
    								Scheme:  s,
    							}
    							if success {
    								opts.Check = check.And(check.OK(), check.ReachedTargetClusters(t))
    							} else {
    								opts.Check = check.NotOK()
    							}
    
    							from.CallOrFail(t, opts)
    						})
    					}
    
    					client := match.Cluster(cluster).FirstOrFail(t, client)
    					cases := []struct {
    						src    echo.Instance
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. tests/integration/pilot/gateway_test.go

    	testCases := []struct {
    		check echo.Checker
    		from  echo.Instances
    		host  string
    	}{
    		{
    			check: check.OK(),
    			from:  apps.B,
    			host:  "bar.example.com",
    		},
    		{
    			check: check.NotOK(),
    			from:  apps.B,
    			host:  "bar",
    		},
    	}
    	if t.Settings().EnableDualStack {
    		additionalTestCases := []struct {
    			check echo.Checker
    			from  echo.Instances
    			host  string
    		}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  7. tests/integration/security/ca_custom_root/secure_naming_test.go

    										Name: "http",
    									},
    								}
    								if tc.expectSuccess {
    									opts.Check = check.And(check.OK(), check.ReachedTargetClusters(t))
    								} else {
    									opts.Check = check.NotOK()
    								}
    
    								a.CallOrFail(t, opts)
    							})
    					}
    				})
    			}
    		})
    }
    
    func verifyCertificatesWithPluginCA(t framework.TestContext, certs []string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. tests/integration/security/reachability_test.go

    											} else {
    												opts.Check = check.And(opts.Check, check.ReachedClusters(t.Clusters(), expectedClusters))
    											}
    										}
    									} else {
    										opts.Check = check.NotOK()
    									}
    									from.CallOrFail(t, opts)
    								})
    						})
    					}
    				})
    			}
    		})
    }
    
    type condition func(from echo.Instance, opts echo.CallOptions) bool
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. tests/integration/ambient/baseline_test.go

    									if !src.Config().WaypointClient() && dst.Config().HasAnyWaypointProxy() {
    										// TODO currently leads to no L7 processing, in the future it might be denied
    										// opt.Check = check.NotOK()
    										opt.Check = tcpValidator
    									}
    
    									// Only marked to use service waypoint. We'll deny since it's not traversed.
    									// Not traversed, since traffic is to-workload IP.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  10. tests/integration/security/jwt_test.go

    						opts.HTTP.Path = "/valid-token-forward-remote-jwks"
    						opts.HTTP.Headers = headers.New().WithAuthz(jwt.TokenIssuer1).Build()
    						opts.Check = check.And(
    							check.NotOK(),
    							check.Status(http.StatusUnauthorized))
    					},
    				},
    			}))
    
    			t.NewSubTest("aud").Run(newTest("testdata/requestauthn/aud.yaml.tmpl", []testCase{
    				{
    					name: "invalid-aud",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
Back to top