Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 7,133 for Def (0.06 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultCompositeFileTreeTest.groovy

            def b = fileResolver.resolving(["b"]).asFileTree
            def composite = newCompositeFileTree([a, b])
    
            then:
            composite.files == [a1, b1].toSet()
        }
    
        def "can visit all files"() {
            given:
            def a1 = file("a/1.txt") << "a/1"
            def b1 = file("b/1.txt") << "b/1"
            def fileResolver = TestFiles.fileCollectionFactory(testDirectory)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/metadata/CompilerMetaDataProviderFactoryTest.groovy

        def execActionFactory = Mock(ExecActionFactory)
        def execAction = Mock(ExecAction)
        def execResult = Mock(ExecResult)
        def factory = new CompilerMetaDataProviderFactory(execActionFactory)
    
        def "caches result of actual #compiler metadata provider"() {
            def binary = new File("any")
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/FilteringProviderTest.groovy

        }
    
        def "does not fail when calling get() after producer task has completed"() {
            given:
            def property = propertyWithCompletedProducer()
            def provider = property.filter { it.contains("1") }
    
            when:
            provider.get()
    
            then:
            noExceptionThrown()
        }
    
        def "fails when calling getOrNull() before producer task has completed"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:32 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/python/mlir_wrapper/mlir_wrapper.pyi

        def create(self, arg0: str, arg1: FunctionType) -> FuncOp: ...
        def getArguments(self) -> list[BlockArgument]: ...
        def getBody(self) -> Region: ...
        def getName(self) -> str: ...
        def getType(self) -> FunctionType: ...
    
    class FunctionType(Type):
        def __init__(self, *args, **kwargs) -> None: ...
        def getResults(self) -> list[Type]: ...
    
    class IntegerAttr(Attribute):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 09 17:10:09 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/resource/local/DefaultPathKeyFileStoreTest.groovy

        TestFile fsBase
        PathKeyFileStore store
    
        def pathCounter = 0
    
        def setup() {
            fsBase = dir.file("fs")
            store = new DefaultPathKeyFileStore(TestUtil.checksumService, fsBase)
        }
    
        def "can move file to filestore"() {
            def a = createFile("abc")
            def b = createFile("def")
    
            when:
            // leading slash does not mean absolute path
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 20 09:57:05 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/BuildProgressCrossVersionSpec.groovy

            def resolveArtifactD = events.operation("Resolve artifact projectD.jar (group:projectD:2.0-SNAPSHOT)")
            def downloadBMetadata = events.operation("Download ${server.uri}${projectB.pomPath}")
            def downloadBArtifact = events.operation("Download ${server.uri}${projectB.artifactPath}")
            def downloadCRootMetadata = events.operation("Download ${server.uri}/repo/group/projectC/maven-metadata.xml")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/NativeCompilerTest.groovy

        }
    
        def "options file is written"() {
            given:
            def invocationContext = new DefaultMutableCommandLineToolContext()
            def compiler = getCompiler(invocationContext, O_EXT, true)
            def testDir = tmpDirProvider.testDirectory
            def includeDir = testDir.file("includes")
            def systemIncludeDir = testDir.file("system")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/ClientBuildEventGeneratorTest.groovy

    class ClientBuildEventGeneratorTest extends Specification {
        def fallback = Mock(BuildOperationListener)
        def consumer = Mock(ProgressEventConsumer)
        def subscriptions = Stub(BuildEventSubscriptions)
        def details = "details"
        def operationId = Stub(OperationIdentifier)
        def parentId = Stub(OperationIdentifier)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/DefaultVisualStudioLocatorTest.groovy

            allResults.empty
        }
    
        def "visual studio not available when broken installs found"() {
            def visitor = new TreeFormatter()
            def dir1 = tmpDir.createDir("broken1")
            def install1 = legacyVsInstall(dir1, "12")
            def dir2 = tmpDir.createDir("broken2")
            def install2 = legacyVsInstall(dir2, "13")
    
            given:
            1 * commandLineLocator.getVisualStudioInstalls() >> [install1]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 25.1K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/IncrementalExecutionIntegrationTest.groovy

        final TestNameTestDirectoryProvider temporaryFolder = TestNameTestDirectoryProvider.newInstance(getClass())
    
        def virtualFileSystem = TestFiles.virtualFileSystem()
        def fileSystemAccess = TestFiles.fileSystemAccess(virtualFileSystem)
        def snapshotter = new DefaultFileCollectionSnapshotter(fileSystemAccess, TestFiles.fileSystem())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 23.7K bytes
    - Viewed (0)
Back to top