Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 89 for allocAll (0.65 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesInSettingsIntegrationTest.groovy

                        }
                    }
                }
            """
    
            withPlugins(['test-plugin': '1.0'])
    
            when:
            plugin.allowAll()
            succeeds taskName
    
            then:
            outputContains(message)
    
            cleanup:
            pluginPortal.stop()
        }
    
        private TestFile withLoggingRuleInSettings() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoriesDeclaredInSettingsIntegrationTest.groovy

                'org:from-buildsrc:1.0' {
                    expectResolve()
                }
                'org:from-main-build:1.0' {
                    expectResolve()
                }
            }
            plugin.allowAll()
            succeeds ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module('org:from-main-build:1.0')
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:56:27 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyChangingModuleRemoteResolveIntegrationTest.groovy

    }
    
    task retrieve(type: Copy) {
        into 'build'
        from configurations.compile
    }
    """
            and:
            def module = ivyHttpRepo.module("group", "projectA", "1.1").publish()
            module.allowAll()
    
            when: 'original retrieve'
            run 'retrieve'
    
            then:
            def jarSnapshot = file('build/projectA-1.1.jar').snapshot()
    
            when:
            server.resetExpectations()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyDynamicRevisionResolveIntegrationTest.groovy

                }
            }
            repositoryInteractions {
                'org.test:projectA' {
                    expectVersionListing()
                }
                'org.test:projectA:1.3' {
                    allowAll()
                }
                'org.test:projectA:1.2' {
                    expectHeadMetadata()
                    expectHeadArtifact()
                }
            }
            run 'checkDeps', '--refresh-dependencies'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy

        public static final int HALF_DEFAULT_MAX_AGE_IN_DAYS = Math.max(1, DEFAULT_MAX_AGE_IN_DAYS_FOR_DOWNLOADED_CACHE_ENTRIES / 2 as int)
    
        def snapshotModule = mavenHttpRepo.module('org.example', 'example', '1.0-SNAPSHOT').publish().allowAll()
    
        def setup() {
            requireOwnGradleUserHomeDir("test requires its own journal")
        }
    
        def "does not clean up resources and files that were recently used from caches"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenSnapshotResolveIntegrationTest.groovy

            snapshotModule.allowAll()
    
            def nonUniqueSnapshotModule = mavenHttpRepo.module("org.gradle.integtests.resolve", "not-unique", "1.0-SNAPSHOT").withNonUniqueSnapshots()
            if (isGradleMetadataPublished()) {
                nonUniqueSnapshotModule.withModuleMetadata()
            }
            nonUniqueSnapshotModule.publish()
            nonUniqueSnapshotModule.allowAll()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 39K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/logging/LoggingBuildOperationProgressIntegTest.groovy

        def "captures output sources with context"() {
            given:
            executer.requireOwnGradleUserHomeDir()
            mavenHttpRepository.module("org", "foo", '1.0').publish().allowAll()
    
            file('init/init.gradle') << """
                logger.warn 'from init.gradle'
            """
            settingsFile << """
                rootProject.name = 'root'
                println 'from settings file'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy

        TestFile file(String expectedPath) {
            new TestFile(new File(baseDir, expectedPath))
        }
    
        URI getUri() {
            return new URI("sftp://${hostAddress}:${port}")
        }
    
        void allowAll() {
            expectations << new SftpAllowAll()
        }
    
        void allowInit() {
            expectations << new SftpAllow(SftpConstants.SSH_FXP_INIT)
        }
    
        void expectLstat(String path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/modfile.go

    			return repl, nil
    		}
    
    		// Find the latest version of the module.
    		// Ignore exclusions from the main module's go.mod.
    		const ignoreSelected = ""
    		var allowAll AllowedFunc
    		rev, err := Query(ctx, path, "latest", ignoreSelected, allowAll)
    		if err != nil {
    			return module.Version{}, err
    		}
    		latest := module.Version{Path: path, Version: rev.Version}
    		if repl := resolveReplacement(latest); repl.Path != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 17:53:40 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1beta1_test.go

    			}
    			if tt.wantErr {
    				if err == nil {
    					t.Errorf("expected error making authorization request: %v", err)
    				}
    				return
    			}
    			if err != nil {
    				t.Errorf("%s: failed to authorize with AllowAll policy: %v", tt.test, err)
    				return
    			}
    
    			service.Deny()
    			if decision, _, _ := wh.Authorize(context.Background(), attr); decision == authorizer.DecisionAllow {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top