- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of about 10,000 for Requires (0.32 sec)
-
src/internal/types/testdata/spec/comparable1.19.go
_ = f1[int] _ = f1[T /* ERROR "T to satisfy comparable requires go1.20 or later" */] _ = f1[any /* ERROR "any to satisfy comparable requires go1.20 or later" */] _ = f1[P] _ = f1[Q] _ = f1[R /* ERROR "R does not satisfy comparable" */] _ = f2[int] _ = f2[T /* ERROR "T to satisfy comparable requires go1.20 or later" */] _ = f2[any /* ERROR "any to satisfy comparable requires go1.20 or later" */] _ = f2[P] _ = f2[Q]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 821 bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SupportedBuildJvmIntegrationTest.groovy
executer.withJavaHome(installedJdk) then: // try to start another build succeeds("help") } @Requires( value = [IntegTestPreconditions.UnsupportedJavaHomeAvailable, IntegTestPreconditions.NotEmbeddedExecutor], reason = "This test requires to start Gradle from scratch with the wrong Java version" )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_android_issue62123.txt
stderr 'android/amd64 requires external \(cgo\) linking, but cgo is not enabled' ! stderr 'cannot find runtime/cgo' ! go test -c -o $devnull os stderr '# os\nandroid/amd64 requires external \(cgo\) linking, but cgo is not enabled' ! stderr 'cannot find runtime/cgo' env GOOS=ios GOARCH=arm64 CGO_ENABLED=0 ! go build -o $devnull cmd/buildid stderr 'ios/arm64 requires external \(cgo\) linking, but cgo is not enabled'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 21:55:28 UTC 2023 - 683 bytes - Viewed (0) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/CommonFileSystemTest.groovy
} @Requires(UnitTestPreconditions.NoFilePermissions) def "unix permissions have default values on unsupported platforms"() { expect: fs.getUnixMode(tmpDir.createFile("someFile")) == FileSystem.DEFAULT_FILE_MODE fs.getUnixMode(tmpDir.createDir("someDir")) == FileSystem.DEFAULT_DIR_MODE } @Requires(UnitTestPreconditions.NoFilePermissions)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:06:40 UTC 2023 - 5.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_goline_too_new.txt
env GOTOOLCHAIN=local ! go build . stderr '^go: go.mod requires go >= 1.99999 \(running go 1\..+\)$' # go.mod referenced from go.work too new cp go.work.old go.work ! go build . stderr '^go: module . listed in go.work file requires go >= 1.99999, but go.work lists go 1.10; to update it:\n\tgo work use$' ! go work sync stderr '^go: cannot load module . listed in go.work file: go.mod requires go >= 1.99999 \(running go 1\..+\)$' # go.work too new
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 1.1K bytes - Viewed (0) -
tests/utils.py
needs_py39 = pytest.mark.skipif(sys.version_info < (3, 9), reason="requires python3.9+") needs_py310 = pytest.mark.skipif( sys.version_info < (3, 10), reason="requires python3.10+" ) needs_pydanticv2 = pytest.mark.skipif(not PYDANTIC_V2, reason="requires Pydantic v2")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 422 bytes - Viewed (0) -
testing/precondition-tester/README.md
This project originates from a discussion about the [@Requires](https://github.com/gradle/gradle/blob/94ebe9eca6b9baf8c53a6033009298ec671de812/subprojects/internal-testing/src/main/groovy/org/gradle/util/Requires.java), which can define preconditions for tests. Preconditions can define and enforce conditions like: - The test is running on Windows (`@Requires(UnitTestPreconditions.Windows)`)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.6K bytes - Viewed (0) -
src/internal/types/testdata/check/go1_12.go
package p // numeric literals const ( _ = 1_000 // ERROR "underscore in numeric literal requires go1.13 or later" _ = 0b111 // ERROR "binary literal requires go1.13 or later" _ = 0o567 // ERROR "0o/0O-style octal literal requires go1.13 or later" _ = 0xabc // ok _ = 0x0p1 // ERROR "hexadecimal floating-point literal requires go1.13 or later" _ = 0b111 // ERROR "binary" _ = 0o567 // ERROR "octal" _ = 0xabc // ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 02:54:13 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/GroovyGradlePluginInitIntegrationTest.groovy
package org.gradle.buildinit.plugins import org.gradle.buildinit.plugins.fixtures.ScriptDslFixture import org.gradle.test.precondition.Requires import org.gradle.test.preconditions.IntegTestPreconditions import spock.lang.Issue import static org.gradle.buildinit.plugins.internal.modifiers.BuildInitDsl.GROOVY @Requires(value = IntegTestPreconditions.Groovy3OrEarlier)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Dec 02 19:50:23 UTC 2023 - 6.2K bytes - Viewed (0) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7SymlinkTest.groovy
@Requires(UnitTestPreconditions.Symlinks) def 'on symlink supporting system, it will return true for supported symlink'() { expect: new Jdk7Symlink(TestFiles.tmpDirTemporaryFileProvider(temporaryFolder.createDir("tmp"))).isSymlinkCreationSupported() } @Requires(UnitTestPreconditions.NoSymlinks)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:06:40 UTC 2023 - 5K bytes - Viewed (0)