- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 734 for Stub (0.04 sec)
-
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/UnionFileCollectionTest.groovy
0 * _ } def dependsOnUnionOfDependenciesOfSourceCollections() { def task1 = Stub(Task) def task2 = Stub(Task) def task3 = Stub(Task) def source1 = Stub(FileCollectionInternal) def source2 = Stub(FileCollectionInternal) given: source1.visitDependencies(_) >> { TaskDependencyResolveContext context ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/scaninfo/DefaultDaemonScanInfoSpec.groovy
given: def listenerManager = Mock(ListenerManager) def notifyAction = Mock(Action) def daemonScanInfo = new DefaultDaemonScanInfo(Stub(DaemonRunningStats), 0, false, Stub(DaemonRegistry), listenerManager) DaemonExpirationListener daemonExpirationListener BuildListener buildListener when: daemonScanInfo.notifyOnUnhealthy(notifyAction)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/StreamingResolutionResultBuilderTest.groovy
def variant = Stub(ResolvedGraphVariant) variant.nodeId >> componentId def component = Stub(DependencyGraphComponent) _ * component.resultId >> componentId _ * component.selectionReason >> reason _ * component.resolveState >> componentState _ * component.selectedVariants >> [variant] def node = Stub(DependencyGraphNode)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:29:40 UTC 2024 - 11.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/cached/TwoStageByUrlCachedExternalResourceIndexTest.groovy
import spock.lang.Specification import spock.lang.Subject import java.nio.file.Path class TwoStageByUrlCachedExternalResourceIndexTest extends Specification { Path readOnlyPath = Stub(Path) File artifact = Stub(File) ExternalResourceMetaData metadata = Stub(ExternalResourceMetaData) CachedExternalResourceIndex<String> readIndex = Mock(CachedExternalResourceIndex)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/TwoStageModuleArtifactCacheTest.groovy
import spock.lang.Specification import spock.lang.Subject import java.nio.file.Path class TwoStageModuleArtifactCacheTest extends Specification { Path readOnlyPath = Stub(Path) File artifact = Stub(File) HashCode hashCode = Stub(HashCode) def key = Stub(ArtifactAtRepositoryKey) def readCache = Mock(ModuleArtifactCache) def writeCache = Mock(ModuleArtifactCache) @Subject
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/toolchains/DefaultToolChainSelectorTest.groovy
def modelRegistry = Stub(ModelRegistry) def osFamily = Stub(OperatingSystemFamily) def machineArchitecture = Stub(MachineArchitecture) def targetMachine = Stub(TargetMachine) { getArchitecture() >> machineArchitecture getOperatingSystemFamily() >> osFamily } def os = Stub(OperatingSystemInternal) def arch = Stub(ArchitectureInternal)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/stub/HttpStub.groovy
package org.gradle.integtests.resource.s3.fixtures.stub import groovy.transform.ToString @ToString class HttpStub { StubRequest request StubResponse response static stubInteraction(Closure<?> closure) { closure.resolveStrategy = Closure.DELEGATE_FIRST HttpStub stub = new HttpStub() closure.delegate = stub closure() stub } def request(Closure<?> closure){
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.5K bytes - Viewed (0) -
subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildTest.groovy
_ * gradle.settings >> Stub(SettingsInternal) def services = new DefaultServiceRegistry() services.add(gradle) services.add(buildFactory) services.add(controller) services.add(Stub(DocumentationRegistry)) services.add(Stub(BuildTreeWorkGraphController)) _ * buildTree.services >> services def buildId = Stub(BuildIdentifier) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 22 14:22:44 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonClientConnectionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/cpp/internal/DefaultCppTestSuiteTest.groovy
} def "can add executable"() { expect: def exe = testSuite.addExecutable("Foo", identity, Stub(CppPlatform), Stub(NativeToolChainInternal), Stub(PlatformToolProvider)) exe.name == 'testFooExecutable' } private NativeVariantIdentity getIdentity() { return Stub(NativeVariantIdentity) { getTargetMachine() >> targetMachine(OperatingSystemFamily.WINDOWS, MachineArchitecture.X86_64)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.7K bytes - Viewed (0)