- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 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-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) -
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) -
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) -
src/runtime/sys_darwin_arm64.s
MOVW 0(R0), R0 // arg 1 how BL libc_pthread_sigmask(SB) CMP $0, R0 BEQ 2(PC) BL notok<>(SB) RET TEXT runtime·sigaction_trampoline(SB),NOSPLIT,$0 MOVD 8(R0), R1 // arg 2 new MOVD 16(R0), R2 // arg 3 old MOVW 0(R0), R0 // arg 1 how BL libc_sigaction(SB) CMP $0, R0 BEQ 2(PC) BL notok<>(SB) RET TEXT runtime·usleep_trampoline(SB),NOSPLIT,$0 MOVW 0(R0), R0 // arg 1 usec
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:59 UTC 2023 - 18.3K 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) -
pkg/test/framework/components/echo/check/checkers.go
return Or(Error(), NotStatus(expected)) } // OK is shorthand for NoErrorAndStatus(200). func OK() echo.Checker { return NoErrorAndStatus(http.StatusOK) } // NotOK is shorthand for ErrorOrNotStatus(http.StatusOK). func NotOK() echo.Checker { return ErrorOrNotStatus(http.StatusOK) } // NoErrorAndStatus is checks that no error occurred and that the returned status code matches the expected // value.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 03 16:19:07 UTC 2023 - 17.5K bytes - Viewed (0) -
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) -
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)