Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for newLru (0.18 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r63/DistributionChecksumCrossVersionSpec.groovy

    import org.gradle.tooling.GradleConnectionException
    import org.gradle.tooling.ProjectConnection
    
    class DistributionChecksumCrossVersionSpec extends ToolingApiSpecification {
        // Newer clients no longer kill the JVM when a distribution is invalid.
        @TargetGradleVersion(">=3.0 <6.3")
        def "invalid Gradle distribution does not kill the TAPI client with older Gradle versions"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/break.go

    	buf.WriteString("<hr />\n")
    }
    
    func (b *ThematicBreak) printMarkdown(buf *bytes.Buffer, s mdState) {
    	buf.WriteString(s.prefix)
    	buf.WriteString(b.raw)
    	buf.WriteByte('\n')
    }
    
    func newHR(p *parseState, s line) (line, bool) {
    	if isHR(s) {
    		p.doneBlock(&ThematicBreak{Position{p.lineno, p.lineno}, s.string()})
    		return line{}, true
    	}
    	return s, false
    }
    
    func isHR(s line) bool {
    	t := s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/readme.md

    You can fix it by adding `-PtestJavaVersion=8` to the build.
    
    This is due to the fact that Gradle 4.6 and older don't support Java 11 and newer, which is checked before the test filter is applied.
    `org.gradle.integtests.fixtures.executer.DefaultGradleDistribution.worksWith(org.gradle.internal.jvm.Jvm)` is the method that checks this.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 21:50:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JacocoReportFixture.groovy

            return htmlDir.file("${pkg}/${file}.html").getText('UTF-8')
        }
    
        boolean assertVersion(String version) {
            String jacocoVersion = jacocoVersion()
            // Newer versions of JaCoCo include the timestamp in the rendered report
            jacocoVersion == version || jacocoVersion.startsWith(version)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_vendor_goversion.txt

    #
    # Even so, modules that declare 'go 1.17' and use 1.17 features spuriously fail
    # to build, and modules that declare an older version and use features from a
    # newer one spuriously build (instead of failing as they ought to).
    
    go mod vendor
    
    ! grep 1.17 vendor/modules.txt
    ! go build example.net/need117
    stderr '^vendor[/\\]example\.net[/\\]need117[/\\]need117.go:5:1[89]:'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 21:29:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. tests/integration/operator/uninstall_test.go

    					} else {
    						t.Errorf("failed to create istio namespace: %v", err)
    					}
    				}
    				iopCRFile = filepath.Join(workDir, "iop_cr.yaml")
    				r := "v2"
    				// later just run `kubectl apply -f newcr.yaml` to apply new installation cr files and verify.
    				applyIop(t, t, cs, "minimal", r)
    
    				if err := checkInstallStatus(cs, r); err != nil {
    					t.Errorf("failed to check install status: %v", err)
    				}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-plugins/src/main/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslCompilerPlugins.kt

                    )))
                    // Set this back to a warning for now, as this plugin is frequently used without toolchains specifying a JVM target, and it causes errors when using newer JDKs.
                    // This can be removed when https://youtrack.jetbrains.com/issue/KT-66919 is fixed.
                    kotlinCompile.jvmTargetValidationMode.set(JvmTargetValidationMode.WARNING)
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 18:03:28 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. pkg/kube/version_test.go

    			minorVersion:   15,
    			want:           true,
    		},
    		{
    			name:           "too old",
    			clusterVersion: 14,
    			minorVersion:   15,
    			want:           false,
    		},
    		{
    			name:           "newer",
    			clusterVersion: 16,
    			minorVersion:   15,
    			want:           true,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			cl := NewFakeClientWithVersion(fmt.Sprint(tt.clusterVersion))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 23:16:29 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/IncompatibilityCrossVersionSpec.groovy

        def "can use plugin built with Gradle 3.0 with"() {
            expect:
            buildPluginWith("3.0")
            assertWorks()
        }
    
        // Gradle 3.2 and 3.2.1 leaked internal types that fail when used with
        // newer versions of Gradle.
        @Ignore
        @TargetGradleVersion(">=3.3")
        def "can use plugin built with Gradle 3.2.1 with"() {
            expect:
            buildPluginWith("3.2.1")
            assertWorks()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/TargetJVMVersionOnPluginTooNewFailureDescriber.java

        }
    
        private String suggestUpdateJVM(JavaVersion minRequiredJVMVersion) {
            return "Run this build using a Java " + minRequiredJVMVersion.getMajorVersion() + " or newer JVM.";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 12:51:28 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top