- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 734 for Stub (0.04 sec)
-
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) -
subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildTaskGraphParallelTest.groovy
_ * project.gradle >> services.gradle _ * project.owner >> projectState def projectServices = new DefaultServiceRegistry(TestUtil.services()) projectServices.add(Stub(PropertyWalker)) projectServices.add(Stub(FileCollectionFactory)) _ * project.services >> projectServices _ * project.pluginManager >> Stub(PluginManagerInternal) def lock = Stub(ResourceLock)
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-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/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/FileSystemWatchingBuildActionRunnerTest.groovy
List<Deployment> deployments = [] def deploymentRegistry = Stub(DeploymentRegistryInternal) { getRunningDeployments() >> deployments } def startParameter = Stub(StartParameterInternal) def buildOperationRunner = Mock(BuildOperationRunner) def buildController = Stub(BuildTreeLifecycleController) def delegate = Mock(BuildActionRunner) def buildAction = Stub(BuildAction)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 7.8K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonClientsManagerTest.groovy
import spock.lang.Subject class WorkerDaemonClientsManagerTest extends ConcurrentSpecification { def options = Stub(DaemonForkOptions) def starter = Stub(WorkerDaemonStarter) def listenerManager = Stub(ListenerManager) def loggingManager = Stub(LoggingManagerInternal) def memoryManager = Mock(MemoryManager) @Subject
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:56:11 UTC 2024 - 10.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/modulecache/TwoStageModuleMetadataCacheTest.groovy
class TwoStageModuleMetadataCacheTest extends Specification { def timeProvider = Stub(BuildCommencedTimeProvider) def readCache = Mock(AbstractModuleMetadataCache) def writeCache = Mock(AbstractModuleMetadataCache) def key = Stub(ModuleComponentAtRepositoryKey) def entry = Stub(ModuleMetadataCacheEntry) def metadata = Stub(ModuleMetadataCache.CachedMetadata) @Subject
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GFileUtilsTest.groovy
given: def fileAttributeView = Stub(BasicFileAttributeView) { setTimes(_, _, _) >> { throw new FileSystemException("file: Operation not permitted") } } def path = Stub(java.nio.file.Path) { getFileSystem() >> Stub(FileSystem) { provider() >> Stub(FileSystemProvider) { getFileAttributeView(_, _, _) >> fileAttributeView
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 6.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/tooling/provider/model/internal/DefaultToolingModelBuilderRegistryTest.groovy
def "wraps builder for requested model"() { def builder1 = Mock(ToolingModelBuilder) def builder2 = Mock(ToolingModelBuilder) def project = Stub(ProjectInternal) given: registry.register(builder1) registry.register(builder2) and: builder1.canBuild("model") >> false builder2.canBuild("model") >> true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 7K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/FixedStepPathMatcherTest.groovy
class FixedStepPathMatcherTest extends Specification { def "calculates min and max number of segments"() { def next = Stub(PathMatcher) { getMinSegments() >> 2 getMaxSegments() >> 3 } def matcher = new FixedStepPathMatcher(Stub(PatternStep), next) expect: matcher.minSegments == 3 matcher.maxSegments == 4 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 3.8K bytes - Viewed (0)