- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,280 for Def (0.03 sec)
-
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) -
subprojects/core/src/test/groovy/org/gradle/cache/internal/DefaultFileContentCacheFactoryTest.groovy
def listenerManager = new DefaultListenerManager(Scope.Build) def fileSystemAccess = Mock(FileSystemAccess) def cachesDir = tmpDir.file("caches") def cacheScopeMapping = new DefaultCacheScopeMapping(cachesDir, GradleVersion.current()) def cacheRepository = new DefaultUnscopedCacheBuilderFactory(new TestInMemoryCacheFactory())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 8.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy
def nodeExecutor = Mock(NodeExecutor) def buildOperationRunner = new TestBuildOperationRunner() def listenerBuildOperationDecorator = new TestListenerBuildOperationDecorator() def workerLimits = new DefaultWorkerLimits(1) def workerLeases = new DefaultWorkerLeaseService(coordinator, workerLimits) def executorFactory = Mock(ExecutorFactory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 20.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/BuildCacheStepTest.groovy
def buildCacheController = Mock(BuildCacheController) def beforeExecutionState = Stub(BeforeExecutionState) def cacheKeyHashCode = "30a042b90a" def cacheKey = Stub(BuildCacheKey) { hashCode >> cacheKeyHashCode } def loadMetadata = Mock(BuildCacheLoadResult) def deleter = Mock(Deleter) def fileSystemAccess = Mock(FileSystemAccess)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 10:13:50 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy
def "decode fails when boolean cannot be fully read"() { given: def bytes = truncate { Encoder encoder -> encoder.writeBoolean(true) } when: decode(bytes) { Decoder decoder -> decoder.readBoolean() } then: thrown(EOFException) } def "can encode and decode a string"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 14.9K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r54/RunEclipseSynchronizationTasksCrossVersionSpec.groovy
""" settingsFile << "include 'sub'" } def "can run tasks upon Eclipse synchronization"() { setup: buildFile << "eclipse { synchronizationTasks 'foo' }" def projectsLoadedHandler = new IntermediateResultHandlerCollector<Void>() def buildFinishedHandler = new IntermediateResultHandlerCollector<EclipseModel>() def out = new ByteArrayOutputStream() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeStateTest.groovy
def parent1Edge = edge(root, false) def parent2Edge = edge(root, false) def parent1 = parent1Edge.targetComponent.nodes[0] def parent2 = parent2Edge.targetComponent.nodes[0] collectOwnStrictVersions(root, ['a']) //root, on all paths collectOwnStrictVersions(parent1, ['b', 'c']) collectOwnStrictVersions(parent2, ['b', 'd']) def child = nextNode()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/BaseSerializerFactoryTest.groovy
class BaseSerializerFactoryTest extends SerializerSpec { def factory = new BaseSerializerFactory() def "uses efficient serialization for Strings"() { expect: def serializer = factory.getSerializerFor(String) usesEfficientSerialization("hi", serializer, 3) == "hi" } def "uses efficient serialization for Files"() { expect: def serializer = factory.getSerializerFor(File)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DefaultDaemonConnectorTest.groovy
class DefaultDaemonConnectorTest extends Specification { def javaHome = new File("tmp") def connectTimeoutSecs = 1 def daemonCounter = 0 class OutgoingConnectorStub implements OutgoingConnector { ConnectCompletion connect(Address address) throws ConnectException { def connection = [:] as RemoteConnection
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/failure/FailurePrinterTest.groovy
actual.contains("Cause 2: java.lang.RuntimeException: two") } def "notifies the listener"() { def e = new RuntimeException("BOOM") def firstFrame = e.stackTrace[0] def listener = Mock(FailurePrinterListener) def f = toFailure(e) when: def output = new StringBuilder() FailurePrinter.print(output, f, listener) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 23:12:10 UTC 2024 - 4.1K bytes - Viewed (0)