- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 620 for Stub (0.7 sec)
-
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/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/prebuilt/DefaultPrebuiltStaticLibraryBinaryTest.groovy
import spock.lang.Specification class DefaultPrebuiltStaticLibraryBinaryTest extends Specification { def prebuiltLibrary = Stub(PrebuiltLibrary) { getName() >> "lib" } def binary = new DefaultPrebuiltStaticLibraryBinary("name", prebuiltLibrary, Stub(BuildType), Stub(NativePlatform), Stub(Flavor), TestFiles.fileCollectionFactory()) def "has useful string representation"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionException.java
public MetadataResolutionException() { // TODO Auto-generated constructor stub } public MetadataResolutionException(String message) { super(message); // TODO Auto-generated constructor stub } public MetadataResolutionException(Throwable cause) { super(cause); // TODO Auto-generated constructor stub }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 11:28:54 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/DefaultProjectDependencyMetadataTest.groovy
def target = Stub(DependencyMetadata) def selector = Stub(ProjectComponentSelector) def dep = new DefaultProjectDependencyMetadata(selector, target) def "returns this when same target requested"() { expect: dep.withTarget(selector).is(dep) } def "delegates when different target requested"() { def requested = Stub(ComponentSelector)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/DefaultRuleActionValidatorTest.groovy
def ruleAction = Stub(RuleAction) { getInputTypes() >> { [String] } } expect: ruleValidator.validate(ruleAction) == ruleAction } def "accepts valid type with multiple valid types"() { def ruleValidator = new DefaultRuleActionValidator(String, Long) def ruleAction = Stub(RuleAction) { getInputTypes() >> { [parameterType] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.7K 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/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)