Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for WithID (0.28 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/catalog/parser/TomlCatalogFileParserTest.groovy

            hasPlugin('with.ref') {
                withId 'org.example'
                withVersionRef 'ref'
                withVersion {
                    require '1.6'
                }
            }
            hasPlugin('with-rich1') {
                withId 'org.example'
                withVersion {
                    prefer '1.0'
                }
            }
            hasPlugin('with-rich2') {
                withId 'org.example'
                withVersion {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 05:41:21 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginContainerTest.groovy

            then:
            thrown UnknownPluginException
    
            when:
            container.withId("plugin2") { plugins << it }
    
            then:
            plugins.empty
    
            when:
            container.apply(pluginClass)
    
            then:
            plugins[0].class == pluginClass
        }
    
        def "no error when withId used and plugin with no id"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/plugins/DefaultPluginRegistry.java

                    }
    
                    PotentialPlugin<?> potentialPlugin = pluginInspector.inspect(implClass);
                    PluginImplementation<Object> withId = new RegistryAwarePluginImplementation(classLoader, pluginId, potentialPlugin);
                    return Optional.of(withId);
                }
            });
        }
    
        @Override
        public PluginRegistry createChild(final ClassLoaderScope lookupScope) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 10.4K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

                    allprojects {
                        repositories {
                            ${mavenCentralRepository()}
                        }
                    }
                    subprojects {
                        plugins.withId('java') {
                            testing {
                                suites {
                                    test {
                                        useJUnit()
                                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. pilot/pkg/xds/delta_test.go

    		newEndpointWithAccount("127.0.0.1", "hello-sa", "v1"))
    	// Wait until the above debounce, to ensure we can precisely check XDS responses without spurious pushes
    	s.EnsureSynced(t)
    
    	ads := s.ConnectDeltaADS().WithID("sidecar~127.0.0.1~test.default~default.svc.cluster.local")
    
    	// Initially we get everything
    	ads.Request(&discovery.DeltaDiscoveryRequest{
    		ResourceNamesSubscribe: []string{},
    	})
    	resp := ads.ExpectResponse()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoAggregationIntegrationTest.groovy

                    allprojects {
                        repositories {
                            ${mavenCentralRepository()}
                        }
                    }
                    subprojects {
                        plugins.withId('java') {
                            testing {
                                suites {
                                    test {
                                        useJUnit()
                                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 26.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/jsonschemaprops.go

    	return &JSONSchemaPropsApplyConfiguration{}
    }
    
    // WithID sets the ID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the ID field is set to the value of the last call.
    func (b *JSONSchemaPropsApplyConfiguration) WithID(value string) *JSONSchemaPropsApplyConfiguration {
    	b.ID = &value
    	return b
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  8. pilot/pkg/xds/eds_sh_test.go

    func verifySplitHorizonResponse(t *testing.T, s *xds.FakeDiscoveryServer, network string, sidecarID string, expected expectedResults) {
    	t.Helper()
    	ads := s.ConnectADS().WithID(sidecarID)
    
    	metadata := &structpb.Struct{Fields: map[string]*structpb.Value{
    		"ISTIO_VERSION": {Kind: &structpb.Value_StringValue{StringValue: "1.3"}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/jsonschemaprops.go

    	return &JSONSchemaPropsApplyConfiguration{}
    }
    
    // WithID sets the ID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the ID field is set to the value of the last call.
    func (b *JSONSchemaPropsApplyConfiguration) WithID(value string) *JSONSchemaPropsApplyConfiguration {
    	b.ID = &value
    	return b
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginManagerTest.groovy

            def action = Mock(Action)
    
            given:
            addPluginId("foo", imperativeClass)
            manager.withPlugin("foo", action)
            manager.pluginContainer.withId("foo", action)
    
            when:
            manager.apply(imperativeClass)
    
            then:
            1 * action.execute(_) >> { AppliedPlugin p ->
                assert p.id == "foo"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top