Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 99 for allowAll (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/ForcingPlatformAlignmentTest.groovy

                                version(v) {
                                    allowAll()
                                }
                            }
                        }
                    }
                }
                'bom:bom:1.0' {
                    allowAll()
                }
                'root:root:1.0' {
                    allowAll()
                }
            }
    
            succeeds ':checkDeps'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/crossVersionTest/groovy/org/gradle/integtests/resolve/artifactreuse/SameCacheUsageCrossVersionIntegrationTest.groovy

    }
    
    task retrieve(type: Sync) {
        into 'libs'
        from configurations.compile
    }
    """
            and:
            def userHome = file('user-home')
    
            when:
            projectB.allowAll()
    
            and:
            version previous withGradleUserHomeDir userHome withTasks 'retrieve' withArguments '-i' run()
    
            then:
            file('libs').assertHasDescendants('projectB-1.0.jar')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top