Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 62 for var2 (0.04 sec)

  1. subprojects/core/src/test/groovy/org/gradle/process/internal/JavaExecHandleBuilderTest.groovy

            given:
            File jar1 = new File("file1.jar").canonicalFile
            File jar2 = new File("file2.jar").canonicalFile
    
            builder.classpath(jar1)
    
            when:
            builder.classpath(jar2)
    
            then:
            builder.classpath.contains(jar1)
            builder.classpath.contains(jar2)
        }
    
        def "can replace classpath"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 15 17:11:21 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/ClasspathCompareStrategyTest.groovy

                [jar1: jar(1234), jar2: jar(3456), jar3: jar(4568), jar4: jar(5678)]
            ) == [modified("jar2"), modified("jar3")]
        }
    
        def "jar never modified for different paths"() {
            expect:
            changes(
                [jar1: jar(1234), 'new-jar2': jar(2345), jar3: jar(4567), jar4: jar(5678)],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/marshal_test.go

    		{JSONSchemaPropsOrBoolHolder{JSPoBOmitEmpty: &JSONSchemaPropsOrBool{Schema: &JSONSchemaProps{Type: "string"}}}, `{"val1":false,"val2":{"type":"string"}}`},
    		{JSONSchemaPropsOrBoolHolder{JSPoBOmitEmpty: &JSONSchemaPropsOrBool{}}, `{"val1":false,"val2":false}`},
    		{JSONSchemaPropsOrBoolHolder{JSPoBOmitEmpty: &JSONSchemaPropsOrBool{Allows: true}}, `{"val1":false,"val2":true}`},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 10 12:12:24 UTC 2018
    - 7.1K bytes
    - Viewed (0)
  4. pkg/util/labels/labels_test.go

    package labels
    
    import (
    	"reflect"
    	"testing"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    )
    
    func TestCloneAndAddLabel(t *testing.T) {
    	labels := map[string]string{
    		"foo1": "bar1",
    		"foo2": "bar2",
    		"foo3": "bar3",
    	}
    
    	cases := []struct {
    		labels     map[string]string
    		labelKey   string
    		labelValue string
    		want       map[string]string
    	}{
    		{
    			labels: labels,
    			want:   labels,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 17:34:12 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/integTest/groovy/org/gradle/api/plugins/BasePluginIntegrationTest.groovy

                    id("base")
                }
    
                task jar1(type: Jar) {}
                task jar2(type: Jar) {}
    
                configurations {
                    named("default") {
                        outgoing.artifact(tasks.jar1)
                    }
                    archives {
                        outgoing.artifact(tasks.jar2)
                    }
                }
            """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testshared/testdata/issue47837/main/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"testshared/issue47837/a"
    )
    
    func main() {
    	var vara a.ImplA
    	a.TheFuncWithArgA(&vara)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 273 bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultImmutableAttributesFactoryTest.groovy

            def set2 = factory.of(BAR, "bar2")
    
            when:
            def concat = factory.concat(set1, set2)
    
            then:
            concat.keySet() == [FOO, BAR] as Set
            concat.getAttribute(FOO) == "foo1"
            concat.getAttribute(BAR) == "bar2"
        }
    
        def "can replace attribute with same name and different type"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 07 17:59:06 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue60460.go

    type testRules struct{}
    
    func newTestRules() Rules[int] {
    	return testRules{}
    }
    
    func (r testRules) Hash(val int) int {
    	return val % 16
    }
    
    func (r testRules) Equivalent(val1 int, val2 int) bool {
    	return val1 == val2
    }
    
    func (r testRules) SameRules(other Rules[int]) bool {
    	_, ok := other.(testRules)
    	return ok
    }
    
    type testRules2 struct{}
    
    func newTestRules2() Rules[string] {
    	return testRules2{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 30 20:19:38 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/kubeadm/argument_test.go

    			args:         []Arg{{Name: "foo", Value: "bar1"}, {Name: "foo", Value: "bar2"}},
    			name:         "foo",
    			value:        "zz",
    			nArgs:        -1,
    			expectedArgs: []Arg{{Name: "foo", Value: "zz"}, {Name: "foo", Value: "zz"}},
    		},
    		{
    			testName:     "add new argument",
    			args:         []Arg{{Name: "foo", Value: "bar1"}, {Name: "foo", Value: "bar2"}},
    			name:         "z",
    			value:        "zz",
    			nArgs:        -1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 10:27:05 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/labels_test.go

    limitations under the License.
    */
    
    package v1
    
    import (
    	"reflect"
    	"testing"
    )
    
    func TestCloneSelectorAndAddLabel(t *testing.T) {
    	labels := map[string]string{
    		"foo1": "bar1",
    		"foo2": "bar2",
    		"foo3": "bar3",
    	}
    	matchExpressions := []LabelSelectorRequirement{
    		{Key: "foo", Operator: LabelSelectorOpIn, Values: []string{"foo"}},
    	}
    
    	cases := []struct {
    		labels     map[string]string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 11:09:05 UTC 2018
    - 2.6K bytes
    - Viewed (0)
Back to top