- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 179 for Stub (0.1 sec)
-
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
def jApiClassifier = Stub(JApiClass) // represents interfaces, enums and annotations def jApiMethod = Stub(JApiMethod) def jApiField = Stub(JApiField) // represents fields and enum literals def jApiConstructor = Stub(JApiConstructor) def incubatingAnnotation = Stub(JApiAnnotation) def deprecatedAnnotation = Stub(JApiAnnotation) def overrideAnnotation = Stub(JApiAnnotation)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 01 20:12:19 UTC 2023 - 16K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/resolver/IvyResolverTest.groovy
def lister = new InstantiatingAction<ComponentMetadataListerDetails>(DefaultConfigurableRules.of(Stub(ConfigurableRule)), TestUtil.instantiatorFactory().inject(), Stub(InstantiatingAction.ExceptionHandler))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 10K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/WindowsKitWindowsSdkLocatorTest.groovy
} def arm64() { def platform = Stub(NativePlatformInternal) def architecture = Stub(ArchitectureInternal) platform.architecture >> architecture architecture.isArm64() >> true platform } def x64() { def platform = Stub(NativePlatformInternal) def architecture = Stub(ArchitectureInternal) platform.architecture >> architecture
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 16.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapterForTaskOperationsTest.groovy
def taskDescriptor = Stub(InternalTaskWithExtraInfoDescriptor) _ * taskDescriptor.getId() >> ':dummy' _ * taskDescriptor.getName() >> 'some task' _ * taskDescriptor.getParentId() >> null _ * taskDescriptor.getTaskPath() >> ':some:path' _ * taskDescriptor.getDependencies() >> [Stub(InternalOperationDescriptor)] def startEvent = Stub(InternalOperationStartedProgressEvent)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 21.3K 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) -
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) -
subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy
_ * mock.state >> Stub(TaskStateInternal) { getFailure() >> failure rethrowFailure() >> { throw failure } } _ * mock.taskDependencies >> Stub(TaskDependencyInternal) _ * mock.lifecycleDependencies >> Stub(TaskDependencyInternal) _ * mock.finalizedBy >> Stub(TaskDependencyInternal) _ * mock.mustRunAfter >> Stub(TaskDependencyInternal)
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/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/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFilePropertyFactoryTest.groovy
and: !var.present } def "can specify the producer task for a directory"() { def var = factory.newDirectoryProperty() def task = Stub(Task) def owner = Stub(ModelObject) owner.taskThatOwnsThisObject >> task def action = Mock(Action) when: var.attachProducer(owner) def producer = var.producer
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 10.4K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/AbstractGccCompatibleToolChainTest.groovy
def toolSearchPath = Stub(ToolSearchPath) def tool = Stub(CommandLineToolSearchResult) { isAvailable() >> true getTool() >> new File("tool") } def missing = Stub(CommandLineToolSearchResult) { isAvailable() >> false } def correctCompiler = new ComponentFound(Stub(GccMetadata)) def metaDataProvider = Stub(CompilerMetaDataProvider)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 17.2K bytes - Viewed (0)