Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for myProp (0.45 sec)

  1. platforms/documentation/docs/src/snippets/signing/maven-publish/groovy/build.gradle

                    name = 'My Library'
                    description = 'A concise description of my library'
                    url = 'http://www.example.com/library'
                    properties = [
                        myProp: "value",
                        "prop.with.dots": "anotherValue"
                    ]
                    licenses {
                        license {
                            name = 'The Apache License, Version 2.0'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/reflect/JavaMethodTest.groovy

        def "call methods successfully reflectively"() {
            expect:
            JavaMethod.of(myProperties.class, String, "getMyProperty").invoke(myProperties) == myProperties.myProp
            JavaMethod.of(myProperties.class, String, "doSomeStuff", int.class, Integer.class).invoke(myProperties, 1, 2) == "1.2"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerIsolationIntegrationTest.groovy

            def userHome = file("user-home")
            def gradleUserHome = userHome.file(".gradle")
    
            and:
            gradleUserHome.file("gradle.properties") << 'myProp1=propertiesFile'
            gradleUserHome.file("init.gradle") << 'allprojects { ext.myProp2 = \'initScript\' }'
    
            and:
            buildScript """
                task check {
                    doLast {
                        // Uses testkit dir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/typeconverter_test.go

    		{
    			Group:   "mygroup",
    			Version: "v1",
    			Kind:    "MyKind",
    		}: "def1",
    		{
    			Group:   "mygroup",
    			Version: "v1",
    			Kind:    "MyOtherKind",
    		}: "def2",
    		{
    			Group:   "mygroup",
    			Version: "v2",
    			Kind:    "MyOtherKind",
    		}: "def2",
    		{
    			Group:   "mygroup",
    			Version: "v3",
    			Kind:    "MyKind",
    		}: "def3",
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/codec_test.go

    			name:           "matched preferred group/kind",
    			target:         gv("mygroup", "__internal"),
    			preferredKinds: []schema.GroupKind{gk("mygroup", "Foo"), gk("anothergroup", "Bar")},
    			kinds:          []schema.GroupVersionKind{gvk("yetanother", "v1", "Baz"), gvk("anothergroup", "v1", "Bar")},
    			expectKind:     gvk("mygroup", "__internal", "Bar"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 30 06:58:54 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskExecutionIntegrationTest.groovy

                ${ruleBasedTasks()}
                model {
                    tasks {
                        create("t1") {
                            group = "mygroup"
                        }
                        create("t2", BrokenTask) {
                            group = "mygroup"
                        }
                    }
                }
            """
    
            then:
            createdTasksFor("t1") == [":t1"]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. pkg/apis/rbac/v1alpha1/conversion_test.go

    					{Kind: "Group", Name: "mygroup"},
    					{Kind: "ServiceAccount", Name: "mysa", Namespace: "myns"},
    				},
    			},
    			expected: &rbacapi.RoleBinding{
    				RoleRef: rbacapi.RoleRef{Name: "foo", APIGroup: v1alpha1.GroupName},
    				Subjects: []rbacapi.Subject{
    					{Kind: "User", APIGroup: v1alpha1.GroupName, Name: "myuser"},
    					{Kind: "Group", APIGroup: v1alpha1.GroupName, Name: "mygroup"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 15:23:55 UTC 2017
    - 4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/deprecation/deprecation_test.go

    			gvk:  schema.GroupVersionKind{Group: "mygroup", Version: "v1", Kind: "MyKind"},
    			want: "mygroup/v1 MyKind is deprecated in v1.2+",
    		},
    		{
    			name: "removed interface, zero-value removal version",
    			obj:  &fakeRemovedObject{major: 1, minor: 2},
    			gvk:  schema.GroupVersionKind{Group: "mygroup", Version: "v1", Kind: "MyKind"},
    			want: "mygroup/v1 MyKind is deprecated in v1.2+",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 11 20:04:19 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/build_output.txt

    [!GOOS:windows] env NONEXE='.exe'
    [GOOS:windows] env NONEXE=''
    
    env GOBIN=$WORK/tmp/bin
    go install m/isarchive &
    
    go build x.go
    exists -exec x$GOEXE
    rm x$GOEXE
    ! exists x$NONEXE
    
    go build -o myprog x.go
    ! exists x
    ! exists x.exe
    exists -exec myprog
    ! exists myprogr.exe
    
    ! exists bin
    go build -o bin/x x.go
    exists -exec bin/x
    rm bin
    
    ! exists bin
    go build -o bin/ x.go
    exists -exec bin/x$GOEXE
    rm bin
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. pkg/apis/abac/v1beta1/conversion_test.go

    			expected: &abac.Policy{Spec: abac.PolicySpec{User: "bob"}},
    		},
    
    		// specifying a group is preserved
    		"group": {
    			old:      &v1beta1.Policy{Spec: v1beta1.PolicySpec{Group: "mygroup"}},
    			expected: &abac.Policy{Spec: abac.PolicySpec{Group: "mygroup"}},
    		},
    
    		// specifying * for user or group maps to all authenticated subjects
    		"* user": {
    			old:      &v1beta1.Policy{Spec: v1beta1.PolicySpec{User: "*"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 18:54:02 UTC 2017
    - 1.9K bytes
    - Viewed (0)
Back to top