Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 89 for allocAll (0.14 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyCustomStatusLatestVersionIntegrationTest.groovy

            and:
            ivyHttpRepo.directoryList('org.test', 'projectA').allowGet()
            ivyHttpRepo.module('org.test', 'projectA', '1.0').withStatus("release").publish().allowAll()
            ivyHttpRepo.module('org.test', 'projectA', '1.1').withStatus("integration").publish().allowAll()
    
            when:
            run 'retrieve'
    
            then:
            file('libs').assertHasDescendants("projectA-1.0.jar")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/reproducibility/FailOnDynamicVersionsResolveIntegrationTest.groovy

                    expectVersionListing()
                    '1.2' {
                        expectGetMetadata()
                    }
                    '1.0' {
                        allowAll()
                    }
                    '1.1' {
                        allowAll()
                    }
                }
                'org:testB:1.0' {
                    expectGetMetadata()
                }
            }
            fails ':checkDeps'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesDependencyResolveIntegTest.groovy

                            expectVersionListing()
                        }
                        '1.2' {
                            allowAll()
                        }
                        '1.1' {
                            allowAll()
                        }
                        '1.0' {
                            allowAll()
                        }
                    }
                }
                succeeds "retrieve"
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenComponentMetadataRulesChangingModulesIntegrationTest.groovy

        }
    
        def "snapshot dependencies have changing flag initialized to true"() {
            def moduleB = repo.module("org.test", "moduleB", "1.0-SNAPSHOT").publish()
            moduleB.allowAll()
    
            buildFile <<
    """
    $repoDeclaration
    configurations {
        modules
    }
    
    class SavingRule implements ComponentMetadataRule {
        public void execute(ComponentMetadataContext context) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/RuleSourcePluginUseIntegrationSpec.groovy

        def "can apply a rule source only plugin via plugins container"() {
            given:
            pluginBuilder.with {
                addRuleSource(PLUGIN_ID)
                publishAs(GROUP, ARTIFACT, VERSION, pluginRepo, executer).allowAll()
            }
    
            and:
            buildScript """
                plugins { id '$PLUGIN_ID' version '$VERSION' }
            """
    
            expect:
            succeeds("fromModelRule")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. testing/integ-test/src/integTest/groovy/org/gradle/integtests/CacheProjectIntegrationTest.groovy

            repo = new MavenHttpRepository(server, mavenRepo)
    
            repo.module("commons-io", "commons-io", "1.4").publish().allowAll()
            repo.module("commons-lang", "commons-lang", "2.6").publish().allowAll()
    
            server.start()
        }
    
        private void updateCaches() {
            String version = GradleVersion.current().version
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/plugin/PluginBuilder.groovy

                this.pluginModule = results.pluginModule as HttpModule
                this.markerModules = results.markerModules as List<HttpModule>
            }
    
            PluginHttpPublicationResults allowAll() {
                ([pluginModule] + markerModules)*.allowAll()
                return this
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. pkg/api/service/util_test.go

    	}
    }
    
    func TestAllowAll(t *testing.T) {
    	checkAllowAll := func(allowAll bool, cidrs ...string) {
    		t.Helper()
    		ipnets, err := utilnet.ParseIPNets(cidrs...)
    		if err != nil {
    			t.Errorf("Unexpected error parsing cidrs: %v", cidrs)
    		}
    		if allowAll != IsAllowAll(ipnets) {
    			t.Errorf("IsAllowAll did not return expected value for %v", cidrs)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 15:18:45 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/CatalogPluginApplyKotlinDSLIntegrationTest.groovy

                plugins {
                    alias(libs.plugins.${alias.replace('-', '.')})
                }
    
                apply(from="fixture.gradle")
            """
    
            when:
            plugin.allowAll()
            succeeds taskName
    
            then:
            outputContains message
    
            where:
            alias << ['greeter', 'some.greeter', 'some-greeter']
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. pkg/api/v1/service/util_test.go

    	}
    }
    
    func TestAllowAll(t *testing.T) {
    	checkAllowAll := func(allowAll bool, cidrs ...string) {
    		t.Helper()
    		ipnets, err := utilnet.ParseIPNets(cidrs...)
    		if err != nil {
    			t.Errorf("Unexpected error parsing cidrs: %v", cidrs)
    		}
    		if allowAll != IsAllowAll(ipnets) {
    			t.Errorf("IsAllowAll did not return expected value for %v", cidrs)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 15:18:45 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top