Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,316 for nfail (0.21 sec)

  1. src/cmd/go/testdata/script/test_fuzz_run.txt

    stdout FAIL
    stdout 'error here'
    ! stdout 'no tests to run'
    
    ! go test -v -run FuzzFoo/this
    stdout FAIL
    stdout 'error here'
    stdout '=== RUN   FuzzFoo/thisfails'
    stdout '--- FAIL: FuzzFoo/thisfails'
    stdout '=== RUN   FuzzFoo/thispasses'
    stdout '--- PASS: FuzzFoo/thispasses'
    ! stdout 'no tests to run'
    
    ! go test -v -run /this
    stdout FAIL
    stdout 'error here'
    stdout '=== RUN   FuzzFoo/thisfails'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 20:43:02 UTC 2021
    - 3K bytes
    - Viewed (0)
  2. src/crypto/internal/boring/rsa.go

    	pkey = C._goboringcrypto_EVP_PKEY_new()
    	if pkey == nil {
    		return pkey, ctx, fail("EVP_PKEY_new")
    	}
    	if withKey(func(key *C.GO_RSA) C.int {
    		return C._goboringcrypto_EVP_PKEY_set1_RSA(pkey, key)
    	}) == 0 {
    		return pkey, ctx, fail("EVP_PKEY_set1_RSA")
    	}
    	ctx = C._goboringcrypto_EVP_PKEY_CTX_new(pkey, nil)
    	if ctx == nil {
    		return pkey, ctx, fail("EVP_PKEY_CTX_new")
    	}
    	if init(ctx) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 23:38:03 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

      public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) {
        try {
          // fine because the call is going to fail without modifying the entry
          @SuppressWarnings("unchecked")
          Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry;
          nullableValueEntry.setValue(null);
          fail("setValue on unmodifiable Map.Entry succeeded");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_syntax_error_says_fail.txt

    # Test that the error message for a syntax error in a test go file
    # says FAIL.
    
    env GO111MODULE=off
    ! go test syntaxerror
    stderr 'x_test.go:' # check that the error is diagnosed
    stdout 'FAIL' # check that go test says FAIL
    
    env GO111MODULE=on
    cd syntaxerror
    ! go test syntaxerror
    stderr 'x_test.go:' # check that the error is diagnosed
    stdout 'FAIL' # check that go test says FAIL
    
    -- syntaxerror/go.mod --
    module syntaxerror
    
    go 1.16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 534 bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/MediaTypeTest.java

          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          MediaType.parse("te<t/plain");
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          MediaType.parse("text/pl@in");
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          MediaType.parse("text/plain;");
          fail();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/generate_invalid.txt

    ! go generate ./nogo
    ! stdout 'Fail'
    stderr 'no Go files'
    
    # Test go  generate for module which doesn't exist should fail
    ! go generate foo.bar/nothing
    stderr 'no required module provides package foo.bar/nothing'
    
    # Test go generate for package where all .go files are excluded by build
    # constraints
    go generate -v ./excluded
    ! stdout 'Fail'
    ! stderr 'go' # -v shouldn't list any files
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:48:44 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

        assertEquals("a", iterator.next());
        try {
          iterator.remove();
          fail();
        } catch (UnsupportedOperationException expected) {
        }
        assertFalse(iterator.hasNext());
        try {
          iterator.next();
          fail();
        } catch (NoSuchElementException expected) {
        }
        try {
          iterable.iterator();
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  8. src/race.bat

    std
    L34:go install -race std
    L35:if errorlevel 1 goto fail
    L36:
    L37:go tool dist test -race
    L38:
    L39:if errorlevel 1 goto fail
    L40:goto succ
    L41:
    L42::fail
    L43:set GOBUILDFAIL=1
    L44:echo Fail.
    L45:goto end
    L46:
    L47::succ
    L48:echo All tests passed.
    L49:
    L50::end
    L51:if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 16:59:17 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  9. 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)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go

    				},
    			},
    		},
    		{
    			name: "test fail with failurepolicy fail",
    			evaluations: []cel.EvaluationResult{
    				{
    					Error:              errors.New(""),
    					ExpressionAccessor: &ValidationCondition{},
    				},
    			},
    			policyDecision: []PolicyDecision{
    				{
    					Action: ActionDeny,
    				},
    			},
    			failPolicy: &fail,
    		},
    		{
    			name: "test fail with failurepolicy ignore with multiple validations",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top