Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of about 10,000 for fals (0.51 sec)

  1. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/ModelDslRuleInputDetectionIntegrationSpec.groovy

            then:
            succeeds "echo"
            outputContains "values: [true, false, false]"
        }
    
        def "only literal strings can be given to dollar method - #code"() {
            when:
            buildScript """
            model {
              foo {
                $code
              }
            }
            """
    
            then:
            fails "tasks"
            failure.assertHasLineNumber 4
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/web/http.go

    	if !enableTestHooks {
    		panic("web: test hooks not enabled")
    	}
    	enableTestHooks = false
    	testInterceptors = nil
    }
    
    var (
    	enableTestHooks  = false
    	testInterceptors []Interceptor
    )
    
    func interceptURL(u *urlpkg.URL) (*Interceptor, bool) {
    	if !enableTestHooks {
    		return nil, false
    	}
    	for i, t := range testInterceptors {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 17:34:27 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. plugin/pkg/admission/antiaffinity/admission_test.go

    									},
    								},
    							},
    							TopologyKey: v1.LabelHostname,
    						},
    					},
    				},
    			},
    			errorExpected: false,
    		},
    		// invalid topologyKey in requiredDuringSchedulingIgnoredDuringExecution then admission fails.
    		{
    			affinity: &api.Affinity{
    				PodAntiAffinity: &api.PodAntiAffinity{
    					RequiredDuringSchedulingIgnoredDuringExecution: []api.PodAffinityTerm{
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/value/transformer_test.go

    		input  []byte
    		expect []byte
    		stale  bool
    		err    error
    		match  int
    	}{
    		{[]byte("first:value"), []byte("value1"), false, nil, 0},
    		{[]byte("second:value"), []byte("value2"), true, nil, 1},
    		{[]byte("third:value"), nil, false, testErr, -1},
    		{[]byte("fails:value"), nil, false, transformErr, 2},
    		{[]byte("stale:value"), []byte("value3"), true, nil, 3},
    	}
    	for i, test := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 22:44:02 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/execution/commandline/CommandLineTaskConfigurerSpec.groovy

            task.someFlag
            otherTask.someFlag
        }
    
        def "fails if some of the types cannot accommodate the setting"() {
            when:
            configurer.configureTasks([task, defaultTask], ['--someFlag'])
    
            then:
            def ex = thrown(TaskConfigurationException)
            ex.cause.message.contains('someFlag')
        }
    
        def "fails if one of the options cannot be applied to one of the tasks"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 09 09:06:36 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/advanced-dependencies.md

        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="16"
        {!> ../../../docs_src/dependencies/tutorial011.py!}
        ```
    
    Und auf diese Weise können wir unsere Abhängigkeit „parametrisieren“, die jetzt `"bar"` enthält, als das Attribut `checker.fixed_content`.
    
    ## Die Instanz als Abhängigkeit verwenden
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:18:49 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildPluginDevelopmentIntegrationTest.groovy

            executed ":pluginBuild:jar", ":pluginBuild:assemble", ":assemble"
    
            where:
            withVersion << [true, false]
        }
    
        def "can co-develop plugin and consumer with plugin as included library build using 'apply plugin', withVersion: #withVersion"() {
            given:
            applyPlugin(buildA, false, withVersion)
            addLifecycleTasks(buildA)
    
            includeBuild pluginBuild
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/DefaultDependencyLockingProviderTest.groovy

            then:
            result.getLockedDependencies() == [newId(DefaultModuleIdentifier.newId('org', 'bar'), '1.1')] as Set
    
            where:
            unique << [true, false]
        }
    
        def 'fails with invalid content in lock file (Unique: #unique)'() {
            given:
            writeLockFile(["invalid"], unique)
    
            when:
            provider.loadLockState('conf', owner)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/plugin/ScriptPluginClassLoadingIntegrationTest.groovy

                def someMethod() {}
                apply from: "script2.gradle"
            """
    
            file("script2.gradle") << """
                someMethod()
            """
    
            when:
            fails "help"
    
            then:
            failure.assertHasFileName("Script '${file("script2.gradle").absolutePath}'")
            failure.assertThatCause(containsText("Could not find method someMethod()"))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/workflow/runner_test.go

    			expected: map[string]bool{"foo": true, "foo/bar": false, "foo/baz": true, "qux": false},
    		},
    		{
    			name:     "options can skip phases - hierarchy is considered",
    			options:  RunnerOptions{SkipPhases: []string{"foo"}},
    			expected: map[string]bool{"foo": false, "foo/bar": false, "foo/baz": false, "qux": true},
    		},
    		{
    			name: "skip options have higher precedence than filter options",
    			options: RunnerOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 20:03:45 UTC 2023
    - 15.2K bytes
    - Viewed (0)
Back to top