- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for notOk (0.04 sec)
-
src/cmd/go/testdata/script/cover_var_init_order.txt
import ( "flag" ) var ( fooFlag = flag.String("foo", "", "this should be ok") foo = flag.Lookup("foo") barFlag = flag.String("bar", "", "this should be also ok, but is "+notOK()+".") bar = flag.Lookup("bar") ) func notOK() string { return "not OK" } -- m_test.go -- package main import ( "testing" ) func TestFoo(t *testing.T) { if foo == nil { t.Fatal() } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 18:14:15 UTC 2022 - 784 bytes - Viewed (0) -
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) -
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) -
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) -
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) -
tests/integration/security/util/reachability/context.go
if expectMTLS { opts.Check = check.And(opts.Check, check.MTLSForHTTP()) } } else { tpe = "negative" opts.Check = check.NotOK() } include := c.Include if include == nil { include = func(_ echo.Instance, _ echo.CallOptions) bool { return true } } if include(from, opts) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 23 21:20:43 UTC 2022 - 8.6K bytes - Viewed (0)