- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 3,316 for nfail (0.06 sec)
-
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
equalsTester.addEqualityGroup((Object) null); fail("Should fail on null reference"); } catch (NullPointerException e) { } } /** Test equalObjects after adding multiple instances at once with a null */ public void testAddTwoEqualObjectsAtOnceWithNull() { try { equalsTester.addEqualityGroup(reference, equalObject1, null); fail("Should fail on null equal object"); } catch (NullPointerException e) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 12.9K bytes - Viewed (0) -
hack/verify-e2e-test-ownership.sh
passing: map(select(.policy.fail | not)) | length, failing: map(select(.policy.fail)) | length, testnames: map(select(.policy.fail) | .testname), } }) # add a meta policy based on whether any policy failed + { all_policies: \$results | { level: "WARN", reason: "should pass all policies", passing: map(select(.policies | map(.fail) | any | not)) | length,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 06:46:18 UTC 2022 - 7.3K bytes - Viewed (0) -
test/fixedbugs/bug248.dir/bug3.go
println("bad v0 path", len(s), s) panic("fail") } if s := reflect.TypeOf(v1).PkgPath(); !strings.HasSuffix(s, "/bug1") && !strings.HasPrefix(s, "bug1") { println("bad v1 path", s) panic("fail") } // check that dynamic interface check doesn't get confused var i interface{} = t0(0) if _, ok := i.(I1); ok { println("used t0 as i1") panic("fail") } if _, ok := i.(p1.I); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 26 15:20:42 UTC 2018 - 1.9K bytes - Viewed (0) -
src/internal/bytealg/index_amd64.s
ADDQ $1,DI CMPQ DI,DX JB loop3 JMP fail partial_success3: MOVW 1(DI), SI CMPW SI,BX JZ success ADDQ $1,DI CMPQ DI,DX JB loop3 JMP fail _4_or_more: CMPQ AX, $4 JA _5_or_more MOVL (R8), R8 LEAQ -3(DI)(DX*1), DX loop4: MOVL (DI), SI CMPL SI,R8 JZ success ADDQ $1,DI CMPQ DI,DX JB loop4 JMP fail _5_or_more: CMPQ AX, $7 JA _8_or_more
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:20:48 UTC 2023 - 5.1K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/rust.go
case c == '_': rst.advance(1) break digitLoop default: rst.fail("expected hex digit or _") } rst.advance(1) if val == 0 && digit == 0 && (len(rst.str) == 0 || rst.str[0] != '_') { rst.fail("invalid leading 0 in constant") } val *= 16 val += digit digits++ } if digits == 0 { rst.fail("expected constant") } switch kind { case signedInt, unsignedInt:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 16:39:48 UTC 2023 - 23.3K bytes - Viewed (0) -
src/testing/panic_test.go
flags: []string{"-test_panic_test=TestPanicHelper"}, want: ` --- FAIL: TestPanicHelper (N.NNs) panic_test.go:NNN: TestPanicHelper `, }, { desc: "subtest panics", flags: []string{"-test_panic_test=TestPanicHelper/1"}, want: ` --- FAIL: TestPanicHelper (N.NNs) panic_test.go:NNN: TestPanicHelper --- FAIL: TestPanicHelper/1 (N.NNs) panic_test.go:NNN: TestPanicHelper/1 `, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 16:49:24 UTC 2023 - 7.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_json_exit.txt
# Test functions that panic should never be marked as passing # (https://golang.org/issue/40132). ! go test -json ./testpanic stdout '"Action":"fail"' ! stdout '"Action":"pass"' ! go tool test2json ./testpanic.exe -test.v stdout '"Action":"fail"' ! stdout '"Action":"pass"' ! go tool test2json ./testpanic.exe stdout '"Action":"fail"' ! stdout '"Action":"pass"'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 17 19:43:21 UTC 2020 - 2K bytes - Viewed (0) -
test/fixedbugs/bug242.go
panic("fail") } i++ return c } type Empty interface{} type I interface { Get() byte } type S1 struct { i byte } func (p S1) Get() byte { return p.i } type S2 struct { i byte } func e2(p Empty, expected byte) Empty { if i != expected { println("e2: got", i, "expected", expected) panic("fail") } i++ return p }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 2.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_chatty.txt
! go test -v chatty_error_fuzz_test.go ! stdout '^ok' stdout 'FAIL' stdout 'error in target' # Run chatty fuzz targets with a fatal. ! go test -v chatty_fatal_fuzz_test.go ! stdout '^ok' stdout 'FAIL' stdout 'fatal in target' # Run chatty fuzz target with a panic ! go test -v chatty_panic_fuzz_test.go ! stdout ^ok stdout FAIL stdout 'this is bad' # Run skipped chatty fuzz targets.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 1.8K bytes - Viewed (0) -
test/intcvt.go
panic("fail") } } func chku16(i, v uint16) { if i != v { println(i, "!=", v) panic("fail") } } func chku32(i, v uint32) { if i != v { println(i, "!=", v) panic("fail") } } func chku64(i, v uint64) { if i != v { println(i, "!=", v) panic("fail") } } //func chkf32(f, v float32) { if f != v { println(f, "!=", v); panic("fail") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 07:47:26 UTC 2012 - 4.3K bytes - Viewed (0)