Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 912 for FAIL (0.05 sec)

  1. src/internal/trace/testdata/generators/go122-fail-first-gen-first.go

    	// Write an invalid batch event for the next generation.
    	t.RawEvent(go122.EvEventBatch, nil, 2 /*gen*/, 0 /*thread ID*/, 0 /*timestamp*/, 50 /*batch length (invalid)*/)
    
    	// We should fail at the first issue, not the second one.
    	t.ExpectFailure("expected a proc but didn't have one")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/tests/go122-fail-first-gen-first.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 256 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. 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)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/PalantirConsistentVersionsPluginSmokeTest.groovy

                .expectDeprecationWarning("The compileClasspathCopy configuration has been deprecated for consumption. This will fail with an error in Gradle 9.0. For more information, please refer...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. 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.7K bytes
    - Viewed (0)
  7. src/testing/example.go

    			fail = fmt.Sprintf("got:\n%s\nwant (unordered):\n%s\n", stdout, eg.Output)
    		}
    	} else {
    		if got != want && recovered == nil {
    			fail = fmt.Sprintf("got:\n%s\nwant:\n%s\n", got, want)
    		}
    	}
    	if fail != "" || !finished || recovered != nil {
    		fmt.Printf("%s--- FAIL: %s (%s)\n%s", chatty.prefix(), eg.Name, dstr, fail)
    		passed = false
    	} else if chatty.on {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy

        Failed tests:
            Test example.MyFailingTest#fail (Task: :secondTest)
            Test example.MyFailingTest#fail2 (Task: :secondTest)
            Test example.MyFailingTest#fail (Task: :test)
            Test example.MyFailingTest#fail2 (Task: :test)"""
    
            when:
            launchTests { TestLauncher testLauncher ->
                testLauncher.withJvmTestMethods("example.MyFailingTest", "fail")
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/klibSourceFileProvider/AbstractGetKlibSourceFileNameTest.kt

            val mainModule = testServices.ktTestModuleStructure.mainModules
                .let { modules -> if (modules.size == 1) modules.first() else fail("Expected single main module. Found $modules") }
    
            val libraryModule = mainModule.ktModule as? KtLibraryModule
                ?: fail("Expected main module '${mainModule.ktModule}' to be '${KtLibraryModule::class.simpleName}'")
    
            val actual = StringBuilder()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/delmarker-expiration_test.go

    			var dexp DelMarkerExpiration
    			var fail bool
    			err := xml.Unmarshal([]byte(test.xml), &dexp)
    			if test.err == nil {
    				if err != nil {
    					fail = true
    				}
    			} else {
    				if err == nil {
    					fail = true
    				}
    				if test.err.Error() != err.Error() {
    					fail = true
    				}
    			}
    			if fail {
    				t.Fatalf("Expected %v but got %v", test.err, err)
    			}
    		})
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top