Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,632 for extr6 (0.06 sec)

  1. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/DelegatedExtraPropertiesIntegrationTest.kt

                containsString("Cannot get non-null extra property 'foo' as it does not exist")
            )
        }
    
        @Test
        fun `non-nullable delegated extra property access of existing null extra property throws`() {
    
            withBuildScript(
                """
                val myTask = task("myTask") {
                    val foo: Int? by extra { null }
                }
                val foo: Int by myTask.extra
                foo.toString()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/ExtensionPlugin.java

            extra.put("reloadable_ja_stop", JapaneseStopTokenFilterFactory::new);
            extra.put("kanji_number", KanjiNumberFilterFactory::new);
            extra.put("kuromoji_pos_concat", PosConcatenationFilterFactory::new);
            extra.put("char_type", CharTypeFilterFactory::new);
            extra.put("number_concat", NumberConcatenationFilterFactory::new);
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ExtraPropertiesExtensionsTest.kt

                inOrder(extra) {
                    verify(extra).get("property")
                    verifyNoMoreInteractions()
                }
                assertThat(property, nullValue())
            }
        }
    
        @Test
        fun `can initialize extra property to null using lambda expression`() {
    
            val extra = mock<ExtraPropertiesExtension>()
    
            run {
                val property by extra { null }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ExtraPropertiesExtensions.kt

            uncheckedCast(if (extra.has(name)) extra.get(name) else null)
    
        override fun <T> setValue(receiver: Any?, property: KProperty<*>, value: T) =
            extra.set(property.name, value)
    }
    
    
    /**
     * Returns a property delegate provider that will initialize the extra property to the value provided
     * by [initialValueProvider].
     *
     * Usage: `val answer by extra { 42 }`
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyExtraInfoTest.groovy

                    (new NamespaceId('http://my.extra.info', 'bar')): 'barValue'
            ])
    
            when:
            extraInfo.get('foo')
    
            then:
            def e = thrown(InvalidUserDataException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/test/flagdefs_test.go

    			missing[name] = true
    		}
    	}
    	if len(missing) > 0 {
    		t.Errorf("passFlagToTest is missing entries: %v", missing)
    	}
    
    	extra := maps.Clone(passFlagToTest)
    	for _, name := range wantNames {
    		delete(extra, name)
    	}
    	if len(extra) > 0 {
    		t.Errorf("passFlagToTest contains extra entries: %v", extra)
    	}
    
    	if t.Failed() {
    		t.Logf("To regenerate:\n\tgo generate cmd/go/internal/test")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 09 13:37:58 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. cmd/kube-apiserver/app/options/validation_test.go

    	ipv6address := netutils.ParseIPSloppy("2001:db8::1")
    
    	tests := []struct {
    		name    string
    		generic apiserveroptions.ServerRunOptions
    		extra   Extra
    		wantErr bool
    	}{
    		{
    			name: "master endpoint reconciler - IPv4 families",
    			extra: Extra{
    				EndpointReconcilerType:       "master-count",
    				PrimaryServiceClusterIPRange: *ipv4cidr,
    			},
    			generic: apiserveroptions.ServerRunOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. pkg/controlplane/instance.go

    		c.ControlPlane.Complete(),
    		&c.Extra,
    	}
    
    	serviceIPRange, apiServerServiceIP, err := options.ServiceIPRange(cfg.Extra.ServiceIPRange)
    	if err != nil {
    		klog.Fatalf("Error determining service IP ranges: %v", err)
    	}
    	if cfg.Extra.ServiceIPRange.IP == nil {
    		cfg.Extra.ServiceIPRange = serviceIPRange
    	}
    	if cfg.Extra.APIServerServiceIP == nil {
    		cfg.Extra.APIServerServiceIP = apiServerServiceIP
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishMultiProjectIntegTest.groovy

                    from components.java
                    organisation "extra.org"
                    module "extra-module"
                    revision "extra"
                }
                extra(IvyPublication) {
                    organisation "extra.org"
                    module "extra-module-2"
                    revision "extra"
                }
            }
        }
    }
    """)
    
            when:
            fails "publish"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tutorial/extraProperties/kotlin/build.gradle.kts

    plugins {
        id("java-library")
    }
    
    val springVersion by extra("3.1.0.RELEASE")
    val emailNotification by extra { "******@****.***" }
    
    sourceSets.all { extra["purpose"] = null }
    
    sourceSets {
        main {
            extra["purpose"] = "production"
        }
        test {
            extra["purpose"] = "test"
        }
        create("plugin") {
            extra["purpose"] = "production"
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 822 bytes
    - Viewed (0)
Back to top